demo-python-trading-bot icon indicating copy to clipboard operation
demo-python-trading-bot copied to clipboard

Buy Order Error

Open jontylovell opened this issue 4 years ago • 1 comments

Placing a buy order does not succeed due to incorrect calculation of the decimal places. The order is rejected for being orders of magnitude too large:

Post buy order with price: 19911.039500000003, amount:2600870069 [ERROR] Order Rejected - Not enough tradable balance. The order requires at least 0.003 WAVES and 517860.26678226 8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS on balance, but available are 0.01322179 WAVES and 0.0051792 8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS

jontylovell avatar Feb 24 '21 16:02 jontylovell

I am having this same problem with the bot. Did you find a fix for this @jontylovell @alexeykiselev @phearnot @raqeta @vladislavpetushkov

josylad avatar Feb 03 '22 15:02 josylad