- Frontend: HTML5, CSS3, JavaScript
- Backend: Python, Flask
- APIs: IBKR, Tastytrade, Schwab
- Clone the repository:
git clone https://github.com/yourusername/toucan_oms_dev.git
cd toucan_oms_dev- Set up Python virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Configure credentials:
- Create
creds.yamlfor API credentials - Create
tos-creds.yamlfor Tastytrade credentials - Add necessary API tokens to
tokens.json
- Create
Create the following configuration files (these are git-ignored for security):
user:
- your_username
pw:
- your_passwordusername: your_tastytrade_username
password: your_tastytrade_password- Start the backend server:
python backend/backend.py-
Open
index.htmlin your browser or serve it using a local server. -
Use the toolbar controls to:
- Start trading system
- Pause execution
- Stop all operations
- Total PnL monitoring
- Exposure tracking
- Delta hedging
- Trade execution
