I have a Strategy running that's working really well...
Just ironing out a few things once order is ''filled"
I'm using the ATMStrategyCreate() method for order submission...
I see different event driven methods work with a strategy but doesn't directly say ATMStrategy and was wanting to know the best method for accessing ATMStrategy data once order filled.
OnOrderUpdate()
OnExecutionUpdate()
OnExecution()
Actually just want to catch the filled price once order filled so I can use this to manage from here..
I see this a lot in the documentation..
AveragePrice
The wording Average meaning the average for a price range, to me so doesn't make sense...
Print("The average entry price is " + Position.AveragePrice); // Gets the average entry price of the strategy position
So the average price is the filled price?
It just doesn't seem to match whats showing on my chart trader..
So if I use the OnExecutionUpdate() method the filled price is the price?
protected override void OnExecutionUpdate(Execution execution, string executionId, double price, int quantity, MarketPosition marketPosition, string orderId, DateTime time)
{
}
Thanks

Comment