DescriptionMarginBot is a PHP based Margin Lending Management Bot for the Bitfinex API. It will do it's best to keep any money in the "deposit" 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.
Now that we're several versions into this bot, it has several years of stable performance history, and several users who have been using it for more than 3 years. I myself have been running it on several accounts for ~4 years now, and it has consistently outperformed FRR. I recently added in Cryptocurrency lending as well, one of the most requested features. It currently supports all currencies that Bitfinex supports, and you can easily add new currencies as Bitfinex does.
Future PlansWe're always working to add features and improve MarginBot. My current plan is to try to add some other exchanges, such as Poloniex, though my experience so far has been that the other exchanges tend to have terrible rates compared to Bitfinex. If anyone has any suggestions for future additions, we're always open to ideas.
InstallationDownload 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 Upgrading From Older VersionsIf you are upgrading from an older version, you may sometimes be required to run through a quick upgrade process the first time you log in. As of v.1.07+ the bot should automatically detect if you need to upgrade and send you there. However if it doesn't work for some reason, just go to yoursite.com/MarginBot/update.php and it should detect if you need to upgrade or not.
Updates- 11/22/2014 - Update v0.1.02 posted - Details
- 11/24/2014 - Update v0.1.03 posted - Details
- 11/26/2014 - Update v0.1.04 posted - Details
- Critical Update - 12/16/2014 - Update v0.1.05 posted - Details
- 12/18/2014 - Update v0.1.06 posted
- 8/17/2017 - Update v0.1.07 posted - Details
- 9/19/2017 - Update v0.1.08 posted - Details
RequirementsA live webserver running
- PHP 5.1+ (with CURL support)
- MySQL
- Access to add a cronjob
- A Bitfinex Account with API Access
- 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. )
I'm sure everyone reading this already has a bitfinex account, but if you don't for some reason, please consider
using my affiliate code ( vsAnxuo5bM ) 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.
LinksGithub RepoLatest Download (From GitHub)Reddit DiscussionScreenshotsDonateDeveloping 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 donation our way. All donations support the continued development of this software, and help to cover my distribution and support costs.
Bitcoin:
1A3y1xDXtyZySmPZySbpz7PPog4Vsyqig1Ethereum:
0xf159d969e065b20083b50c930b71d29364ae5247Edit: Updated All of the images to represent v1.08