How to change Max Risk Pct dynamically during strategy execution?
Author: luroch
Creation Date: 7/11/2011 11:26 PM
profile picture

luroch

#1
Hi, I need my strategy code to change the max risk percentage value during its execution based on given conditions. I've done some searches in the forum and it seems like the correct way of supporting that is by developing my own PosSizer as described in this link: http://www2.wealth-lab.com/WL5WIKI/apiDevelopmentGuide.ashx. Is my understanding correct? Are there any other alternatives to achieve this or creating a custom PosSizer is the only way? I just want to confirm I'm in the correct path before I go too deep this direction... Thanks in advance.
profile picture

Eugene

#2
Hi,
Custom PosSizer (source code example) sounds like the natural way of varying the Max % Risk.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).