[Error] Offer amount must be positive
See original GitHub issueI 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:
2018-02-19 17:32:43 Error API Error 400: {"message":"Offer amount must be positive."} Requesting https://api.bitfinex.com/v1/offer/new
Caught API Error 400: {"message":"Offer amount must be positive."} Requesting https://api.bitfinex.com/v1/offer/new reading from exchange API, ignoring.
2018-02-19 17:32:43 Error API Error 400: {"message":"Offer amount must be positive."} Requesting https://api.bitfinex.com/v1/offer/new
--
2018-02-19 17:32:40 Not lending ETP due to rate below 0.0500% (actual: 0.0000%)
2018-02-19 17:32:37 Not lending LTC due to rate below 0.0500% (actual: 0.0277%)
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (12 by maintainers)
Top Results From Across the Web
How troubleshooting the error “Amount must be positive in ...
Introduction I had a user report the error "Amount must be positive in Gen. Journal Line Journal Template Name='PURCHASES'.
Read more >"Amount must be Positive in Gen. Journal Line" error message ...
"Amount must be Positive in Gen. Journal Line" error message when you post a partial invoice for a sales order that has a...
Read more >Amount must be negative/positive in Gen. Journal Line ...
Hi, Readers.Today, I would like to share a application error handling about payments (cash receipts) in Business Central.
Read more >Transaction amount must be positive - Help Center
QuickBooks error message: Transaction amount must be positive. This usually happens when you map an 8% tax rate on a 6% sale and...
Read more >NAV 2009 - Check Posting Error - Amount must be positive
The error is because: The Document Type is Payment, Account No. is Vendor. Hence, it should not be in minus amount. To overcome...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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’} 2018-06-20 21:13:09 Error API Error 400: {“message”:“Offer amount must be positive.”} Requesting https://api.bitfinex.com/v1/offer/new Caught API Error 400: {“message”:“Offer amount must be positive.”} Requesting https://api.bitfinex.com/v1/offer/new reading from exchange API, ignoring.
@JCBauza You could change the message here: https://github.com/BitBotFactory/MikaLendingBot/blob/fcd3fbb83797cb636a55b9059d8273b071c2beaa/modules/Bitfinex.py#L276
to:
This way we will get the payload sent to Bitfinex.