Pages:
Author

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

full member
Activity: 147
Merit: 100
Amazing OP.
Great to have you back, your project has most definitely passed a few hands since you've been gone.

I can't wait for the next release!
newbie
Activity: 17
Merit: 0
Hello everyone,

I've been away from this forum and MarginBot for a bit, and am finally available to come back and start working on the project again.  Looks like things were busy here while I was gone!

1. First, let me get this out of the way.  I am HowardF, the original creator of MarginBot.  While I was away from this forum, it apparently got hacked, and they locked down all the accounts and sent out a change password thing.  Well, that change password thing isn't working, I can't request a new password from my old account, and I can't figure out any way around it.  So, I created this new account to use from now on.  If there's any concern whether its really me or not, I'm happy to prove it by changing either the old website at fuckedgox.com or I can make a little change in the Github repo or whatever (just tell me what you guys want, and I'll do it).  Also, if anyone has a better contact for an admin here that could reset the HowardF account for me so I can get back in, that would be awesome as well.  I'd love to get access back to that account, would save some trouble.

2. Why have I been gone for so long?  Basically, I got hired to build some software for a company, and as part of the deal I couldn't really work on any competing crypto based applications.  The company was really cool, and I probably could have gotten around this to work on MarginBot a bit, but honestly it was just easier to focus there at the time.  That project is done now though, and I'm ready to get back into working on MarginBot.  Plus that project gave me a ton of ideas for improvements / new features for MarginBot.

3. What's the future for MarginBot?  Well, in the current environment, MarginBot has been performing exceedingly well, and this seems like a particularly good time to come back to work on it.  Honestly, MarginBot has always been a simple tool, and it always will be.  So to that end, there's not really all that much that needs to be added to the tool.  But there are a ton of small bug fixes, performance improvements, minor features, enhancements, etc. that I would really like to make.  Plus, I've been running MarginBot for more than 3 years now, so I have a LOT of data that I've been able to run things against to see what is working well and what isn't.  Hopefully I'll be able to use some of that information to make some minor tweaks to the overall algorithms I use (while still keeping things simple, it is after all primarily a tool to beat FRR).

4. I have questions, need support, or want something custom.  Get in touch with me at [email protected], or send me a message here.  I'll try to check in a lot more often.  Also, I'm on reddit a lot: https://www.reddit.com/user/FuckedGox/

member
Activity: 106
Merit: 10
Quote
Lifetime Return
How much your Margin Swaps earned in interest over the life of using MarginBot, after fees ( % / Day ) Note that your if your BFX account existed before you began using MarginBot, those returns will not be included here

I there any way I could make it graph older data?
Tbh I"ve been using "bitfinex-auto-lend-master" but I'd like to see some graphs.

I installed it today and it shows data from last 10 days, so older data could maybe be graphed too?

EDIT: seems like I should have searched the code before asking.
it probably in here:
MarginBot\inc\ExchangeAPIs\bitfinex.php

   Line 128:    function bitfinex_updateHistory($numDays=10,  $sinceLast=0){
   Line 136:             /* No Entries, Go Back 10 Days */

Only the "All" selection  for graphing works though, in my browser console i get this error:
"Highcharts error #15: www.highcharts.com/errors/15"
newbie
Activity: 10
Merit: 0
newbie
Activity: 9
Merit: 0
Evening gents,
Just wondering, I got an email from Bitfinex today stating that they will be updating their API on Jan 18. I've been running MarginBot for 1 full year now, flawlessly. Will this API update break MarginBot? I'm not very proficient in the ways of the code.

Much thanks for any replies.
member
Activity: 77
Merit: 10
Okay, solved it. Had to add
Code:
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
to my.cnf

... but offers are still not made.. Sad
member
Activity: 77
Merit: 10
Hello everyone,

thank you very much for this piece of software. I want to use it, cause I wanna split my lending positions half and half between poloniex and bitfinex. When I get it up and running, expect my earnings from the first month as donation. Smiley

I think I am just one step away from a proper setup. My cron jobs are scheduled and I executed them manually too. But there is always the message "It appears you have not set up the 10 minute cron, or it hasn't been running."
The hourly job seems to be fine.

When I run the TenMinuteCron.php directly in a browser I get the following message:
Code:
THERE HAS BEEN A DATABASE ERROR
Please Contact Support If this error persists.
1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'database name.BFXLendBot_CronRuns.lastrun' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
I granted read access for everything and write access for funding to the API. I'm able to set funding offers manually via website. My deposited BTC amount is not much right now, but enough for testing.

Could anyone help me out? Am running Ubuntu 16.04 with the current MySQL, Apache, PHP from sources.

Thank you very much Smiley
newbie
Activity: 5
Merit: 0
So I finally managed to get the install.php to run correctly.

However I am now having issues with the bot itself.

http://puu.sh/qccTS/31f7c4f2a8.png

It is displaying that I have $0 available balance, and Deposit even though there are available funds.



If I manually place an offer to lend out

http://puu.sh/qcd6D/888db76a26.png

It will show up in the loans pending. But the second the cron job runs it will cancel the offer. And just put all the funds back into available.


Has anyone else had this problem? Or have any suggestions how to fix it?

Glad you got it working! Does your API code have the correct API authorizations for the bot? That's really all I can think of...

I only gave the api key access to read and write for Margin Funding. Do I need to give it more access?

I wish it was that simple but seeing as it can cancel my offers I would assume that's not the problem.

Which fork/version are you using?
I'm using this one:

https://github.com/deponzit/MarginBot

Finally got it working. You were right it was a problem with the API access. To fix it I simply gave it read access to everything, and write access to margin funding only for security purposes. Now it seems to be running well.

The only issue left is that the website still shows me "It appears the hourly cron hasn't been running. The last time it ran was 1:00:03 pm, July 24th, 2016. Check to make sure your cronjob contains a job similar to:  ect..." for both cron jobs. Even though it updates the time and they are 100% running. Whatever that's simply cosmetic.
hero member
Activity: 826
Merit: 1000
So I finally managed to get the install.php to run correctly.

However I am now having issues with the bot itself.



It is displaying that I have $0 available balance, and Deposit even though there are available funds.



If I manually place an offer to lend out



It will show up in the loans pending. But the second the cron job runs it will cancel the offer. And just put all the funds back into available.


Has anyone else had this problem? Or have any suggestions how to fix it?

Glad you got it working! Does your API code have the correct API authorizations for the bot? That's really all I can think of...

I only gave the api key access to read and write for Margin Funding. Do I need to give it more access?

I wish it was that simple but seeing as it can cancel my offers I would assume that's not the problem.

Which fork/version are you using?
I'm using this one:

https://github.com/deponzit/MarginBot
newbie
Activity: 5
Merit: 0
So I finally managed to get the install.php to run correctly.

However I am now having issues with the bot itself.

http://puu.sh/qccTS/31f7c4f2a8.png

It is displaying that I have $0 available balance, and Deposit even though there are available funds.



If I manually place an offer to lend out

http://puu.sh/qcd6D/888db76a26.png

It will show up in the loans pending. But the second the cron job runs it will cancel the offer. And just put all the funds back into available.


Has anyone else had this problem? Or have any suggestions how to fix it?

Glad you got it working! Does your API code have the correct API authorizations for the bot? That's really all I can think of...

I only gave the api key access to read and write for Margin Funding. Do I need to give it more access?

I wish it was that simple but seeing as it can cancel my offers I would assume that's not the problem.

Which fork/version are you using?
hero member
Activity: 826
Merit: 1000
So I finally managed to get the install.php to run correctly.

However I am now having issues with the bot itself.



It is displaying that I have $0 available balance, and Deposit even though there are available funds.



If I manually place an offer to lend out



It will show up in the loans pending. But the second the cron job runs it will cancel the offer. And just put all the funds back into available.


Has anyone else had this problem? Or have any suggestions how to fix it?

Glad you got it working! Does your API code have the correct API authorizations for the bot? That's really all I can think of...
newbie
Activity: 5
Merit: 0
So I finally managed to get the install.php to run correctly.

However I am now having issues with the bot itself.

http://puu.sh/qccTS/31f7c4f2a8.png

It is displaying that I have $0 available balance, and Deposit even though there are available funds.



If I manually place an offer to lend out

http://puu.sh/qcd6D/888db76a26.png

It will show up in the loans pending. But the second the cron job runs it will cancel the offer. And just put all the funds back into available without putting in anymore offers to lend the funds out.


Has anyone else had this problem? Or have any suggestions how to fix it?
newbie
Activity: 5
Merit: 0
I have been trying to set this up and its been having some issues. Does anyone know if this is still working/updated?

If not does anyone have a good suggestion for an alternative?

Should still be working, although I had issues setting it up on a website initially. So I just set it up on a RasbPi LAMP server I had laying around.

Hey,

Since you mentioned that the Margin Bot is still working I was wondering if you had any advice for me. I have tried installing the bot twice first on a Centos Vps and then again on shared hosting through godaddy. Both times I made sure short tags were enabled and that the server/shared hosting had php 5.3+ and I double checked that curl was enabled and working. + I made sure to 777 chmod the config file.

I would then run into the same problem on both setups. After the second page of the install where you click something like "finish install" I would click it and it would basically just refresh the page and stay on the second page of the install process.

After that I would go to the index and try to login and my login would not work. So I checked the mysql db and the tables were created for users ect... but they were left completely blank leading me to believe there is some kind of problem with the connection to the mysql database.

If you have any advice or suggestions it would be greatly appreciated I have been trying to fix this for two days now.
hero member
Activity: 826
Merit: 1000
I have been trying to set this up and its been having some issues. Does anyone know if this is still working/updated?

If not does anyone have a good suggestion for an alternative?

Should still be working, although I had issues setting it up on a website initially. So I just set it up on a RasbPi LAMP server I had laying around.
newbie
Activity: 5
Merit: 0
I have been trying to set this up and its been having some issues. Does anyone know if this is still working/updated?

If not does anyone have a good suggestion for an alternative?
newbie
Activity: 2
Merit: 0
Since you were already able to make it work once, just start with a fresh VM and from scratch, if it is only a hobby project?

A possible issue could be that the clock in your VM is off, read up on "NTP" how to fix that.
I could start a fresh VM, but then I would have to do that everytime I shutdown the system, assuming that's not how it supposed to work.

I didn't checked the clock yet, will do it tomorrow and return here. However I don't think that is the issue. I just checked my account and the bot is continously lending funds, if the BOT is doing his job the only problem is the web interface which doesn't work after the shutdown. Considering that no changes were made into the system, and it worked the first time, I'm still assuming that a service should be running, but it didn't autostart in boot.

Thank you for the attention.
legendary
Activity: 2618
Merit: 1007
Since you were already able to make it work once, just start with a fresh VM and from scratch, if it is only a hobby project?

A possible issue could be that the clock in your VM is off, read up on "NTP" how to fix that.
newbie
Activity: 2
Merit: 0
Good job HowardF, thanks for this amazing tool.

However, I'm having some difficulties, so if anyone can help, I would appreciate.

I was able to make the bot work for a couple of days. (Running on a VM) Earlier today, I had to shutdown all my systems for some maintenance. Now when I turn everything on back again, (the VM included, of course)  I can't connect to the web interface anymore, it show me like it were down.

I'm not sure if I should run a script to make it work, or start a service. I'm using Ubuntu 14.04, apache and mysql are running ok, all the cron jobs were running too.

I'm pretty sure that is something very obvious, or basic. The problem is that everything I know from I.T, I learned from curiosity, never had any formal lesson. So my knowledge on Linux/Apache/Mysql is very limited.

Thank you for the attention.
newbie
Activity: 9
Merit: 0
Is this Bitfinex lending profitable at all anymore? I see Polo,which s offered higher lending rates in the last 6 months, hasnt been profitable anymore.

So, is there any point using this?

When you say profitable, what exactly do you mean?

I ask that because if you plan to only lend USD, I don't see many ways in which you lose money in this investment (except for credit risk and failure to repay the loan by the exchange). On top of that, lending rates are higher than a lot of other fixed-rate investments in USD.

So as long as you're comfortable with the credit risk, I believe it is still worth it.
legendary
Activity: 1652
Merit: 1007
DMD Diamond Making Money 4+ years! Join us!
Is this Bitfinex lending profitable at all anymore? I see Polo,which s offered higher lending rates in the last 6 months, hasnt been profitable anymore.

So, is there any point using this?
Pages:
Jump to: