Skip to content

12/06-12-13 backtest

Source: Notion | Last edited: 2022-12-07 | ID: 92419291-43e...


发现问题: backtest 和aws db predict 不一样

Section titled “发现问题: backtest 和aws db predict 不一样”

debug

  • 确认数据是一样的。首先测验,fetch时间相差12个小时不到的数据有没有区别。
    • 本地6pm跑了production的prediction script,这个脚本会重新fetch google trends数据。
    • 本地早上8am 下载了production server 上fetch的新google trends数据
    • 比较data fetched by continuous_prediction_manual at night = data loaded from server prediction folder in the morning?
    • 发现数据变了, we find them different since '2022-10-30 01:00:00'
    • 当比较所有数据的时候,他们是不同的

当只拿到前面的41613行数据,数据是一样的。

第41614行数据的时间是2022-10-30 01:00:00

google trends有weekly, monthly, daily, and hourly 数据

统计结果发现,从10月30号

  • rerun simulate script = simulate script?
    • it is the same if using the same data
  • simulate.py = continuous_prediction_manual?