I got the following error. I trimmed the timestamp from the beginning:
...
crypto_trading_logger - INFO - BUY QTY 41070807.0 of <SHIB>crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.
...
I am not perfect in Python, so unless digging deeper in the code I would suspect there is some too long float number that something can not interpret here.
The problem is that a scientific representation of the ridicilously low SHIB price is used. I.e it asks a buy price of e.g. 8.8e-06, and the API does not understand that.
Hi,
I got the following error. I trimmed the timestamp from the beginning:
...
crypto_trading_logger - INFO - BUY QTY 41070807.0 of <SHIB>
crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.
crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.
crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.
crypto_trading_logger - INFO - APIError(code=-1100): Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'.
...I am not perfect in Python, so unless digging deeper in the code I would suspect there is some too long float number that something can not interpret here.
Best,
Pal