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
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
Built Distribution
Close
Hashes for exploratium_quant-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab58b480844525fb72b19204e5ba5ce3fa349df92041507677471818b889c8be |
|
MD5 | 3a14c46786914ec4f3206e331754433b |
|
BLAKE2b-256 | 7e0424a9c011b2282eea37ac9c2cf1c7510340062704c4603dd88b9a1ad93339 |