We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
df = pro.daily(ts_code="000027.SZ", start_date='20080101', end_date='20220410') # 用tushare的接口获取股票数据 #对数据做reverse df = df.reindex(index=df.index[::-1]) df = df.reset_index(drop=True)
stockStat = stockstats.StockDataFrame.retype(df) print(stockStat[['close', 'pdi', 'mdi', 'adx','adxr', 'macd']])
最后输出结果与股票app上的数据对不上 请问是我使用的方法有问题吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
df = pro.daily(ts_code="000027.SZ", start_date='20080101', end_date='20220410') # 用tushare的接口获取股票数据
#对数据做reverse
df = df.reindex(index=df.index[::-1])
df = df.reset_index(drop=True)
stockStat = stockstats.StockDataFrame.retype(df)
print(stockStat[['close', 'pdi', 'mdi', 'adx','adxr', 'macd']])
最后输出结果与股票app上的数据对不上
请问是我使用的方法有问题吗?
The text was updated successfully, but these errors were encountered: