Skip to main content

ETL library to download and pre-process financial data.

Project description

ETL library to download and pre-process financial data.

This tools process and enrichs data screpped from Yahoo Finance into a sets of CSV files. It was conceived as a CI component to generate static data for testing purposes.

Installation

Requirements

  • click
  • blessed
  • pandas-datareader

PIP

pip install exploratium-quant

Usage

Usage: quant-cli [OPTIONS]

Options:
  -t, --tickers TEXT   Tickers to analyse.
  -o, --out-dir PATH   Path to save results.
  --verbose / --quiet  Verbosity on/off.
  --help               Show this message and exit.

Example

By calling:

quant-cli -t "BTC-USD,SPY,ETH-USD,GME"

The tool will save a daily OHLC timeseries for the ticker along the following generated metrics:

  • ma7: 7 days moving average
  • ma30: 30 days moving average
  • ma90: 90 days moving average
  • upper_bollinger_band: Upper Bollinger Band
  • lower_bollinger_band: Lower Bollinger Band
  • daily_returns: Daily returns
  • sharpe: Sharpe ratio

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

exploratium-quant-0.0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

exploratium_quant-0.0.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file exploratium-quant-0.0.3.tar.gz.

File metadata

  • Download URL: exploratium-quant-0.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for exploratium-quant-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d9c396dc9c6c20682dfa872f713db4ab26feefde173fb59fe0163965fb8a6053
MD5 10a60949b390ddd86472f94efe9245cd
BLAKE2b-256 2cd9aa85747f98c0c3fcf05ac12a397a622fd2aa06c5262f04d13f862836dc59

See more details on using hashes here.

File details

Details for the file exploratium_quant-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: exploratium_quant-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for exploratium_quant-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab58b480844525fb72b19204e5ba5ce3fa349df92041507677471818b889c8be
MD5 3a14c46786914ec4f3206e331754433b
BLAKE2b-256 7e0424a9c011b2282eea37ac9c2cf1c7510340062704c4603dd88b9a1ad93339

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