python crypto trading bot

Job ID: 36999726

Budget: $10 – $100 USD

I have grid python script work with Binance-clint libraries , the script work fine but there are some error in code that will effect the overall result.

this grid trading bot places buy and sell orders at different price levels. When a buy order is filled, it places a take-profit sell order, and when the sell order is filled, it repeats the cycle. If the first grid level's sell order is filled, it updates the grid prices and restarts the process.

Here the problem I want to fix:
1-when placing order this happen (WARNING - Connection pool is full, discarding connection: fapi.binance.com).
2-when there is error the bot stop working and sometimes the bot place new orders above previous ones
3-there is problem with cancel order function that not cancel order.
4- If it possible to modify the script to be more organize and affective.
Related categories: PHP JavaScript Python Software Architecture Trading