CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.21k stars 302 forks source link

Error with kucoin new announcements #177

Open FJCon opened 2 years ago

FJCon commented 2 years ago

Hi. I´m having problems with kucoin's announcements. My gate.io wallet have 0.41 ETH and I set 0.39 ETH in bot´s config file.

2022-06-27 07:04:01,834 INFO: New announcement detected: CSPR 2022-06-27 07:04:03,249 INFO: LATEST TRADE: CSPR_ETH | id=3753869116 | create_time=27-06-22 10:02:50.232000 | side=sell | amount=4071.9 | price=2.5e-05 2022-06-27 07:04:03,249 INFO: starting buy place_order with : announcement_coin='CSPR' | globals.pairing='ETH' | volume=0.39 | amount=15600.0 x price='2.5e-05' | side = buy | status='test_partial_fill_order' 2022-06-27 07:04:03,599 ERROR: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Date': 'Mon, 27 Jun 2022 10:04:04 GMT', 'Content-Type': 'application/json', 'Content-Length': '92', 'Connection': 'keep-alive', 'Server': 'openresty', 'X-Request-Id': '[f1bf83ab-2436108246]'}) HTTP response body: {"label":"INVALID_PARAM_VALUE","message":"Invalid request parameter price value: 2.5e-05"}

2022-06-27 07:04:03,599 ERROR: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Date': 'Mon, 27 Jun 2022 10:04:04 GMT', 'Content-Type': 'application/json', 'Content-Length': '92', 'Connection': 'keep-alive', 'Server': 'openresty', 'X-Request-Id': '[f1bf83ab-2436108246]'}) HTTP response body: {"label":"INVALID_PARAM_VALUE","message":"Invalid request parameter price value: 2.5e-05"}

2022-06-27 07:04:05,294 INFO: Kucoin announcements enabled, look for new Kucoin coins... 2022-06-27 07:04:05,889 INFO: Checking for coin announcements every 3 seconds (in a separate thread) 2022-06-27 07:04:06,614 INFO: No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating 2022-06-27 07:04:09,339 INFO: Kucoin announcements enabled, look for new Kucoin coins...