An algorithmic trading platform
Project description
hyperdrive: Robinhood analytics and algorithmic trading |
---|
hyperdrive is a project to obtain stock data, create trading strategies, test against historical data (backtesting), and deploy strategies for algorithmic trading.
Getting Started
Prerequisites
You will need Python 3.8+ and a Robinhood account.
Place your credentials in a file named .env
in the project root directory.
Follow this structure:
RH_USERNAME=...
RH_PASSWORD=...
RH_2FA=...
IEXCLOUD=...
Installation
To install the necessary packages, run
pip install -r requirements.txt
Use
Making Scripts
To make a script, create a new .py file in the scripts/
dir with the following code:
import sys
sys.path.append('src')
from Algotrader import HyperDrive # noqa autopep8
drive = HyperDrive()
Features:
- Broker authentication
- Automated data storage
- Backtesting engine
- Monte Carlo simulations
- Plotting and technical analysis
- Model training
- Strategy definition (start with buy and hold)
- Buy and sell functionality
- Live trading
- Documentation
Check out the Roadmap for progress ...
Auth
Using Robinhood 2FA, we can simply provide our MFA one-time password in the .env
file to login to Robinhood (via pyotp
).
Data
-
Price and Volume
-
Actions
- Mergers
- Buybacks
-
Sentiment
- News Sentiment
- Institutional Sentiment
- Analyst Recommendations
-
Company / Micro
- Profile (Sector, # of Employees)
- Earnings
- Cash Flow
- CEO Compensation
-
Government / Macro
- Unemployment Rate
- Real GDP
- US Recession Probabilities
-
Market
- General Volatility (VIX)
- Sector Performance
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hyperdrive-quant-0.32.0.tar.gz
.
File metadata
- Download URL: hyperdrive-quant-0.32.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edfd7c7fb346bbb8c30d72719c4ec74df1fb82ac9fab9684e37b3d18b0fad1a0 |
|
MD5 | 846981b13dadc0f67f600a3e8a371017 |
|
BLAKE2b-256 | 18021a268f7ff231d6e46864291f41cd54a43a255b1b2c810d946fb0aaa6291d |
File details
Details for the file hyperdrive_quant-0.32.0-py3-none-any.whl
.
File metadata
- Download URL: hyperdrive_quant-0.32.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a95f0cb83b4302ea467ea353c5d284d7a4585f791c09b171c175e5f8a734b62 |
|
MD5 | 47f0ea9756b4f88e4f33ce491ee8ea45 |
|
BLAKE2b-256 | 2a3fe361d2577e322d6aebc199f54bd34f536001537c23c639425db0469530d3 |