I found references to Last Trade in Help, but nothing on how to apply AvgFillPrice to the last trade. In Trade Class (Help) it mentions Entry Gets an IExecution object representing the entry, but that didn't lead anywhere.
I also found this in Help, Functions
double AvgFillPrice(string orderId)
Gets the average entry price for the specified orderId.
But, I only want to apply it to the LAST TRADE.
The way I want to use it in a Condition set is:
"If AvgFillPrice of the last trade = X AND ......... then ......"
Maybe this one is way over my head?? I won't be offended if you tell me so.
Thanks,
Joe

Comment