apiStock-0.8
توضیحات
Api useful to get stock data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | apiStock-0.8 |
| نام | apiStock |
| نسخه کتابخانه | 0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | thanhtlx |
| ایمیل نویسنده | thanh1908.xx@gmail.com |
| آدرس صفحه اصلی | https://github.com/thanhtlx/api-stock |
| آدرس اینترنتی | https://pypi.org/project/apiStock/ |
| مجوز | MIT |
# API STOCK
## Api Useful To Get Historical Stock Price Values
[](https://travis-ci.org/joemccann/dillinger)
## Installation
API STOCK requires [Python 3](https://www.python.org/) to run.
Install
```
pip install apiStock
```
#### Featured Methods
1. getStockHistory(code, start_date, end_date)
- code stock in Vietnam Stock Market.
- start_date should be entered in the ‘YYYY-MM-DD’ format and is the first day that data will be pulled for.
- end_date should be entered in the ‘YYYY-MM-DD’ format and is the last day that data will be pulled for.
#### Use
```python
from apiStock import getStockHistory
vin_prices = getStockHistory('VIN', '2019-08-19', '2020-08-19')
```
## License
MIT
**Free Library, Hell Yeah!**
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.0 | Python |
نحوه نصب
نصب پکیج whl apiStock-0.8:
pip install apiStock-0.8.whl
نصب پکیج tar.gz apiStock-0.8:
pip install apiStock-0.8.tar.gz