forcepush-1.0.3
توضیحات
An algorithmic trading platform
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | forcepush-1.0.3 |
| نام | forcepush |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Krish Suchak |
| ایمیل نویسنده | suchak.krish@gmail.com |
| آدرس صفحه اصلی | https://github.com/suchak1/hyperdrive |
| آدرس اینترنتی | https://pypi.org/project/forcepush/ |
| مجوز | - |
| <img src="https://raw.githubusercontent.com/suchak1/hyperdrive/master/img/1.png" width="75" /> | _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
```
### Testing
```
python -m pytest -s -v test/test_filename -k function_name
```
## 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('hyperdrive')
from Algotrader import HyperDrive # noqa autopep8
drive = HyperDrive()
```
## Features:
- [x] Broker authentication
- [x] Automated data storage
- [x] Backtesting engine
- [ ] Monte Carlo simulations
- [ ] Plotting and technical analysis
- [ ] Model training
- [x] 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
- [x] Price and Volume
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3ASymbols)
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3AOHLC)
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3AIntraday)
- [x] Actions
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3ADividends)
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3ASplits)
- [ ] Sentiment
- [ ] News Sentiment
- [x] [/badge.svg>)](https://github.com/suchak1/hyperdrive/actions?query=workflow%3A%22Social+Sentiment+%281%29%22)
- [ ] [Investor Sentiment](http://www.aaii.com/files/surveys/sentiment.xls)
- [ ] Analyst Recommendations
- [ ] Company / Micro
- [ ] Profile (Sector, # of Employees)
- [ ] Earnings
- [ ] Cash Flow
- [ ] CEO Compensation
- [ ] Government / Macro <!-- this stuff prob won't be v useful -->
- [x] [](https://github.com/suchak1/hyperdrive/actions?query=workflow%3AUnemployment) <!-- BLS -->
- [ ] Real GDP <!-- BEA -->
- [ ] US Recession Probabilities <!-- FRED -->
- [ ] Market
- [ ] General Volatility (VIX)
- [ ] Sector Performance
### Strategy
- [x] Buy and Hold
- [x] Indicator/TA based
- [ ] Portfolio Optimization
### Trading
- [x] Buy and Sell
---
<!-- need to create an oracle -->
<!-- extra -->
<!-- 3. auto update model monthly -->
<!-- abstract away undersample fx from preprocess fx, and buy and sell from order fx, make oracle class -->
<!-- 4. automate saving model and preprocessors (every 2 weeks ) -->
<!-- 5. add live results on website / model vs buying and holding like alphahub - use dash or plotly? use pca visualization, tsne for higher dimensions, roc curve, etc-->
<!-- 6. add authentication and business like report style like in dash example -->
نیازمندی
| مقدار | نام |
|---|---|
| ==0.14.0 | auto-sklearn |
| ==1.19.7 | boto3 |
| ==35.0.0 | cryptography |
| ==1.3.4 | pandas |
| ==0.2.11 | polygon-api-client |
| ==1.0.15 | python-binance |
| ==0.19.1 | python-dotenv |
| ==2021.3 | pytz |
| ==2.1.0 | robin-stocks |
| ==0.24.2 | scikit-learn |
| ==1.7.1 | scipy |
| ==0.7.0 | ta |
| ==0.21.0 | vectorbt |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl forcepush-1.0.3:
pip install forcepush-1.0.3.whl
نصب پکیج tar.gz forcepush-1.0.3:
pip install forcepush-1.0.3.tar.gz