How kieran-mackle/autotrader works
Project type and purpose
• AutoTrader is a Python‐based trading framework/library (not a web app).
• It provides a CLI entrypoint, a core engine for backtesting and live trading, a plugins-style broker layer, built‐in indicators, plotting utilities, and notification/comms modules.
• Its main use cases: build, backtest, paper-trade and deploy automated strategies against historical or live market data.
File structure
• Top-level modules under autotrader/:
• core files: autobot.py, autoplot.py, autotrader.py, strategy.py, indicators.py, utilities.py
• bin/cli.py: CLI entrypoint (uses Click)
• brokers/: broker-interface abstraction + adapters (ccxt, ib, oanda, trading, virtual, yahoo)
• comms/: notification interfaces (e.g. Telegram notifier)
• package_data/keys.yaml: default config/data
• Configuration and packaging: pyproject.toml, setup.py, requirements.txt, pre-commit, CI workflows.
• Documentation under docs/: modules are documented by category (core, broker, features, tutorials).
README insights
• Emphasizes backtesting, paper trading (“virtual broker”), live trading via multiple venues.
• Interactive visualization with Bokeh via AutoPlot.
• Broker integration pattern (pluggable): CCXT, Oanda, IB, Yahoo, Virtual.
• Communication hooks for alerts/notifications.