项目
在 GitHub 查看 




bradleyboyuyang/Statistical-Arbitrage
关于
High-frequency statistical arbitrage
科学与工程实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Statistical-Arbitrage
In this project we provide a backtesting pipeline for intraday statistical arbitrage. Both traditional spread models (i.e. pairs trading with cointegration tests, time series analysis) and continuous time trading models (i.e. Ornstein-Uhlenbeck process) are used to model the spread portfolios.
Scripts
data: intraday data files, including stocks, options, and dual listing stocksutils: arbitrage tool functions including cointegration tests and regression analysismodels: simulations and parameter estimations for stochastic models and option greeksBM.py: brownian motion related functionsVasicek.py: OU-process related functionsBS_model.py: Black-Scholes model and option greeks
statistical_arbitrage: notebook for realizing pair trading based on limit orderbook stock datares: results for positions, thresholds, and PnLs
Backtesting
Spread Portfolios

Threshold Analysis

Position Analysis


PnL Visualization

Note
- Higher the transaction costs, larger the optimal entry points for arbitrage, lower the trading frequency.
- Sensitivity analysis needs to be conducted with respect to the level of transaction costs (price impact, bid-ask spread, and commission fees).
探索相关项目
加载中…