private static void InitOrders() { foreach (SingleOrder order in OrderManager.Orders.All) { Order wrapper = Order.CreateWrapper(order); OpenQuant.orders.Add(wrapper); Map.OQ_FQ_Order[wrapper] = order; Map.FQ_OQ_Order[order] = wrapper; } }