question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PoloniexApiError: Amount must be at least 0.01. Requesting createLoanOffer

See original GitHub issue

I already have more than 0.01 LTC, and I think this is not a duplicated bug of #185 My repo is up to date.

2017-01-16 20:34:02 Error: Amount must be at least 0.01. Requesting createLoanOffer
Traceback (most recent call last):
  File "code/BTC/poloniexlendingbot/lendingbot.py", line 69, in <module>
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Lending.py", line 141, in lend_all
    usable_currencies += lend_cur(cur, total_lended, lending_balances)
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Lending.py", line 214, in lend_cur
    create_lend_offer(active_cur, sum_diff, offer['rate'])
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Lending.py", line 95, in create_lend_offer
    msg = api.create_loan_offer(currency, amt, days, 0, rate)
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Poloniex.py", line 174, in create_loan_offer
    "lendingRate": lending_rate, })
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Poloniex.py", line 80, in api_query
    json_ret = _read_response(ret)
  File "/home/dclavijo/code/BTC/poloniexlendingbot/modules/Poloniex.py", line 46, in _read_response
    raise PoloniexApiError(data['error'])
PoloniexApiError: Amount must be at least 0.01. Requesting createLoanOffer

Unhandled error, please open a Github issue so we can fix it!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Evanitocommented, Jan 18, 2017

@NeuralMiner Should be fixed in recent lending-rewrite bugfix, please confirm and make a new issue if it isn’t completely fixed.

0reactions
NeuralMinercommented, Jan 19, 2017

Thanks @Evanito. I’ll give it a test and create a new issue if it doesnt work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poloniex api 'Total must be at least 0.0001' error
The third parameter "amount" is not in BTC, but in your altcoin, so the correct code is: polo.sell('BTC_ETH', 0.043, (0.01*0.043)) ...
Read more >
Introduction – Poloniex New Trade System Spot API Reference
The public HTTP API allows read access to public market data. All methods take HTTP GET requests and return output in JSON format....
Read more >
gekko-broker-poloniex - npm Package Health Analysis - Snyk
The callback is passed two arguments: An error object, or null if the API request was successful; A data object, the response from...
Read more >
ccxt/poloniex.py at master - GitHub
A JavaScript / Python / PHP cryptocurrency trading API with support for more ... be at least': InvalidOrder, # {"error":"Amount must be at...
Read more >
Poloniexlendingbot Documentation - Read the Docs
You have to configure the bot, especially choosing the exchange and api ... Create a NEW API key and Secret from Poloniex or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found