예제 #1
0
            private double Lots(IOrderInfo order)
            {
                double lots = 0;

                if (order.GetLots() == 0)
                {
                    IOrderInfo cb;
                    if (_orders.TryGetValue(order.GetClosedHedgeOf(), out cb))
                    {
                        lots = cb.GetLots();
                    }
                }
                else
                {
                    lots = order.GetLots();
                }
                return(lots);
            }