protected override void OnBarUpdate()
{
string[] entryOrder = GetAtmStrategyEntryOrderStatus("orderId");
// Check length to ensure that returned array holds order information
if (entryOrder.Length > 0)
{
Print("Average fill price is " + entryOrder[0].ToString());
Print("Filled amount is " + entryOrder[1].ToString());
Print("Current state is " + entryOrder[2].ToString());
}
}
Also, does the return string array only contain 3 values? Av Fill Price, Quantity and status or is there other information too?
Thanks
Comment