我正在使用 NSEPY API,我想列出包含在漂亮 50 指数中的股票。
我正在获取个股的历史数据,但没有获得漂亮的 50 只股票(总共 50 只股票)。我想找回它。
import nsepy
from nsepy import get_history
from datetime import date
data = get_history(symbol="IOC", start=date(2017,1,1), end=date(2019,2,15))
data[['Close']].plot()
Run Code Online (Sandbox Code Playgroud)
我想要 50 只股票的结果,但我得到了我在符号中给出的特定棒的结果