This project analyzes market and options data and uses OpenAI APIs to generate trade strategies. It is built with a modular design, uses Streamlit for the UI, and Supabase as the backend database.
quant.py- Main application code with API calls and markdown report generation.db.py- Database interaction using Supabase.helpers.py- (Additional helper functions, if any.)
- Install dependencies:
pip install -r requirements.txt - (Optional) Install as a package:
python setup.py install - Set up your environment variables in a
.envfile or using Streamlit secrets.
Run the project locally with:
streamlit run quant.py
Tests can be added under a tests/ directory; then run:
pytest
The repository includes a GitHub Actions workflow (.github/workflows/ci.yml) to run tests on every push.