Bayesian Adaptive Trading with Daily Cycle
Embed Size (px)
Transcript of Bayesian Adaptive Trading with Daily Cycle
Bayesian Adaptive Trading with Daily CycleMr Chee Tji HunMs Loh Chuan XiangMr Tie JianWang Algernon
AbstractThe Bayesian Adaptive Trading with Daily Cycle (BATDC) paper presents the idea of an optimal trading schedule to minimise the total expected cost of trading.
The key idea in BATDC paper is that there exists a value which represents the true drift generated by Institutional Traders.
Institutional traders, start with a daily target size and by observing price evolution throughout the day, one can adjust the estimate and uncover the orders nature (Buy/Sell) and tailor an optimal trading schedule using the adjusted estimate to finally reduce trading cost.
As part of the BATDC paper, they have uncovered a proprietary trading strategy but have ignored it for the purpose of their paper.
The purpose of this paper is to test the proprietary trading strategy and implement certain variants to the strategy.
AssumptionsPrior belief that is normally distributed ~ N(, v2 ) Underlying asset prices distribution, conditional on , is also normally distributed St = S0 + t + Bt for t 0 St ~ N(t, (2 + v2t)t) Using Bayesian update the optimal value for *|St ~ N( (2 + v2(St S0))/(2 + v2t), 2v2/(2 + v2t) )
Methodology and Trading Strategy 1We seek to optimise 2 parametersThe size of the rolling windowThe size of a trading cycle
Prop StrategyStart each m-period with 0 positionUse a n-period rolling window (past data) & m-period trading cycle St S0 = t + Bt where t [1, 2, , m] Estimate by a regression without intercept;Estimate of is the standard error of the regression model; and Estimate of v, the priors standard deviation, is the standard deviation of the estimate of With the information calculate * at time tIf * > 0 long the asset else short the assetIf position at period m-1 not equal to 0 then sell at period m end day price so that position is back to 0 at the end of period m.
Methodology and Trading Strategy 2After taking a sparse sample from the range of 1-100 days for close out and rolling window. We notice that the strategies performed better within the 4-44 day ranges. Optimization was then applied at a finer grain within this range.We propose 2 different strategies:A pure proprietary strategy as suggested in the paperA modified strategy with a liquidation component that slowly negates the position to 0 over the m-periods
Pure Proprietary Strategy 1The pure proprietary strategy is explained in slide 4 and exactly replicates the strategy explained in the BATDC paper.Performance data for the strategy is collated and the graphical representation is attached in the following slides.
Pure Proprietary Strategy 2P&L for Pure Prop Strategy
Pure Proprietary Strategy 3Sharpe Ratio of Pure Prop Strategy
Pure Proprietary Strategy 4Omega of Pure Prop Strategy
Pure Proprietary Strategy 5Observing the data, we notice that using P&L the plateau is achieved between 30, 31 & 32 close out period and 42, 43 & 44 rolling window period.
Using Sharpe Ratio and Omega, there does not seem to be a stand out optimal close out and rolling window period.
Modified Proprietary Strategy 1We now consider an additional liquidating strategy to complement the proprietary strategy. The idea is also in line with the ideas in the BATDC paper.
For each n-period rolling window & m-period trading cycle, we apply the proprietary strategy as explained in slide 4 and also consider the following:If time t [1, 2, , m] and position is not 0We choose to sell (position > 0) or buy (position < 0) Position / (m-t) units of the underlying asset in addition to the proprietary strategy
We consider this additional liquidation strategy because one cannot reasonably expect to get the price at the end of the m-period if the accumulated position is huge.
Modified Proprietary Strategy 2P&L for Modified Prop Strategy
Modified Proprietary Strategy 3Sharpe Ratio for Modified Prop Strategy
Modified Proprietary Strategy 4Omega for Modified Prop Strategy
Modified Proprietary Strategy 5Using P&L, we observe from the data that stability is achieved in the 27-35 period trading cycle and 16-22 period rolling window.
Sharpe Ratio is much improved under this strategy and is stable in the 35-38 period trading cycle and 4-22 period rolling window
On average, Omega under this strategy is larger than under the pure prop strategy. However, similar to the pure prop strategy, it is stable over the entire range of trading cycle and rolling window periods combinations considered
Conclusions and ComparisonsAlthough the pure Prop Strategy out performs the modified Prop Strategy in P&L, the volatility of the P&L for the modified Prop Strategy is less than that of the pure Prop Strategy.
The modified Prop Strategy out performs the pure Prop Strategy in Sharpe Ratio and Omega. However, this difference is not significant.
The data seems to suggests a that a 35 period trading cycle and a 18 period rolling window are the optimal parameters for the modified Prop strategy based on Sharpe Ratio and P&L. However, one can only use P&L to decide the optimal parameters for the pure Prop Strategy.