- Fetch news from News API
- Fetch stock data from Polygon
- Live and paper stock trading with Alpaca
- Live crypto trading with Binance
Note: Functionality requires setting up API keys with corresponding services. Polygon API key is provided by Alpaca.
This repository is divided into the following sections:
adhoc
: Useful ad hoc scripts and experimentsdash
: UI for visualizing trades and account balancesjobs
: Periodically scheduled jobslib
: Shared Go librariesquant
: Machine learning models and trading strategiestrader
: Backend server for UI and makes periodic tradestraderdb
: Database containing financial, ML and user info
This directory will be referred to by the TRADING_BOT_REPO
environment variable.