Iim sure that the command "AvgFillPrice(OrderID)" works however i need to get the last orderID placed. I used the command "Orders(account)" to get a list of all the order placed. This did not return the most recent order in the listing.
So then i tried NewOrderID(); I got the order and then placed a @Market order using the returned OrderID. The order was placed but it was allocated a different OrderID even though i specified it.
Can you help me with a working example of how to get the entry price of the last order placed? or how to place an order and allocate it a OrderID.
Thank you in advance..
Comment