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)
Metadata
Release files for opensignals 0.0.5.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opensignals-0.0.5.post1.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opensignals-0.0.5.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / opensignals-0.0.5.post1.tar.gz
| Download URL | opensignals-0.0.5.post1.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2db337321cea663f5f22406c4210129f520bec0cb0894aa027d42ca80d15a7f5
|
|
BLAKE2b-256 checksum How to use checksums |
a5d1a85a2bf0603c14b89d906136d32c19bd06006ffedf3fec150ee827a2d338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / opensignals-0.0.5.post1-py3-none-any.whl
| Download URL | opensignals-0.0.5.post1-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e210349abaeb14c405e776965e38119c7eba54c740d5ed9567795fc93729bcb3
|
|
BLAKE2b-256 checksum How to use checksums |
65b3fc7ae528c478d6d958eb6a3b026f19c0dcf432be71d8c7795087eaa3643e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|