barchart-ondemand-client-python-0.0.6
توضیحات
A Python library to get data from BarChartOnDemand API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | barchart-ondemand-client-python-0.0.6 |
| نام | barchart-ondemand-client-python |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Scott Sharkey |
| ایمیل نویسنده | ssharkey@lanshark.com |
| آدرس صفحه اصلی | https://github.com/lanshark/barchart-ondemand-client-python |
| آدرس اینترنتی | https://pypi.org/project/barchart-ondemand-client-python/ |
| مجوز | MIT |
Python client for Barchart OnDemand
-----------------------------------
Get a free API key at:
- http://freemarketdataapi.barchartondemand.com/
Currently supports
~~~~~~~~~~~~~~~~~~
- getHistory
- getQuote
- getFinancialHighlights (requires paid license key)
Example Code
~~~~~~~~~~~~
`See how to use the client in your project
here <https://github.com/lanshark/barchart-ondemand-client-python/blob/master/samples/main.py>`__.
To set the API\_KEY for these applications, set an environment variable
as follows:
::
export BARCHART_API_KEY="xxxxxxxxxxxxxxxxxxxx"
To set the URL\_BASE (ondemand or marketdata) for these applications,
set an environment variable as follows:
::
export BARCHART_URL_BASE="marketdata.websol.barchartondemand.com"
To enable the Financial Highlights (paid key required):
::
export BARCHART_USE_HIGHLIGHTS=True
Additional remarks
~~~~~~~~~~~~~~~~~~
This project is not a `Barchart <http://www.barchartondemand.com/>`__
project. This project was forked from
`femtotrader's <http://github.com/femtotrader>`__ project and
extended/modified.
Use it at your own risk.
Some Barchart projects are available at https://github.com/barchart/
نیازمندی
| مقدار | نام |
|---|---|
| - | python-dateutil |
| - | requests |
| - | requests-cache |
| - | six |
| xtr | check-manifest; |
| xtr | pytest; |
| xtr | coverage; |
| xtr | pytest; |
نحوه نصب
نصب پکیج whl barchart-ondemand-client-python-0.0.6:
pip install barchart-ondemand-client-python-0.0.6.whl
نصب پکیج tar.gz barchart-ondemand-client-python-0.0.6:
pip install barchart-ondemand-client-python-0.0.6.tar.gz