Search content
Sort by

Showing 20 of 145 results by HowardF
Post
Topic
Board Exchanges
Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading
by
HowardF
on 01/11/2017, 16:55:17 UTC
How are FRR orders executed, older ones first? Anyway it takes forever to get one executed.

Never use FRR, it takes forever to actually lend out anything. They do lend the oldest orders first, and expect durring very high volume it can take a week or more to work through the FRR order wall. Always go for a bot that just undercuts FRR so you're coin actually gets lent out.  There are several available if you look (I just happen to be the author of a free open source one, check my sig).
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 01/11/2017, 15:43:36 UTC
I think the new coin BTG may have broken something. Starting on 10/24 my error logs on v1.08 filled up due to an infinite loop.
Any suggestions on a quick fix or maybe a code update?

The problem is bitfinex isn't allowing Margin Funding for BitcoinGold yet, only exchange trading.  You can always check the "Funding" dropdown menu for available coins to lend on margin.

Thanks for the quick response. Based on your reply, I just realized that the code is trying to get the lendbook on BTG because I have a positive value in my Funding Wallet for BTG. This happened automatically as part of the bitcoin fork. Bitfinex put the BTG coins into the funding wallet automatically because that is where my BTC was I guess. I moved the BTG out of my BTG Funding Wallet to my BTG Exchange Wallet and that made the Bot code stop trying to get the lendbook data for BTG. It seems to be running correctly again. Hopefully this post will help anyone else that hits this problem. Thanks.

Ahh, yeah that would make sense.  Never considered the funding wallet would have a coin in it that can't be lent.  I'll try to trap for that better in a future build, but for now, just transferring those coins to another wallet will fix it.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 01/11/2017, 14:46:12 UTC
I think the new coin BTG may have broken something. Starting on 10/24 my error logs on v1.08 filled up due to an infinite loop.
Any suggestions on a quick fix or maybe a code update?

The problem is bitfinex isn't allowing Margin Funding for BitcoinGold yet, only exchange trading.  You can always check the "Funding" dropdown menu for available coins to lend on margin.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 17/10/2017, 21:27:33 UTC
However, I see the following errors over and over in the httpd error_log. Should I be concerned? (not my real IP, obviously).

Every 10 Min Job:
[Mon Oct 16 14:01:08.357984 2017] [:error] [pid 3330] [client 53.2.210.52:34042] PHP Notice:  Undefined property: Bitfinex::$cryptoPendingVal in /var/www/html/bitbot/inc/ExchangeAPIs/bitfinex.php on line 481
.............

Thanks in advance for any advice. MT


Nothing to be concerned about.  When I added back in Crypto Pairs, I check against a variable that doesn't always have all the possible pairs in an array.  In the next build I will update the check so that it makes sure the pair exists, and if it doesn't it'll fail silently (as it should do now) so that nothing gets logged.  Other than making your logs a bit longer than they should be though, this won't effect the bot at all as it is.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 16/10/2017, 14:29:33 UTC


[Fri Oct 13 20:26:06.405827 2017] [proxy_fcgi:error] [pid XXXXX:tid XXXXXXXXXXXXXXXXXX] [client xx:xx:xx:xx:XXXXXX] AH01071: Got error 'e/XXXX/domains/XXXXX.XX/public_html/marginbot/inc/ExchangeAPIs/bitfinex.php on line 78\nPHP message: PHP Notice: Undefined index: price in /home/XXXXX/domains/XXXXXX.XX/public_html/marginbot/inc/ExchangeAPIs/bitfinex.php on line 78\nPHP



One other thing, this is just a Notice, so it shouldn't prevent the script from continuing to run.  It actually should be suppressed from hitting the logs, but you probably have error reporting set pretty high in your php configuration.  Still shouldn't cause any issues, its just going to write a lot of notices to the logs.

( I will tweak that line in future builds so that it won't throw a notice even on high error settings. )
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 14/10/2017, 17:14:44 UTC

THERE HAS BEEN A DATABASE ERROR
Please Contact Support If this error persists.
1021 - Disk full (/tmp/#sql_16ed_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")



Hmm.. this is making me think your sql server doesn't have enough space for queries to run correctly.  I can't imagine marginbot making any queries that would cause this though, all the marginbot tables are relatively tiny.   Are you running something else on this server that does a lot of work on your MySQL server?
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 08/10/2017, 16:54:43 UTC
Hi HowardF,
I've run into some trouble when upgrading, as in the upgrade button didn't too anything that I could see, the page just refreshed quickly. It may be due to me coming from the deponzit fork (was usinh it for the last 2 years but it just mysteriously stopped working). Thus I decided a clean install from your repo was necessary. I deleted everything, started with new everything. I put in my DB info and on the next page and after I put in my API info and hit next I get:

THERE HAS BEEN A DATABASE ERROR
Please Contact Support If this error persists.
1054 - Unknown column 'currency' in 'field list'

I'm on PHP 7.0 and haven't the foggiest why this is coming up. Same thing happens after I try logging in normally. Any idea what I should do/it could be?



Hmm...  I'm definitely at a bit of a loss here.  I don't use the column 'currency' anywhere.   Are you installing over a build of the deponzit fork?  I know he used a 'currency' row, and leaving any code from that fork in the folder when you install the base MarginBot would definitely break things.  He made changes to the core database layout that would not be compatible.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 20/09/2017, 18:23:03 UTC
It seems there are too many people interested in giving borrow their bitcoin and not enough people interested in doing business with it. okey

Bitcoin margin lending rates have always been MUCH lower than USD.  All crypto for that matter has much lower rates. I was in a fairly long discussion about crypto vs USD lending several years ago, in which I advocated always converting crypto to USD to lend ( https://bitcointalk.org/index.php?topic=229438.msg9739115#msg9739115 ), but with prices where they are right now, turns out depending on when you got your BTC, I may have been wrong in my analysis ( honestly didn't see $4k bitcoin coming this quickly.... ).  That said, I still believe it is much safer and a far more reliable investment to lend USD.  Lending USD gives MUCH higher returns than crypto, and its fairly reliable, daily income.

But, I also do have some coin that I hold, just in case.  And I know a lot of other people do as well.  And having that coin sitting there doing nothing doesn't really make sense to me, so I added back in crypto lending.  Getting 0.01% daily returns on those coins is better than nothing, and the bot can still focus on my USD returns, where my real income is.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 20/09/2017, 16:57:22 UTC

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.

So, I finally got in touch with an admin here and was able to get the original account back!   Looks like I'll be posting from this account again, and this will allow me to update the original post when things get updated around here.  I'm going to post all the latest updates to that original message now.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 19/12/2015, 21:03:50 UTC
Just a quick update for everyone:

If you are having issues with MarginBot updating your daily returns, its because of change bitfinex made to their API a while ago.  Just change the following and it should start working again:

/inc/ExchangeAPIs/bitfinex.php
LINE 148:
if($l['description'] == 'Swap Payment on wallet deposit'){

change to:
if(strtolower($l['description']) == strtolower('Swap Payment on wallet deposit') || strtolower($l['description'])==strtolower('Margin Funding Payment on wallet Deposit') ){

Should start updating your daily returns again.

Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 10/09/2015, 18:30:09 UTC
I imagine the free webhost was probably running an older version of PHP that was causing the errors.  I generally don't worry about writing code to support anything before 5.3 anymore because of security issues with older versions.  I know I've helped a couple of people set up accounts on Godaddy that work fine.  Not my favorite host in the world, but I can confirm they do work.

As for updating my version of the bot, I may do it at some point in the future, but I don't have any time right now unfortunately.  If you're interested in lending BTC/LTC, I'd just use deponzits version at this point.  If I make any future updates to my version, I'll probably try to merge his updates back into mine, or somehow work to make them compatible.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 10/09/2015, 17:13:12 UTC
Wow, I go away a couple weeks and my old bot goes crazy...  Roll Eyes

Anyways, thanks deponzit for all the updates and tweaks.  A lot of these things are stuff I had been planning to work on, and in fact have in my private install, but never got around to rolling back into the core code.

I took a look at all the diffs in your branch and can vouch for anyone curious, he's not doing anything malicious, so his code is certainly safe to use.

I will mention, running on older versions of PHP is a BAD idea.  There are numerous reasons this is so, but for simplicity sake lets just say if you are running code that manages actual finances on anything older than PHP 5.3, just.... don't.  Upgrade... its easy, and its worth it.

I would also mention that I actually originally had BTC and LTC working in marginbot, but I removed them a while ago, when doing an update.  The reasons are described better in a discussion earlier in this post ( as well as here: https://bitcointalk.org/index.php?topic=229438.msg9739115#msg9739115 ), but basically, it wasn't worth my time to build the UI because the return rates on BTC /LTC are so terribly low in general that you would do better to cash them out and put the money in a low interest savings account.  The only reasonable way to lend on bitfinex is in USD (unless you really still believe BTC To the moon!!1 ┗(°0°)┛ o    ) .  Of course with USD rates dipping below .02, I guess the argument could be made there now too....
Post
Topic
Board Exchanges
Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading
by
HowardF
on 29/06/2015, 18:32:25 UTC
Hello everyone,
Yesterday I didn't received the swap interest payment, did anyone else noticed this? or it was only me?
Hello everyone,
Yesterday I didn't received the swap interest payment, did anyone else noticed this? or it was only me?
Same here (BTC-Swap Payment).
There indeed seems to be a problem with the swap payment system. While I received my swaps at the regular time some of them looked a little too low in value. I'm not sure though as the past days have been quite turbulent with the spike to 0.3 and 0.18. A user on reddit has opened up a similar thread concerning this topic:

http://www.reddit.com/r/BitcoinMarkets/comments/3b93yr/bitfinex_underpaying_swap_payments/

While I was sceptical at first I ultimately think he's not bullshitting although I don't believe BFX is intentionally scamming.

Like 20 minutes ago there was a second, very low swap credited on my account so it seems there actually is a problem. Please investigate at least the last 10 days, BFX and be open about it.

I just checked my accounts.  1 account recieved payment, but the number seems way to low (25% lower than I would expect), and the other accounts did not get a swap payment at all.  Good to know they are aware of the problem, hopefully they will reveiw the last several days to make sure all payments have been made accurately.  Looking at all of my own tracking, it appears at first glance that the 26th - 28th had weird results for me.

Post
Topic
Board Exchanges
Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading
by
HowardF
on 24/06/2015, 19:48:12 UTC


I send you PM for a direct e-mail.

Thanks, following up with them now.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 24/06/2015, 18:04:54 UTC
I did not get it work. I decided to write my own bot. When i finished the Server gave me a "nonce to small error" which can be interpreted as "your privat key and secret key are already in use". Which was not done by my own program and the key was only used for the php bot. I deleted the old keys, created a new one and everything worked as it should.
Any idea how or why that happened ?

nonce to small means you aren't passing a good nonce id to your API key.  It needs to be a unique always incrementing number passed with every query.  I use the microtime in Marginbot.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 24/06/2015, 18:03:28 UTC
Sorry for my long absence in this thread.  I was working on some other projects over the last couple months, and haven't had much time to spend on bitcoin projects.  I'm going to be checking in a bit more though, and answering any questions about MarginBot anybody has, so feel free to ask away again.
Post
Topic
Board Exchanges
Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading
by
HowardF
on 24/06/2015, 18:00:37 UTC
Does anyone know who's handling PR / Relations for bitfinex right now.  I need to talk to someone about a project I'm working on, and all the people I know seem to be a bit MIA (mrj, urwhatuknow/Giancarlo, etc...)  I'm at a bit of a loss for who to talk to these days, and I hate just sending emails to the void of support@ without some idea who I'm connecting with....
Post
Topic
Board Exchanges
Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading
by
HowardF
on 26/05/2015, 16:05:27 UTC
the fact that ppl still lend out there bitcoin for 0.02% per day confuses me because you can lend out your btc for more at poloniex

The fact that people still hold on to the hope that bitcoin is going "To TEH MOON!!!!!1!!1" and lend BTC instead of switching it to USD and making much better returns confuses me....
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 04/05/2015, 14:48:47 UTC
Hey there,

i want to test the script right now. I am using XAMPP for testing with Windows. Everytime i went past the database configuration and the website config the install.php script tells me that everything should work fine now and i should make my config readable only. After i did that and klick on "Log On" it just redirects me to install.php again and starts a new installation process.

What could be wrong ?

Sounds like you may be changing your config to be unreadable.  Make sure to set it to something your webserver can read, but not write too.  Using chmod 0644 *should* work, unless your server has some strange custom settings.
Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF
on 15/04/2015, 20:00:38 UTC
HowardF... can you take out the functioninality that when you change the USD-Values that with every key entered the number is redrawn and the cursor set at the last place? It makes it hard to change anything especially substantially changes.




I use an open source money formatter script that causes this.  I'll look into making it optional.

And it might make sense, if different swap offers created have the same percentage, to merge those offers into one offer. This way the fragmentation of offers could be lowered. They are in the same place anyway with the same percent.

This wouldn't effect the fragmentation significantly to be honest, since most small amounts will all get taken as one loan, and returned at the same time to go back into the loan queue.  Besides, fragmentation is a good thing.  it keeps loans always coming due, which keeps money always going back out on loan, which is how this bot manages to always take advantage of suddent rate spikes. I've generally got anywhere between 200 - 400 loans out on my account, which means I'm always able to catch even 5 or 10 minute long spikes with at least a little loan.