Skip to main content

An algorithmic trading platform

Project description

hyperdrive: Robinhood analytics and algorithmic trading

Build Pipeline Dev Pipeline New Release

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

    • Symbols
    • OHLC
    • Intraday
  • Actions

    • Dividends
    • Splits
    • Mergers
    • Buybacks
  • Sentiment

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silicon-0.32.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

silicon-0.32.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file silicon-0.32.0.tar.gz.

File metadata

  • Download URL: silicon-0.32.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for silicon-0.32.0.tar.gz
Algorithm Hash digest
SHA256 3892bdafa76bc4256d5351418eb6f44dac9772ebabaf9737a112a2efd7f008b9
MD5 c028e77ac25653f9b41782eb8c4efa19
BLAKE2b-256 90bb2c2877ca26eef1ef9c19c847f882120a34de75fe8a76d6a933a96dd7c5ad

See more details on using hashes here.

File details

Details for the file silicon-0.32.0-py3-none-any.whl.

File metadata

  • Download URL: silicon-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for silicon-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41ec72d228109bbe89ddfcb3e58b76a1c3ca9ba4972ce57bcc4b7933aeb0c302
MD5 9a2b5980acf562cbcd27a2f31caa009a
BLAKE2b-256 a944248b38aa5cadcfc68fa960f65049ef7c8c481ebb9f76f91dd99ac336e0c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page