Core config files
- config/default.yaml: main application settings.
- config/active_strategy.json: current strategy used by the bot.
- config/watchlist.txt: watchlist symbols, one per line.
Environment variables
IB_HOST=127.0.0.1
IB_PORT=4002
IB_CLIENT_ID=1
IB_ACCOUNT=your_account_id
Run scripts
- API: ./run_api.sh
- Web UI: ./run_web.sh
- Bot runner: ./run_bot.sh (or podman-compose -f docker-compose.prod.yml up -d bot)
Data and storage
- Default state storage: PostgreSQL (DATABASE_URL).
- Sample data: data/sample/.
Backtest data source
- Uses TWS data when connected and enabled.
- Otherwise falls back to sample/synthetic data.