trendmanagement / Tmqr-framework-2

3 stars 0 forks source link

A dynamic position sizing Risk reversal hedge EXO for V2 #57

Open nikolas-joyce opened 6 years ago

nikolas-joyce commented 6 years ago

I am toying with the idea how to size up or size down an alpha based on its performance or Bayesian Consistency or some kind of performance measure.

My thought is that we could have a standard size risk reversal with a 30 delta target and and then increase the delta of the risk reversal if the alpha fell below a consistency level.

How could we accomplish this?

Dmitry, you were working on a ML sizing alpha, would that concept be applicable.

Alex, could you think of a V2 implementation that would be conscious of how the particular alpha was performing and then adjusted the deployed risk reversal to an appropriate delta?

thx

nikolas-joyce commented 6 years ago

I have done some test of concept work on the idea above an one implementation which may work is to build a SmartEXO in V2 that is composed of 2 risk reversal. Let consider the bull hedge case. During bullish phases in the underlying futures we would run a 20% hedge risk reversal and during bearish phases we would run a 80% delta risk reversal. I used a simple 10day Keltner channel on the 6B for this example. On days when the center channel was rising we hold a 20% delta risk reversal and on days when then center channel is not rising we hold the 80 delta risk reversal. When the condition changed from rising to falling center Keltner channel i give the time series the previous days weight so there is not a look ahead bias.

Here are the 6B futures alphas i used in the example. image

https://10.0.1.2:8888/notebooks/campaign_management/Campaign_Bidirectional_6B_ContFut_DSP%20for%20production_Sept17_w_enhancement.ipynb this is the window i am considering.

image

here is the head to head comparison, left the default alpha, right with the .8 and .2 times the daily returns. image

Alex, can we build a index hedge in V2 that works like this proposal? thx

alexveden commented 6 years ago

can we build a index hedge in V2 that works like this proposal?

Yep, absolutely possible.

nikolas-joyce commented 6 years ago

Could you build an example notebook for me please. Thx

Sent from my iPhone

On Oct 2, 2017, at 3:00 AM, alexveden notifications@github.com<mailto:notifications@github.com> wrote:

can we build a index hedge in V2 that works like this proposal?

Yep, absolutely possible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/trendmanagement/Tmqr-framework-2/issues/57#issuecomment-333491592, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARobLOksqJfIrZyXuqBfnoBkenVwlBxMks5soLRCgaJpZM4PntHw.

alexveden commented 6 years ago

Here is the sample https://10.0.1.2:8889/notebooks/indexes/SmartEXO-RiskReversal-CL-KeltnerChannel-SemiFuture_sample.ipynb

I'm unclear about the risk reversal position structure, but feel free to change it as you need.

Brief introduction:

Defining the SmartEXO logics

image

Position management based on Keltner values

Closing position if direction of Keltner middle line has been changed image

Position construction based on Keltner direction

image