-
Notifications
You must be signed in to change notification settings - Fork 2k
Bitfinex live trading not working #695
Comments
I'm having the same issue. In live trading, it won't make any trades even when manually telling it to buy/sell. I had run it in live with the debug option and received no errors. Making trades on Bitfinex works when using 'zenbot buy/sell'. The pair I tried is LTC-BTC. Though the price is updating fine for me. |
Im using MACD. Not working either with default options or overrided options. |
Have you refreshed products.json? |
Yes i refreshed it |
You should adjust buy_pct to no more than 90%. |
This is my current options:
|
long period... |
But when i use paper mode I can see price updates several times in a minute and can execute sell/buy immediately. Live mode just updates the price once an hour and doesn't do anything :\ |
Just tried ETH-BTC pair with no luck. |
@nedievas I tried LTC-BTC pair and it works fine lol. Checked my products.json for eth/usd:
|
It is your side issue. Sorry ;) |
Maybe, but can you give any advice? I'm not the only one with that problem :( |
search for different points: maybe it's period, 100% buy... |
Any pair works fine except eth/usd... |
refresh products.js by executing update-products.sh. Bitfinex updates minimal orders every week! |
Thank you @nedievas trying to do so now but when executing ./update-products.sh I get -bash: ./update-products.sh: Permission denied Thanks |
|
@nedievas that's what I got: |
|
I refreshed products and tried like 10 different pairs. Only pairs with ETH doesn't work... How could it be my side issue? |
I think I found the issue: Than, bitfinex will not give you the wallet balance for that asset (see function updateWallet (wallets) {} in exchange.js) The wallets value only has the currencies and assents you have traded before, also if the balance is zero. The result of that is, that waitForCalc('getBalance', opts, cb) will run forever. Maybe you can fix that with: Split up in exchange.js:
and put in:
.. in getBalance: function (opts, cb) { .. } Paper mode is not effected because:
|
I recognize that after I put console.log('wallets:', wallets) into function updateWallet (wallets) { .. } and all by traded assets were in the array, but not the others (and where I have issues with). |
Dear issue reporter, We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit. You can find it here: https://reddit.com/r/zenbot This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case. Thanks for contributing time and effort! Greetings, |
Hello. I got an issue with live trading on Bitfinex. The bot just cant't perform any action, even manually executed orders won't work. I'm using --debug option and there is no errors, only "WebSockets: We are now fully connected and authenticated." after starting the bot. The price is also not updating.
Some additional info:
-API permissions is alright, i checked them several times. Orders have write permission and everything else is readonly.
-Paper mode and sim works fine.
-Pair is ETH-USD.
-NodeJS version is 8.8.1.
The text was updated successfully, but these errors were encountered: