Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nikolas-joyce opened this issue Sep 28, 2017 · 4 comments
Open

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

nikolas-joyce opened this issue Sep 28, 2017 · 4 comments

Comments

@nikolas-joyce
Copy link

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
Copy link
Author

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
Copy link
Contributor

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

Yep, absolutely possible.

@nikolas-joyce
Copy link
Author

nikolas-joyce commented Oct 2, 2017 via email

@alexveden
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants