thanks for reading. I have to use jupyter light.
An error occurred while using the following code using FinanceDataReader.
import FinanceDataReader as fdr
import ssl
import pandas as pd
import os
start_date = '20200101'
end_date = '20201231'
sample_code = '005930'
stock = fdr.DataReader(sample_code, start = start_date, end = end_date)
stock
error message:
SSLError: HTTPSConnectionPool(host='fchart.stock.naver.com', port=443): Max retries exceeded with url: /sise.nhn?timeframe=day&count=6000&requestType=0&symbol=005930 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Here's how I tried it:
- I tried, but DataReader() got an unexpected keyword argument 'session'
- I applied the above and performed the following, but I got an error with Parse error at "'--truste'".
import piplite
await piplite.install('finance-datareader --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org')
- it is not deal with financeDataReader library..
- There are no errors but it doesn't work.
etc.....
How can i solve this problem..?