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

how do i subsitute some new alpha types into the campaign editor #172

Open
nikolas-joyce opened this issue Apr 29, 2017 · 2 comments
Open

Comments

@nikolas-joyce
Copy link
Contributor

say i have a notebook for the ES like
this,
https://10.0.1.2:8888/notebooks/campaign_management/Campaign_editor-ES.ipynb
what is the simplest way to replace the active group of alphas with this set.
https://10.0.1.2:8888/notebooks/campaign_management/Campaign_Bidirectional_ES_April24_Optunity_DSP.ipynb

many of he members in the second list will already be in the first. I am mostly looking to add a few DSP strategy

image

@nikolas-joyce
Copy link
Contributor Author

I would also like to add these 2 the the CL Bidirectional V3

'CL_PutSpread_Long_Strategy_DSP_BandPass__Bearish_avgpnl_2_April_25_custom': 1.0,
'CL_CallSpread_Long_Strategy_DSP_BandPass__Bullish_April_25_custom': 1.0,

@alexveden
Copy link
Contributor

All you need is https://10.0.1.2:8888/notebooks/campaign_management/Campaign_editor-ES.ipynb

Pretty simple operation:

  1. Copy/paste the output of to the following cell. It's already contains actual alphas, i.e. this is full actual settings for campaign.
    image

  2. Place new alphas settings after this line, using template
    image

  3. Uncomment and edit #'begin': datetime.datetime(YYYY, MM, DD), change 'begin' date to date of start of the trading.

  4. Run save cells to write changes to the DB

Note
To avoid following warnings:
image

You need to do step No. 1, each time you are editing the campaign

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

2 participants