-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error] Offer amount must be positive #612
Comments
Looks like it tried to do 0.0000% - 0.0001% Could be fixed by hard coding in a minimum that it will never attempt to go below. |
Still happening. It also stops running when the error happens.
|
Still having this issue non stop:
The problem is that when it happens it stops execution and the rest of the coins never get to be lent. Please help! |
@JCBauza Please post your config (with API keys and Notifications section removed) so we can check if there are any configuration options that may be causing this |
Thanks, I'll post it once I regain access... the server lost it's internet connection and they are fixing it in 2 days. I'll reply with it as soon as it comes back up. Thank you for the fast response! |
|
maybe some dust or something making an overflow causing the error? Could there be a way to include additional debugging information? |
@JCBauza MikaLendingBot/modules/Bitfinex.py Line 276 in fcd3fbb
to:
This way we will get the payload sent to Bitfinex. |
@JCBauza any updates? |
Sorry, it didn't happen again but now that I rebooted the server it is happening. I just changed the code and hope it comes back with something! Thanks for letting me know what to change in the code. I might suggest having a debug flag or something that does this as part of the main branch. |
2018-06-20 21:13:09 Error API Error 400: {"message":"Offer amount must be positive."} payload:{'nonce': '152954718915603', 'direction': 'lend', 'request': '/v1/offer/new', 'rate': '7.9935', 'period': 2, 'currency': u'BTC', 'amount': '0.00000000'} |
ok, so it seems we are trying to place a zero size loan. |
Yeah, probably Bitfinex has logic that says amount must be greater than 0 which makes sense. |
Any updates on this? Still got issues :( 2019-02-12 17:15:54 Error API Error 400: {"message":"Offer amount must be positive."} Requesting https://api.bitfinex.com/v1/offer/new2019-02-12 17:15:54 Error API Error 400: {"message":"Offer amount must be positive."} payload:{'nonce': '155001335407012', 'direction': 'lend', 'request': '/v1/offer/new', 'rate': '15.35117', 'period': 9, 'currency': u'USD', 'amount': '0.00000000'} |
I keep running into these errors and it is driving me crazy. The worse part is that it stops there so many currencies are not being lent:
The text was updated successfully, but these errors were encountered: