Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ysignals-0.0.1rc1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file ysignals-0.0.1rc1.tar.gz.

File metadata

  • Download URL: ysignals-0.0.1rc1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.9

File hashes

Hashes for ysignals-0.0.1rc1.tar.gz
Algorithm Hash digest
SHA256 e89abbee807eccfa53e51a49ad56ad6629a16f749fda032caba87c0a48689cb4
MD5 4e5b63e88d7a45b690d9360e451790d7
BLAKE2b-256 1091d20afe2b6cd1e0b44756f4bcdf40a023c6a89d4be5e76ff1957d8c56c9b7

See more details on using hashes here.

File details

Details for the file ysignals-0.0.1rc1-py3-none-any.whl.

File metadata

  • Download URL: ysignals-0.0.1rc1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.9

File hashes

Hashes for ysignals-0.0.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7624226033619d39f54b707a8da86be28b98adb0db2ce92ab41fdfc0bb0c2a
MD5 1a0336278372924f6a67dccca3fadb64
BLAKE2b-256 6565a560a2220d942aa5bdde93e2181a56d00ff4bbe1261f6a910018eb56e1e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page