Open rwl816 opened 3 years ago
I haven't done this myself, but I believe others are doing this in the current code base - without modifications. Quote currency can be what you declare it.
Restarting application after exception: Exception('XLM-BTC is unsuitable for trading, quote price is less than 0.0001!') Exception('XLM-BTC is unsuitable for trading, quote price is less than 0.0001!') Traceback (most recent call last): File "/home/user1/PyCryptoBot/XLM-BTC-bot1/pycryptobot.py", line 160, in executeJob raise Exception(app.getMarket() + ' is unsuitable for trading, quote price is less than 0.0001!') Exception: XLM-BTC is unsuitable for trading, quote price is less than 0.0001!
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/user1/PyCryptoBot/XLM-BTC-bot1/pycryptobot.py", line 160, in executeJob raise Exception(app.getMarket() + ' is unsuitable for trading, quote price is less than 0.0001!') Exception: XLM-BTC is unsuitable for trading, quote price is less than 0.0001!
I see what the problem is here. XLM is a really low cost crypto and BTC is really high priced. So the cost of XLM in BTC is a lot less than 0.0001. Probably just need to adjust in the validation. How much XLM are you trying to buy and how much is that in BTC? At least that will give us an indication of what sort of precision we need.
@whittlem Thanks for considering adding this. I have 0.0123 BTC (~$400) that I'm trying to start the bot with, using 100% of the BTC to buy XLM. 21-7-19: ...also, I'm using coinbase.
@whittlem binance provides the limits and precisions for all tradable pairs, we don't have to guess, just request that information from the exchange and use it.
@whittlem I'm running into a similar problem on Coinbase using SHIB-USD.
Bot for SHIB-USD got an exception: Exception('SHIB-USD is unsuitable for trading, quote price is less than 0.0001!')
Looks like the current trading price for SHIB is 0.00001047 USD. How can I work around this with PyCryptoBot?
I am unable to get a bot to work using the crypto markets. Would it be possible to make some code changes to allow for the "quote currency" to be set to something other than the fiat currency markets? It would be nice to be able to set up a bot for YFI-BTC or ADA-ETH. This would also make it possible to run multiple bots in the same coinbase portfolio as long as the base currencies are different and the quote currencies are different.