anthonykrivonos
Quantico
Python

๐ŸŒฟ (Help wanted) Live quant trading engine for Robinhood in Python 3, now with backtesting.

Last updated Jul 14, 2025
18
Stars
8
Forks
3
Issues
0
Stars/day
Attention Score
16
Language breakdown
No language data available.
โ–ธ Files click to expand
README

๐ŸŒฟ Quantico

Live quantitative trading algorithms for Robinhood in Python 3.

Quantico

What's inside?

This project uses my fork of Jamonek's Robinhood Python wrapper to make servers calls warranted by the algorithms in this project given various financial data from the API. Calls include placing buys and sells, making calls and puts, and retrieving instrument data. This repository is a work in progress, and since I obviously don't store my credentials in this repo, anyone can fork it, give it a whirl, and perhaps contribute their own financial knowledge.

Getting Started

Installing and Running

  • Clone this repository.
  • Open a terminal window and cd to the project.
  • Upgrade your setup tools with pip3 install --upgrade setuptools --user python.
  • Install all required dependencies with pip3 install -r requirements.txt.
  • Create a file called .env and fill it with your credentials:
EMAIL=yourEmail@probably.com
PASSWORD=yourPassword123
  • Run the driver with python3 driver/run.py. It will use python-dotenv to load your EMAIL and PASSWORD, so you don't have to worry about hardcoding these credentials.

Creating Your Own Algorithm

  • Copy and paste src/algorithms/__skeleton.py into the same folder. Rename it to something of your choosing, and be sure to change the class name.
  • Add from algorithms.your_algorithm import * to src/algorithms/init.py.
  • Follow the instructions in the skeleton file to write your algorithm.
  • After writing your algorithm, call it as follows at the bottom of driver/run.py:
  • If backtesting: YourAlgorithm(query, my_port, test=True, cash=1000) ($1000 is the starting cash amount)
  • If live trading: YourAlgorithm(query, my_port)
  • Run your code with python3 driver/run.py.

Contributing

If you'd like to improve and/or expand the content of this library, feel free to submit pull requests. If you experience any issues with this code, please let me know promptly.

Authors

Anthony Krivonos - Developer* - Portfolio

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Vicki Shao for all the support and flames! ๐Ÿ”ฅ
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท anthonykrivonos/Quantico ยท Updated daily from GitHub