I need a straightforward cryptocurrency trading bot that connects to my Binance account and executes orders whenever it receives a webhook signal and manage the Orders constantly(Multithreading / async handling). in python or node.js. The core requirements/features: - opens a trade based on signal recieved via webhook and if the same ticker has already an open pos/orders then closes them all. - set what % of available margin to open each pos (posvalue) - set leverage (leverage) - set SL, TP levels and what % of pos to close at each TP level; Laddered TP levels : [ 1%, 4%, 6% 9%, 20%] Close Position [10%, 20%, 40%, 10%,20%] Laddered SL levels : [ -4% , -2%, 0 , 5% , 10%] note: in this case we have set 5 TP levels what % of open position shall closes at each TP level. and 5 SL levels. SL levels change as price moves. in this case once a pos is opend SL is at -4% for all orders(tps). once TP1 (1%) hits then SL becomes -2% of original entry for all open orders so previous sl levels now rewrites. once TP2 hit then SL goes to TP1. once TP3 hits SL goes to TP2. and so on. - set one shot DCA: if price drops x% (dca)from entry, given that it still has not hit first SL then add y amount (dca_posvalue) of open value size to current open pos.and all open pos/orders should get updated. - martingale : user can define to enable or disable this feature. if Enabled then when SL hits X times IN-A-ROW (user should be able to define the martingale_x:) then the next position size changes X times bigger than then usual pos size. this process repeats until one TP hits. then pos size resets. eg. if pos_size: 10% then next "posvalue" should be 30% of available margin if the martingale_pos was defined as 300% which is 3x the initial pos. - Configurable Settings (config.json) - Contains all parameters: TP, SL, leverage, position value, DCA trigger, etc. - Telegram Alerts: Sends updates for every stage: entry, TP, SL, DCA, and errors. - Threaded Architecture: Handles multiple trades asynchronously while keeping the webhook responsive. Preferred language: Python. Hand-off deliverables: 1. Source code for the bot. 2. Instructions to install dependencies and launch the script. 3. Quick test to confirm a sample webhook triggers an order on Binance Testnet. That’s all I need for now; we can discuss further enhancements once the basic flow is solid and reliable.