Query interface to retrieve data from destinated s3 location with proper authentication
Project description
eQmaster is a python package that allows user to retrieve stock data fast and compact.
Main Features - use get(stock_list, from_date, to_date) to get stock data between from_date and to_date. Date is formatted as YYYY-MM-DD. The latest to_date value is one day prior to the current date.
use get_current_quote(stock_symbol) to get most updated stock quote. It is currently supported for single stock prices quote.
use is_market_open(market_name) to determine if given market is open for trades. It is currently supported for Taiwanese stock market only.
use setup(settings=None) to determine if given market is open for trades. It is currently supported for Taiwanese stock market only.
Sample Code ` import eQmaster eQmaster.setup({ 'config_path': 'xxxxxxx', 'key': 'hojasdjsahfihasidahsdioh', 'credential': 'hhdasuilfdhasluifhadhusha', 'stock_data_src': 's3://xxxxxx' }) if is_market_open('tw_stock'): print(get_current_quote('0051')) print(get(['0051'], '2020-01-01', '2020-12-31')) `
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 Distributions
Built Distribution
Hashes for eQmaster-0.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e99f7982ff7f573ba1aed6b8e47115070d2fbda184f3938fa70a0dab15a4c7 |
|
MD5 | d1689ff5721c371d40a06dadfc27e0db |
|
BLAKE2b-256 | 7f26c76a0713b89cda8bd6b12c5a118514d59b252765e65ab874ae6540a00143 |