Stabilize Flattrade Algo Bot

Job ID: 40246737

Budget: ₹600 – ₹1,500 INR

My Flattrade AC algo-trading bot launches without a hitch, starts placing orders correctly, and then—about 1-2 hours into the session—it loses connectivity, freezes, and stops trading until I manually restart it. I need the bot to run flawlessly through the full market window, 9 AM to 3 PM, on my local machine.

The core logic already works; the problem lies in keeping the session alive. Whether the root cause is a silent network drop, an API session timeout, or throttling, I want robust, automated recovery built in: reconnect logic, retries with back-off, smart exception handling, and logging that clearly flags the real failure point. Minimal latency and zero missed trades during reconnection are critical.

Deliverables
• Revised bot script or module with automatic reconnect and freeze-prevention
• Clear, commented code and a short read-me showing how to run and test it
• A quick walk-through session proving the bot stays online for the entire 9-3 window in a dry-run or paper-trade mode

If you have solid experience stabilising trading bots, especially around WebSocket or REST APIs, I’m ready to test your solution right away.