我正在尝试访问 TSLA 股票数据,但该数据似乎并未考虑到今年早些时候的分裂。Alpha_Vantage 网站声称它将默认设置为 adjustment=true,但情况似乎并非如此,我尝试指定 adjustment=true 但这返回了意外的关键字错误。from alpha_vantage.timeseries import TimeSeriesimport pandas as pdts = TimeSeries(key= api_key, output_format='pandas'data, meta_data = ts.get_daily(self.symbol, outputsize='full')#tried ts.get_daily(self.symbol, outputsize='full') but still no luck. The image ive added shows the data in a graph. the crash, i believe is a split
1 回答
慕田峪9158850
TA贡献1794条经验 获得超7个赞
from alpha_vantage.timeseries import TimeSeries
import pandas as pd
ts = TimeSeries(key= api_key, output_format='pandas')
data, meta_data = ts.get_daily_adjusted(self.symbol, outputsize='full')
这是获得分段调整关闭的方法。
z
添加回答
举报
0/150
提交
取消