量化研究先问时间:这条信息当时是否已经可见
财务数据所对应的季度结束日,并不是市场参与者能够看到它的日期。企业通常在之后发布报告,数据供应商还需要采集和处理。若回测直接从季度结束日开始使用最终报表数字,就把未来信息带到了过去,可能显著夸大策略表现。 研究表除了数值与统计期间,还应保存首次公告时间、修订时间和本地入库时间。构造某个交易时点的信号时,只能使用截至该时点已实际可获得的数据版本。公告发生在收盘后时,最早可执行时间通常还要推迟到后续交易时段。 有些历史数据库只保留最新修订值。此时即使公告日期正确,也可能把后来更正的数字用于旧时点。应优先寻找带历史版本的数据;无法获得时,需要明确标注限制,并评估该字段是否适合用于严格的历史验证。 假设模型每天收盘后计算信号、下一交易日开始执行,研究程序应明确收盘数据何时完整、异常值何时修复,以及订单何时提交。不能一边使用当天最终收盘价计算信号,一边默认所有交易都能以同一个收盘价成交。 可以抽取几天数据做人工追踪:从原始公告或交易记录开始,列出采集、清洗、特征计算和下单各环节时间。对跨时区资产统一保存时区信息,节假日则使用对应市场日历。这种逐条核对比仅检查表格是否为空更容易发现时间错位。 最终在研究报告中写明数据可用规则与执行延迟,并用更保守的延迟假设做敏感性检查。如果稍微延后使用信息就使结果消失,说明策略可能依赖难以实现的速度条件。时间边界应作为数据契约长期维护,而不是回测完成后的补充说明。一条数据可能有多个日期
为数据建立可用时间
从交易决策反推数据截点
相关推荐
-
DoorDash利用AI智能体将生鲜杂货复购延迟从16秒降至2秒
-
More Canadians are struggling to pay their mortgage
-
By-election puts Brantford at the centre of Canada’s political universe
-
Gifting made easy
-
DOJ accuses former cyber executive of defrauding ransomware victims by secretly paying hackers
-
We asked her about the porch goose
- 最近发表
-
- The 7 Best Black Friday Deals on Expert-Tested Laptops (2026): Up to $470 Off
- We asked her about the porch goose
- By-election puts Brantford at the centre of Canada’s political universe
- Trump’s role in reinstalling Jensen Huang signals AI regulation in U.S. is a non-starter
- “观测未来大会”前瞻 | AI 时代,可观测性将迎来怎样的进化?
- Mike Love, founding member of Beach Boys, dies at 85
- The trade crisis can be an opportunity if businesses lean on francophones to help them grow
- Mike Love, founding member of Beach Boys, dies at 85
- Altra Running Promo Codes: 10% Off November 2026
- Gifting made easy
- 随机阅读
-
- Want to buy your kid an AI toy this Christmas? Not in New York
- Consider the company holiday party as work, so mind your booze
- The best books of 2026
- The Maple Leaf shouldn’t be a grocer’s fig leaf
- “观测未来大会”前瞻 | AI 时代,可观测性将迎来怎样的进化?
- Trump’s role in reinstalling Jensen Huang signals AI regulation in U.S. is a non-starter
- The trade crisis can be an opportunity if businesses lean on francophones to help them grow
- Many of Canada’s vaping, nicotine pouch products may be illegal, study suggests
- X finally gets parental controls after 20 years
- Kinew’s description of Bill 21 as ‘legislative racism’ is shameful, St-Pierre Plamondon says
- Untapped potential
- Untapped potential
- Grand Theft Auto VI proves why efficiency isn’t a virtue
- Your lookahead horoscope: November 29, 2026
- Puzzle Pieces: A closer look at our Weekender ‘Rock Stars’ crossword and the Weekender Cryptic
- The best ways to stay active while you age, according to our healthy living reporter
- WATCH: Women around the world fight for gender equity in sumo
- Lululemon founder Chip Wilson should focus on self-control, not birth control
- A modern Ontario home in a vibrant natural setting
- Doctors Without Borders condemns Israeli drone strike that killed 2 clinic staff in Gaza
- 搜索
-