复权价格与现金分红:回测里怎样避免重复计算
价格跳变可能不是经济损失
股票拆分、送股、配股和现金分红会改变价格或持有数量。如果直接使用未处理的价格序列计算收益,某些除权除息日可能出现并不代表真实财富变化的跳变。研究前应了解数据供应商怎样处理公司行为,以及字段属于原始价格还是调整价格。
不同序列服务不同目的
调整后的历史价格有助于比较连续收益或计算特征,但它未必是当时能够实际成交的价格。模拟订单金额、最小价格单位和交易限制时,需要使用与真实市场相符的价格口径。不能用一个字段同时承担所有分析与执行用途。
如果收益序列已经通过总回报方式计入现金分红,又在账户中额外增加同一笔分红,就会重复计算收益。反过来,仅计算价格变化却没有加入持有人应得的现金,也可能低估回报。应明确每笔分红的登记、除息、支付与再投入处理规则。
调整因子也有时间边界
有些复权序列会随着后来发生的公司行为重算整段历史。用于模型特征时,应检查这类重算是否改变过去时点可见的信息,特别是依赖绝对价格门槛的策略。保存原始价格、公司行为事件和调整规则,可以更清楚地追踪差异来源。
验证时抽取一次拆分和一次现金分红事件,逐日检查持仓数量、价格、现金和总资产变化。对于配股、合并与代码变更,核对是否需要额外付款或资产转换。遇到不完整事件数据,不应通过删除异常日期让曲线看起来连续。
最后在研究说明中明确收益属于价格收益还是含分红的总回报,执行使用哪种价格,税费如何处理。将特征计算、交易模拟和账户记账的口径分开说明,再用事件核对它们的一致性,能够减少回测中隐蔽且影响较大的计算错误。
-
Cerveja sem álcool é saudável? O que se sabe sobre calorias e hidrataçãoBank found guilty after dumping 212,000 warnings in the trashRigshospitalet transplanted Liam twice. Now he is to be flown to Oslo for another transplantThe mood was heavy when another Venstre veteran led the room in applauding excluded party memberMesserschärfer von Tormek, F. Dick, Horl, Graef im Test: So werden Ihre Messer wieder scharf - DER SPIEGELResidents against Danish data center celebrate politicians' U-turnSettlement in pepper spray case once again raises questions about inmates’ legal protections in Danish prisonsOne in three manual workers has a foreign background江苏林洋能源股份有限公司-陆永华-企业家-大咖-索比光伏网Rigshospitalet's dismissal case takes a dramatic turn
- ·Chances de Libertadores: Santos fica perto de vaga, e Atlético se complica
- ·Here is the word of the year
- ·»It was grueling«: Twice as many pregnant women need help
- ·Five demands would make life less hard for divorced parents
- ·Swiss neutrality melting as fast as Alpine glaciers — Russian embassy
- ·Danish teenage boys are being bombarded: Now misogyny is moving into classrooms
- ·In these programs, it is impossible to hold a student job: »It could become very problematic«
- ·»Here we go again«: Professor repeats warning
- ·What does ‘gerrymandering’ mean? | Explained
- ·UN official: El Niño threatens our ability to feed the world
- ·»When you’re choosing a man, don’t go for looks or money. Go for his lipoprotein«
- ·»When you’re choosing a man, don’t go for looks or money. Go for his lipoprotein«
- ·Ministries create response teams for presidential Direct Line — Kremlin
- ·There is a summit for the world’s nature: Denmark shows up without a plan
- ·Municipalities give ai to young schoolchildren in defiance of even the tech giants’ age limit
- ·Add-ons to the TV channels’ Christmas calendars are raising concern
- ·ChatGPT virou o mundo de cabeça pra baixo há 4 anos. Mas sua vida já mudou?
- ·New calculations point to the key to Denmark’s jobs miracle
- ·Add-ons to the TV channels’ Christmas calendars are raising concern
- ·We are all at the mercy of endless scrolling and personalized algorithms. But especially teenage girls
- ·ChatGPT virou o mundo de cabeça pra baixo há 4 anos. Mas sua vida já mudou?
- ·Their math teacher gives off serious »party vibes«. And there’s a particular reason he’s always in rubber boots
- ·»Groundbreaking« Alzheimer’s drug rejected in Denmark
- ·In these programs, it is impossible to hold a student job: »It could become very problematic«
- ·Submission of applications for the Eventiada Awards will last until September 30
- ·New calculations point to the key to Denmark’s jobs miracle
- ·分布式光伏分论坛-索比光伏网
- ·Alternativet wants to make it cheaper to cycle to work
- ·In Copenhagen, Zelenskyy put his finger on Europe’s problem
- ·New calculations point to the key to Denmark’s jobs miracle
- ·‘Way of the Warrior Kid’ movie review: Military and masculinity train together for a bland coming-of-age story
- ·Severe pain is forcing more people out of the workforce early
- ·The Liberal Party board resigns over veteran member's expulsion
- ·New report: Stress keeps 99,000 out of the labor force
- ·新能源大基地-索比光伏网
- ·»It was grueling«: Twice as many pregnant women need help
