nsepy返回空数据框

时间:2019-09-19 22:57:55

标签: python dataframe nsepy

nsepy get_history返回一个空的数据帧。这可能是什么原因? 我正在使用version 0.7(latest version)

from datetime import date,timedelta
from nsepy import *
end_day = date.today()
start_day = end_day - timedelta(2)
stock_price_df = get_history(symbol="SBIN", start= date.today() - timedelta(2), end= date.today())

0 个答案:

没有答案