Python Swing Algo Integration

Замовник: AI | Опубліковано: 29.03.2026

I need a complete, production-ready swing-option trading algorithm written in Python that talks to Interactive Brokers via a FastAPI layer. The core tasks are: • Model the swing strategy logic, parameterised so I can tweak entry, exit, risk and sizing rules without touching the code base. • Expose key actions—start / stop strategy, fetch current signals, place or modify orders, pull account and position data—through clean, documented FastAPI endpoints. • Stream real-time market data from Broker API into the strategy with tight latency handling, then route orders back to trading interface. • Build in asynchronous execution, logging, persistent configuration, and graceful error and reconnection handling so it can run unattended on a cloud VM. • Supply clear setup instructions (Python environment, IB Gateway / TWS settings, FastAPI run command) plus a concise README and inline comments for future extension. I will test by paper-trading first, so successful order placement and consistent signal generation on live data will be the acceptance criteria.