Only set to true if you have specifically programmed your strategy to be able to adopt account positions.
Where is the documentation on how to program a strat to do that?
I have a real time strategy:
In OnStateChange:
Calculate = Calculate.OnPriceChange;
if (State != State.Realtime) return;
Is it enough to just put
IsAdoptAccountPositionAware = true;
in my OnStateChange and then start the strategy with the "Adopt Account Position" start option?
The documentation on the Adopt Account Position HEREis confusing to me for 2 reasons.
1. It talks a lot about orders. In my scenario there would be no orders to consider. Only an existing account position.
2. The sentence:
Any remaining active strategy orders that cannot be successfully paired will be submitted live and the strategy will then try to sync your Account Position to your Strategy Position.
Isn't that backward? Shouldn't it read sync your Strategy Position to your Account Position? Existing wording suggests to me that it's going to change the Account Position to match the Strategy Position. I want the opposite and I think that's what this feature really is but not sure because of that sentence.
Comment