Metadata-Version: 2.1
Name: hyperdrive
Version: 0.39.0
Summary: An algorithmic trading platform
Home-page: https://github.com/suchak1/hyperdrive
Author: Krish Suchak
Author-email: suchak.krish@gmail.com
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/suchak1/hyperdrive/issues
Project-URL: Source, https://github.com/suchak1/hyperdrive
Platform: UNKNOWN
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv (==0.15.0)
Requires-Dist: pandas (==1.2.0)
Requires-Dist: robin-stocks (==1.6.3)
Requires-Dist: boto3 (==1.16.51)
Requires-Dist: polygon-api-client (==0.1.9)
Requires-Dist: pytz (==2020.5)

| <img src="https://raw.githubusercontent.com/suchak1/hyperdrive/master/img/1.png" width="75" /> | _hyperdrive_: Robinhood analytics and algorithmic trading |
| ---------------------------------------------------------------------------------------------- | --------------------------------------------------------- |


![Build Pipeline](https://github.com/suchak1/hyperdrive/workflows/Build%20Pipeline/badge.svg) ![Dev Pipeline](https://github.com/suchak1/hyperdrive/workflows/Dev%20Pipeline/badge.svg) ![New Release](https://github.com/suchak1/hyperdrive/workflows/New%20Release/badge.svg)

_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:

- [x] 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](https://github.com/suchak1/hyperdrive/projects/2) 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
  - [x] ![Symbols](https://github.com/suchak1/hyperdrive/workflows/Symbols/badge.svg)
  - [x] ![OHLC](https://github.com/suchak1/hyperdrive/workflows/OHLC/badge.svg)
  - [x] ![Intraday](https://github.com/suchak1/hyperdrive/workflows/Intraday/badge.svg)
- [x] Actions
  - [x] ![Dividends](https://github.com/suchak1/hyperdrive/workflows/Dividends/badge.svg)
  - [x] ![Splits](https://github.com/suchak1/hyperdrive/workflows/Splits/badge.svg)
  - [ ] Mergers
  - [ ] Buybacks
- [ ] Sentiment
  - [ ] News Sentiment
  - [x] ![Social Sentiment](<https://github.com/suchak1/hyperdrive/workflows/Social%20Sentiment%20(1)/badge.svg>)
  - [ ] [Institutional Sentiment](http://www.aaii.com/files/surveys/sentiment.xls)
  - [ ] 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

---


