LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

Odaily星球日报Опубліковано о 2024-02-08Востаннє оновлено о 2024-02-08

Анотація

在进行大类因子合成前,需要进行因子正交化来消除共线性,本篇就三种正交方法进行展开。

书接上回,关于《用多因子模型构建强大的加密资产投资组合》系列文章中,我们已经发布了四篇:《理论基础篇》《数据预处理篇》《因子有效性检验篇》《大类因子分析:因子合成篇》

在上一篇中,我们具体解释了因子共线性(因子之间相关性较高)的问题,在进行大类因子合成前,需要进行因子正交化来消除共线性。

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

一、因子正交化的数学推导

从多因子截面回归角度,建立因子正交化体系。

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

所以,

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

二、三种正交方法的具体实现

1.施密特正交

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

施密特正交是一种顺序正交方法,因此需要确定因子正交的顺序,常见的正交顺序有固定顺序(不同截面上取同样的正交次序),以及动态顺序(在每个截面上根据一定规则确定其正交次序)。施密特正交法的优点是按同样顺序正交的因子有显式的对应关系,但是正交顺序没有统一的选择标准,正交后的表现可能受到正交顺序标准和窗口期参数的影响。

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

2.规范正交

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)# 规范正交 def Canonical(self):
 overlapping_matrix = (time_tag_data.shape[ 1 ] - 1) * np.cov(time_tag_data.astype(float))
 # 获取特征值和特征向量
 eigenvalue, eigenvector = np.linalg.eig(overlapping_matrix)
 # 转换为 np 中的矩阵
 eigenvector = np.mat(eigenvector)
 transition_matrix = np.dot(eigenvector, np.mat(np.diag(eigenvalue ** (-0.5))))
 orthogonalization = np.dot(time_tag_data.T.values, transition_matrix)
 orthogonalization_df = pd.DataFrame(orthogonalization.T, index = pd.MultiIndex.from_product([time_tag_data.index, [time_tag]]), columns=time_tag_data.columns)
 self.factor_orthogonalization_data = self.factor_orthogonalization_data.append(orthogonalization_df)

3.对称正交

施密特正交由于在过去若干个截面上都取同样的因子正交顺序,因此正交后的因子和原始因子有显式的对应关系,而规范正交在每个截面上选取的主成分方向可能不一致,导致正交前后的因子没有稳定的对应关系。由此可见,正交后组合的效果,很大一部分取决于正交前后因子是否有稳定的对应关系。

对称正交尽可能的减少对原始因子矩阵的修改而得到一组正交基。这样能够最大程度地保持正交后因子和原因子的相似性。并且避免像施密特正交法中偏向正交顺序中靠前的因子。

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

对称正交的性质:

  1. 与施密特正交相比,对称正交不需要提供正交次序,对每个因子是平等看待的

  2. 在所有正交过渡矩阵中,对称正交后的矩阵和原始矩阵的相似性最大,即正交前后矩阵的距离最小。

LUCIDA:如何利用多因子策略构建强大的加密资产投资组合(因子正交化篇)

Пов'язані матеріали

TechFlow Intelligence Bureau: Anthropic IPO Odds Exceed 80%, Iran Closes Strait of Hormuz Again, Triggering Oil Price Volatility

**Market Digest** **AI & Tech:** Anthropic is widely expected to announce an IPO before November 2026, raising questions about balancing its trillion-dollar valuation ambitions with its core "AI safety" mission. Brands are increasingly adopting AI-generated virtual influencers for marketing. Cloudflare introduced temporary accounts for AI agents to ease automation workflows. **Infrastructure & Hardware:** Google's IPv6 traffic surpassed 50%, marking a major internet milestone. Goldman Sachs warned that massive projected AI capital expenditure ($5.3T) is approaching credit saturation limits, potentially curbing the "AI arms race." **Space & Robotics:** SpaceX's IPO saw a historic $370M retail buying frenzy in three days. Hyundai Motor Group plans to acquire full ownership of Boston Dynamics. Elon Musk speculated about future "septillion-dollar" investments in antimatter for interstellar travel. **Energy & Geopolitics:** Iran's military announced another closure of the strategic Strait of Hormuz, accusing Israel of violating a ceasefire, causing oil market volatility. However, ship-tracking data indicated some traffic continued. Concurrently, Iran resumed crude loadings at Kharg Island, potentially releasing up to 20 million barrels to the market. **Finance & Macro:** A European CLO (collateralized loan obligation) experienced its first post-2008-crisis-era equity tranche default, raising alarms in credit markets. Nomura warned that new Federal Reserve Chair Wash's perceived hawkish debut speech could signal a significant policy shift. **The Undercurrent:** Seemingly disparate events—the Strait of Hormuz tension, the European CLO default, and warnings on AI spending—point to a tightening of global liquidity and rising marginal costs across energy, credit, and tech investment. Meanwhile, capital continues chasing grand narratives like space exploration and advanced AI, highlighting a divergence where old-world leverage frays as new-world stories grow more ambitious.

marsbit1 год тому

TechFlow Intelligence Bureau: Anthropic IPO Odds Exceed 80%, Iran Closes Strait of Hormuz Again, Triggering Oil Price Volatility

marsbit1 год тому

The Hunter Becomes the Hunted: The Most Profitable MEV Bot Gets Hacked

A well-known and highly profitable Ethereum MEV Bot, Jaredfromsubway.eth, suffered a sophisticated on-chain attack this Saturday, losing over $7.5 million. Analysis by Blockaid and others reveals this was not a conventional phishing or smart contract exploit, but a targeted "counter-MEV honeypot attack." The attacker meticulously laid a trap over several weeks, deploying 66 fake token contracts and liquidity pools disguised as major assets like WETH and USDC. These pools created the illusion of arbitrage opportunities. The MEV Bot's automated system detected these signals, executed trades, and in the process, granted approval permissions to attacker-controlled contracts. These approvals were not revoked, creating a persistent vulnerability. The attacker then exploited this in a single transaction, draining the bot's ETH, USDC, and USDT holdings. Jaredfromsubway.eth is notorious as one of Ethereum's most active and profitable MEV Bots, primarily known for executing "sandwich attacks" to profit from transaction slippage. Estimates suggest it has earned tens of millions in MEV revenue. The incident highlights escalating crypto security threats, demonstrating that even top-tier automated "predators" are vulnerable to novel, logic-based attacks designed to exploit their own operational rules. Following the hack, an unverified X account impersonating Jaredfromsubway.eth emerged, falsely offering a bounty for the return of funds, prompting developer warnings for users to stay vigilant.

marsbit2 год тому

The Hunter Becomes the Hunted: The Most Profitable MEV Bot Gets Hacked

marsbit2 год тому

Торгівля

Спот
Ф'ючерси
活动图片