@nanquant
在trade模块, # 按日期过滤得到今日的预测数据 ranker_prediction = context.ranker_prediction[ context.ranker_prediction.date == data.current_dt.strftime('%Y-%m-%d')]这段代码运行后有警告:时间不匹配,主要是有时区信息不匹配,未来版本可能不兼容,可能出错,如何提前解决!原始警告如下:/usr/local/python3/lib/python3.8/site-packages/pandas/core/indexing.py:1124: FutureWarning: Indexing a timezone-naive DatetimeIndex with a timezone-aware datetime is deprecated and will raise KeyError in a future version. Use a timezone-naive object instead. return self._get_label(key, axis=axis)
\
\
每次都不知道怎么开始,代码有基础,从哪里下手不太清楚
\