Open Signals
Project description
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)
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
opensignals-0.0.5.post1.tar.gz
(13.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opensignals-0.0.5.post1.tar.gz.
File metadata
- Download URL: opensignals-0.0.5.post1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2db337321cea663f5f22406c4210129f520bec0cb0894aa027d42ca80d15a7f5
|
|
| MD5 |
b2b6f98d797ba48d7f261e1daed3d760
|
|
| BLAKE2b-256 |
a5d1a85a2bf0603c14b89d906136d32c19bd06006ffedf3fec150ee827a2d338
|
File details
Details for the file opensignals-0.0.5.post1-py3-none-any.whl.
File metadata
- Download URL: opensignals-0.0.5.post1-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e210349abaeb14c405e776965e38119c7eba54c740d5ed9567795fc93729bcb3
|
|
| MD5 |
72a90d2b215788a2f6ec144dc1ac215e
|
|
| BLAKE2b-256 |
65b3fc7ae528c478d6d958eb6a3b026f19c0dcf432be71d8c7795087eaa3643e
|