I am a new one and trying to learn the basics. Question: what's the most reliable way of getting the realised fill price of an executed order?
I am asking this because I have noticed that IOrder.AvgFillPrice may be zero (0), although IOrder.OrderState == OrderState.Filled OnOrderUpdate. Sounds strange?
I have been bactesting my strategy using the Sim account and historical CL 02-09 data (1 min bars from Dec 4 to Dec 19). The strategy generated in total 1318 orders (buy and sell @ mkt), and exactly in 8 cases the AvgFillPrice was zero as described above. At least in one occasion the corresponding order was shown in the chart as 'Close'. Comments?
Regards,
Jari

Comment