Pages:
Author

Topic: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot - page 7. (Read 45879 times)

newbie
Activity: 14
Merit: 0
I've updated my fork to ignore the FRR offers on the offerbook. This will let it place offers above the FRR, as FRR offers are bypassed for fixed-rate loans. Result of this should mean taking advantage of higher loan rates when rates are climbing above the FRR.

Latest version can always be found at:
https://github.com/deponzit/MarginBot


Please note, I mean no disrespect and I could be completely off the mark here but, has anyone checked this code to make sure it isn't malicious?  Or is there really anything that could be stolen by only knowing my API code?

No disrespect taken, and thanks for the interest. That link goes straight to the source code, so feel free to scope it out yourself. The core of it is unchanged from the original version. If someone got ahold of your API keys, they could potentially make some bad trades, but they can't withdraw any of your funds. You can read about Bitfinex's API here: https://www.bitfinex.com/pages/api. I still keep my bot behind a password protected folder on my web server, though it's probably not necessary. If you decide to do the same I've included some code in the crons folder to get your cronjobs to authenticate.
legendary
Activity: 2786
Merit: 1011
Get Paid Crypto To Walk or Drive
I've updated my fork to ignore the FRR offers on the offerbook. This will let it place offers above the FRR, as FRR offers are bypassed for fixed-rate loans. Result of this should mean taking advantage of higher loan rates when rates are climbing above the FRR.

Latest version can always be found at:
https://github.com/deponzit/MarginBot


Please note, I mean no disrespect and I could be completely off the mark here but, has anyone checked this code to make sure it isn't malicious?  Or is there really anything that could be stolen by only knowing my API code?
newbie
Activity: 14
Merit: 0
I've updated my fork to ignore the FRR offers on the offerbook. This will let it place offers above the FRR, as FRR offers are bypassed for fixed-rate loans. Result of this should mean taking advantage of higher loan rates when rates are climbing above the FRR.

Latest version can always be found at:
https://github.com/deponzit/MarginBot
legendary
Activity: 2674
Merit: 1082
Legendary Escrow Service - Tip Jar in Profile
As promised, here is my fork, which works with USD, BTC, and (untested) LTC.

https://github.com/deponzit/MarginBot

Major changes:
Add BTC/LTC support
Improve compatibility with older PHP versions
Improve responsiveness
Increased lend amount accuracy
Fix undercutting
Minor bug fixes
UI tweaks

You'll need to do a reinstall, as it's not compatible with the old version (new DB fields and column name changes). Maybe next version will be backwards compatible, but this one is not.

Screenshots






EDIT: I haven't really tested the install process, so if you run into any bugs let me know and I'll fix them.

EDIT 2: If you appreciate my work, you can send a few bitcents my way Smiley 1rq1YCXFemXAWyfUHpZo8fYinWor9eVst

Thank you for the work. It looks good. If i ever trust bitfinex enough again to upload something of value i will make sure to use your version. Smiley
legendary
Activity: 1596
Merit: 1027
A lending bot seems like a good idea to me Smiley I will probably try this one out!
Are you planning to add trading bit features to your bot as well?
newbie
Activity: 14
Merit: 0
As promised, here is my fork, which works with USD, BTC, and (untested) LTC.

https://github.com/deponzit/MarginBot

Major changes:
Add BTC/LTC support
Improve compatibility with older PHP versions
Improve responsiveness
Increased lend amount accuracy
Fix undercutting
Minor bug fixes
UI tweaks

You'll need to do a reinstall, as it's not compatible with the old version (new DB fields and column name changes). Maybe next version will be backwards compatible, but this one is not.

Screenshots

http://i.imgur.com/KjHRQyU.png

http://i.imgur.com/Ao5IPup.png


EDIT: I haven't really tested the install process, so if you run into any bugs let me know and I'll fix them.

EDIT 2: If you appreciate my work, you can send a few bitcents my way Smiley 1rq1YCXFemXAWyfUHpZo8fYinWor9eVst
legendary
Activity: 2674
Merit: 1082
Legendary Escrow Service - Tip Jar in Profile
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.

Yea it does stink that the profit from bitcoin is so low.  It just seems that there are too many people who are interested in lending their bitcoin and not enough people interested in trading with it.  Really drives the interest rate down.

Still though, I have tried just setting my btc to the FRR, but they never get taken out.  So, I still have to trust Bitfinex with my coins, and I am getting nothing in return.  This would at least get some minimal return.

Yes, FRR is not a good solution to choose. You really should try out the marginbot if you didnt already. It really makes a great job and will let your money be lent out constantly with low downtime. And that downtime is only to get the best rates.
Yea agreed, if I had more time I would do it myself, its just easier to leave it on auto lend.  I have my brother looking into getting it set up on a server for me.

Its pretty easy to set up. Yeah... let your brother work for you... you dont want him to get lazy. Tongue

If youre lucky you will get USD lending soon too. If someone revels the code.
legendary
Activity: 2786
Merit: 1011
Get Paid Crypto To Walk or Drive
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.

Yea it does stink that the profit from bitcoin is so low.  It just seems that there are too many people who are interested in lending their bitcoin and not enough people interested in trading with it.  Really drives the interest rate down.

Still though, I have tried just setting my btc to the FRR, but they never get taken out.  So, I still have to trust Bitfinex with my coins, and I am getting nothing in return.  This would at least get some minimal return.

Yes, FRR is not a good solution to choose. You really should try out the marginbot if you didnt already. It really makes a great job and will let your money be lent out constantly with low downtime. And that downtime is only to get the best rates.
Yea agreed, if I had more time I would do it myself, its just easier to leave it on auto lend.  I have my brother looking into getting it set up on a server for me.
legendary
Activity: 2674
Merit: 1082
Legendary Escrow Service - Tip Jar in Profile
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.

Yea it does stink that the profit from bitcoin is so low.  It just seems that there are too many people who are interested in lending their bitcoin and not enough people interested in trading with it.  Really drives the interest rate down.

Still though, I have tried just setting my btc to the FRR, but they never get taken out.  So, I still have to trust Bitfinex with my coins, and I am getting nothing in return.  This would at least get some minimal return.

Yes, FRR is not a good solution to choose. You really should try out the marginbot if you didnt already. It really makes a great job and will let your money be lent out constantly with low downtime. And that downtime is only to get the best rates.
legendary
Activity: 2786
Merit: 1011
Get Paid Crypto To Walk or Drive
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.

Yea it does stink that the profit from bitcoin is so low.  It just seems that there are too many people who are interested in lending their bitcoin and not enough people interested in trading with it.  Really drives the interest rate down.

Still though, I have tried just setting my btc to the FRR, but they never get taken out.  So, I still have to trust Bitfinex with my coins, and I am getting nothing in return.  This would at least get some minimal return.
newbie
Activity: 14
Merit: 0
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.

I've actually got it working now. I made a setting for currency when creating an account, and it's working fine with USD and BTC. Haven't tried LTC yet, but there's no reason I could see that it wouldn't work. I've got some fixing to do for the graphs and changing of hard coded dollar signs in the admin, but once that's done I'll fork the repo so everyone can use it Smiley
legendary
Activity: 2674
Merit: 1082
Legendary Escrow Service - Tip Jar in Profile
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley

Yes, it should be fairly easy. I wonder why i didnt get the idea before. ... I think its because the profit from lending btc is much lower than lending usd. And you have the risk of btc price dropping, killing all your profits.

If this would work then you could go short and long on bitcoin and earning money on the way by multiplying the currency you hold at that time.
newbie
Activity: 14
Merit: 0
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.

See my post above about free hosting.

I'm planning on forking this to work with BTC as well, as it doesn't look like it would be too hard to do. I'll post here when it's ready for you all to try out Smiley
legendary
Activity: 2786
Merit: 1011
Get Paid Crypto To Walk or Drive
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.

Yea IDK what to think about Bitfinex, I like them and the returns are nice, I would like to see another audit be done.  I guess we will see.

The bot seems neat, I would really like support for Btc and Ltc to make it more, "complete", but I will take what I can get.  Have my brother working on what set up costs would be since I don't own a server.  As of right now, if it really can get about 20% better returns, then the amount I have deposited would about break me even with server costs every month, but only have the money lent out for a couple of days at a time would help liquidity.
legendary
Activity: 2674
Merit: 1082
Legendary Escrow Service - Tip Jar in Profile
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?

It only works on USD. I wonder if the bot works fully fine now. I stopped using bitfinex when all the complaints started. Withdraws, wrong orderbooks, wrong swap payments, no answers and so on. It reminded me too much on the beginning of problems on exchanges that afterwards claimed being hacked... or so.

It worked great when i used it and i had a lot of ideas to optimize it but the work-reward is not so high so that i didnt work on it.
legendary
Activity: 2786
Merit: 1011
Get Paid Crypto To Walk or Drive
Is the bot able to handle Btc and Ltc lending as well?  Or does it solely work with USD?
legendary
Activity: 1596
Merit: 1027
This looks great!
I would be more than happy to try your bot for some time!
Do you have any special trial period offer for this one?
full member
Activity: 125
Merit: 101
That sounds like a REALLY REALLY REALLY bad idea to run on a free webhost! Run this only on hardware you trust and control!

I suppose if you think the site owner will snoop through your files, then yeah, that could result in someone getting your BFX API key. That's a risk on any hosting platform, though, and I'm not sure it's much worse an idea than hosting on the $2/month plans suggested in this thread.

Of course using your own hardware is best, but if you're looking for a free option and understand the above risks, there is at least one that works.

There's not much an attacker could do with your API key anyway, especially if all your funds are in the "deposit" wallet.
newbie
Activity: 14
Merit: 0
That sounds like a REALLY REALLY REALLY bad idea to run on a free webhost! Run this only on hardware you trust and control!

I suppose if you think the site owner will snoop through your files, then yeah, that could result in someone getting your BFX API key. That's a risk on any hosting platform, though, and I'm not sure it's much worse an idea than hosting on the $2/month plans suggested in this thread.

Of course using your own hardware is best, but if you're looking for a free option and understand the above risks, there is at least one that works.
legendary
Activity: 2618
Merit: 1006
That sounds like a REALLY REALLY REALLY bad idea to run on a free webhost! Run this only on hardware you trust and control!
Pages:
Jump to: