GithubHelp home page GithubHelp logo

guoyu07 / marginbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hfenter/marginbot

0.0 0.0 0.0 444 KB

Bitfinex Margin Lending Managment Bot

License: Other

PHP 91.59% CSS 0.89% JavaScript 7.52%

marginbot's Introduction

This is a PHP based Margin Lending Management Bot for the Bitfinex API.

Details

This bot is designed to manage 1 or more bitfinex accounts, doing its best to keep any money in the "depost" wallet lent out at the highest rate possible while avoiding long periods of pending loans (as often happens when using the Flash Return Rate, or some other arbitrary rate). There are numerous options and setting to tailor the bot to your requirements.

Read More

You can find lots more info and discussion right here: Bitcointalk.org Also, for anyone coming from there, take this as proof that HowardF = HowardF3 = Me = MarginBot Developer

Install

Download the most current version, unzip to a folder on your server, then browse to that folder. An install script will run you through the rest of the process.

Note: If you get the following error during install:

PHP Parse error:  syntax error, unexpected ''America/Los_Angeles\\');' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) in /var/www/html/web/install.php on line 92

you most likely have your PHP configured without short_open_tag = on. Make sure to set

short_open_tag = on

Update from an older Version

Important - Make sure to backup your existing inc/config.php file FIRST

To update, make a backup of your inc/config.php file, then download the most current version. Unzip the files and overwrite your existing install.

Then overwrite the default config.php file with your backed up version. Visit the site, and you'll be redirected to an update system. If you are not correctly redirected, just visit /MarginBot/update.php

Requirements

A live webserver running

  • PHP 5.1+
  • MySQL
  • Access to add a cronjob
  • A Bitfinex Account with API Access (Set Up Here)
  • At least $50 in your Bitfinex "Deposit" wallet. Preferably $100 or more. ( Note: This is a bitfinex requirement, not a bot requirement. Bitfinex doesn't allow Margin Loans of less than $50. )

If you don't have a bitfinex account, please consider using my affiliate code when signing up. By doing so, you'll save 10% on all fees for the first month, and it will help support further development of this code.

https://www.bitfinex.com/?refcode=vsAnxuo5bM.

Donations

Developing this software, and testing the various strategies for lending that led to its development have taken significant time and effort. If you find this software useful, please send a small donation our way. All donations support the continued development of this software, and help to cover my distribution and support costs.

You can send donations to:

Bitcoin: 17x2SsY8bpZVC4QH8Va3Qz7HggaDshhjjr

marginbot's People

Contributors

bartbroere avatar dargolf avatar hfenter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.