当前位置:天才代写 > 作业代写,留学生作业代写-北美、澳洲、英国等靠谱代写 > Arbitrage Trading代写 financial time series代写 systematic strategy代写

Arbitrage Trading代写 financial time series代写 systematic strategy代写

2020-09-30 15:14 星期三 所属: 作业代写,留学生作业代写-北美、澳洲、英国等靠谱代写 浏览:1925

Arbitrage Trading代写

Arbitrage Trading on Cointegration with Backtest

Arbitrage Trading代写 The aim here is the estimation and analysis of an arbitrage relationship between two or more financial time series.

Summary Arbitrage Trading代写

The aim here is the estimation and analysis of an arbitrage relationship between two or  more financial time series. Identifying and backtesting a robust cointegrated relationship means exposing a factor that drives two (several) asset prices. The factor is traded by entering a long- short position given by cointegrating weights.

Through implementation you will have a hands-on experience with model-free multivariate regression with Vector Autoregression (for returns) and Error Correction (for price levels). The task is not to perform econometric forecasting. Backtesting techniques and recipes are spe-  cific to systematic strategy selected. This topic focuses on generating an optimal trading signal from mean-reversion strategy. Cointegrating factor discussed above is represented by a mean- reverting spread, for trading on which optimal bounds can be computed.Arbitrage Trading代写

A successful project requires coding from the first principles: matrix form regression esti- mation, Engle-Granger Procedure (or Johansen  Procedure),  ADF  test  for  stationarity.  After the cointegrated (mean-reverting) relationship estimated, ready optimisation and backtesting libraries can be used.4

A project that solely runs pre-programmed statistical tests and procedures on data is insufficient.

Signal Generation and Backtesting Arbitrage Trading代写

  • Searchfor inventive applications of cointegration beyond equity  Consider commodity futures, interest rates, and aggregated indices.
  • The strategy is realised by using cointegrating coefficients ØCoint as allocations w. That creates a long-short portfolio that generates a mean-reverting spread. All project designs should include optimal trading signal generation and backtesting. Present optimisation results for entry/exit
  • Does cumulative P&L behave as expected  for  a  cointegration  trade?  Is  P&L  coming  from a few or many trades, what is half-life? Maximum Drawdown and behaviour of volatility/VaR?Arbitrage Trading代写
  • Backtestshould include bid/ask spread and impact of transaction
  • Common backtest is done by computing the rolling SR and beta against S&P500 and three factors (returns from value, momentum, and small cap strategies). Use a ready software library, such as pyfolio in

4Use the environment with facilities for matrix and time series manipulation (R, Matlab) or code in Python/C++ with the use of quant libraries. VBA will be cumbersome for time series analysis.

Arbitrage Trading代写
Arbitrage Trading代写

Step-by-Step InstructionsArbitrage Trading代写

A starting source for historical daily close prices of US equities and ETFs is Yahoo!Finance. Today’s environments have libraries to access Quandl, Bloomberg, Reuters and others.

‘Learning’ and Cointegration in Pairs

An understanding-level design can use the ready specification tests, but matrix form regres-  sion estimation must be re-coded. The project can rely on the Engle-Granger procedure for cointegration testing among pairs but multivariate exploration is encouraged.

  1. Implement concise matrix form estimation for multivariate regression and conduct model specification tests for (a) identifying optimal lag p with AIC BIC tests and (b) stability  check with eigenvectors of the autoregression system. Here, it is choice whether to code thesetests or use ready functions.Arbitrage Trading代写
  2. Implement Engle-Granger procedure and explore several cointegrated pairs. Estimate relationships both ways to select the appropriate lead variable.  ADF test for unit root  must be coded and used.
  3. Ensurerobust estimation: one recipe to do so is to shift time window (2-3 months shift) andapply LR testing for di↵erence in time series’ means between  As an alternative,develop  the  adaptive  estimation  of  cointegrating coefficients  YtØC0  oint et.
  4. Decide on strategy trading rules (common approach is to enter on bounds, exit on ettouch- ing the mean value µe). Use optimisation to compute optimal bounds Zoptoeq. Produce appropriate plots for Drawdown, Rolling SR and backtesting against factors for the P&L. oeq, speed of mean-reversion, and half-life between trades are obtained by fitting of et to the OU

OPTIONAL Multivariate Cointegration Arbitrage Trading代写

It is recommended to validate results for Johansen Procedure against existing R/Matlab libraries. Efficient implementation steps for the procedure are outlined in Jang & Osaki (2001).

New 2. Apply Maximum Likelihood Estimation (Johansen Procedure) for multivariate cointegra- tion on prices data. Test specification will involve the in-calibrated constant trend inside the cointegrating residual et—1 in the OYt error-correction equation.Arbitrage Trading代写

There are five possible kinds of deterministic trend in et—1, however rarely utilised in practice because that leads to overfitting of cointegrated relation to particular sample. Particularly for time-dependent trend (ie, do not make your time series function of time   as an independent variable of regression).Present analysis for Maximum Eigenvalue and Trace statistical tests, both are based on Likelihood Ratio principle, on how you decided the number of cointegrated relationships.

Arbitrage Trading代写
Arbitrage Trading代写

更多其他:计算机代写 lab代写 python代写 作业代写 code代写  homework代写 加拿大代写 数据分析代写  C++代写 金融代写 matlab代写 r代写

合作平台:天才代写 幽灵代写 写手招聘 Essay代写

 

天才代写-代写联系方式