So it is not possible to initialize strategy with already existed positions/fills?
For example, I would like to run a simple turtle strategy on ES. I already has 3 unit of ES in my account and the turtle strategy should take maximum 1 more unit ES (Turtle takes max 4 units position on one side). Is it possible to tell strategy it should consider having 3 units already when initialing it?
I know that a strategy can be recovered with StrategyPersistence. But how about if the strategy state changed outside of OQ?
Thanks.
skuvv wrote:
Hi,
in case of new(your own) portfolio.
When you create it with framework, it will be initialized automatically.
Code:
Portfolio portfolio = new Portfolio(framework);
Portfolio of strategy will be initialized on starting.
Broker information can not be automatically filled in portfolio.