API STOCK requires Python 3 to run. Install
pip install apiStock
- 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.
from apiStock import getStockHistory
vin_prices = getStockHistory('VIN', '2019-08-19', '2020-08-19')
MIT
Free Library, Hell Yeah!