{"id":25739645,"url":"https://github.com/anthonykrivonos/quantico","last_synced_at":"2025-05-08T20:53:36.403Z","repository":{"id":95505123,"uuid":"155313124","full_name":"anthonykrivonos/Quantico","owner":"anthonykrivonos","description":"🌿 (Help wanted) Live quant trading engine for Robinhood in Python 3, now with backtesting.","archived":false,"fork":false,"pushed_at":"2019-08-09T22:23:30.000Z","size":161,"stargazers_count":17,"open_issues_count":3,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-31T18:07:08.099Z","etag":null,"topics":["algorithmic-trading","algorithms","api","python","python3","quant","quantitative","robinhood","trading"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonykrivonos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-10-30T02:37:32.000Z","updated_at":"2022-03-05T04:27:05.000Z","dependencies_parsed_at":"2023-10-20T17:29:10.349Z","dependency_job_id":null,"html_url":"https://github.com/anthonykrivonos/Quantico","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonykrivonos%2FQuantico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonykrivonos%2FQuantico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonykrivonos%2FQuantico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonykrivonos%2FQuantico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonykrivonos","download_url":"https://codeload.github.com/anthonykrivonos/Quantico/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149370,"owners_count":21861717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithmic-trading","algorithms","api","python","python3","quant","quantitative","robinhood","trading"],"created_at":"2025-02-26T08:29:20.414Z","updated_at":"2025-05-08T20:53:36.383Z","avatar_url":"https://github.com/anthonykrivonos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌿 Quantico\n\nLive quantitative trading algorithms for [Robinhood](https://robinhood.com/) in Python 3.\n\n![Quantico](https://i.imgur.com/JABBu3m.jpg)\n\n## What's inside?\n\nThis project uses my fork of [Jamonek's](https://github.com/Jamonek/Robinhood) 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.\n\n## Getting Started\n\n### Installing and Running\n\n1. Clone this repository.\n2. Open a terminal window and `cd` to the project.\n3. Upgrade your setup tools with `pip3 install --upgrade setuptools --user python`.\n4. Install all required dependencies with `pip3 install -r requirements.txt`.\n5. Create a file called `.env` and fill it with your credentials:\n\n```\nEMAIL=yourEmail@probably.com\nPASSWORD=yourPassword123\n```\n\n5. 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.\n\n### Creating Your Own Algorithm\n\n1. 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.\n2. Add `from algorithms.your_algorithm import *` to `src/algorithms/__init__.py`.\n3. Follow the instructions in the skeleton file to write your algorithm.\n4. After writing your algorithm, call it as follows at the bottom of `driver/run.py`:\n\n\n- If backtesting: `YourAlgorithm(query, my_port, test=True, cash=1000)` ($1000 is the starting cash amount)\n\n- If live trading: `YourAlgorithm(query, my_port)`\n\n\n5. Run your code with `python3 driver/run.py`.\n\n\n## Contributing\n\nIf 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.\n\n## Authors\n\n* **Anthony Krivonos** - *Developer* - [Portfolio](https://anthonykrivonos.com)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n\n* Vicki Shao for all the support and flames! 🔥\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonykrivonos%2Fquantico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonykrivonos%2Fquantico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonykrivonos%2Fquantico/lists"}