opensignals
opensignals
pypi i opensignals
opensignals

opensignals

Open Signals

by councilofelders

0.0.4 (see all)License:Apache License
pypi i opensignals
Readme

Open Signals

Install

pip install -U opensignals

Usage

from pathlib import Path

from opensignals.data.yahoo import Yahoo
from opensignals.features import RSI, SMA

db_dir = Path('db')
yahoo = Yahoo()
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)
VersionTagPublished
0.0.4
1yr ago
0.0.3
1yr ago
0.0.2
1yr ago
0.0.1rc9
1yr ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate