Yahoo Signals
Project description
ysignals
Install
pip install -U git+http://github.com/jrdi/ysignals.git@master#egg=ysignals
Usage
from pathlib import Path
from ysignals.data import yahoo
from ysignals.features import RSI, SMA
db_dir = Path('db')
yahoo.download_data(db_dir)
features_generators = [
RSI(num_days=5, interval=14, variable='adj_close'),
RSI(num_days=5, interval=21, variable='adj_close'),
SMA(num_days=5, interval=14, variable='adj_close'),
SMA(num_days=5, interval=21, variable='adj_close'),
]
train, test, live, feature_names = yahoo.get_data(db_dir, features_generators=features_generators)
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
ysignals-0.0.1rc1.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for ysignals-0.0.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7624226033619d39f54b707a8da86be28b98adb0db2ce92ab41fdfc0bb0c2a |
|
MD5 | 1a0336278372924f6a67dccca3fadb64 |
|
BLAKE2b-256 | 6565a560a2220d942aa5bdde93e2181a56d00ff4bbe1261f6a910018eb56e1e5 |