steeply / gbot-trader

Trading robot for trade on crypto exchanges
Other
268 stars 108 forks source link

ErrorTrader: Poloniex error 422: . Amount must be at least 0.000001 #35

Closed Daedalus-code closed 3 years ago

Daedalus-code commented 3 years ago

Still happens after new api keys is created, maybe not the issue? USDT is getting delisted, using USDC now and tried USDJ, both with same error.

New order size [buy]: -8e-8  | Ордер не установлен
16:28:28 error: Error: buy | rate: 57155.64811267 | amount: 0.00000002
16:28:28 error: ErrorTrader: Poloniex error 422: . Amount must be at least 0.000001.
16:28:28 warn: restart after 5 sec...
16:28:33 warn: trader restart
16:28:42 info: -----------------------------------
Market price: 57401.22274634   First order price: 57189.47751058
Total amount: 0.00973183
Order size: 2e-8  Martin size: 20  New order size: 20.00000002
Martin cache: 2e-8  Previous order size: 20.00000002
Balance: 0.00973183  Order size: 2e-8
New order size [buy]: -8e-8  | Ордер не установлен
16:28:44 error: Error: buy | rate: 57189.47751058 | amount: 0.00000002
16:28:44 error: ErrorTrader: Poloniex error 422: . Amount must be at least 0.000001.
16:28:44 warn: restart after 5 sec...
16:28:49 warn: trader restart
16:28:58 info: -----------------------------------
Market price: 57373.21646606   First order price: 57161.4712303
steeply commented 3 years ago

I couldn't reproduce the problem.

But added support for USDC and USDJ in api. Try updating the bot to version 1.7.9

Daedalus-code commented 3 years ago

Sorry for late respons!

It looks like it works again, thank you so much! 🥳