public void exit()
        {
            BrokerManager broker = brokers.First();
            foreach (Product p in products)
            {
                MarketOrder currentOrder = new MarketOrder(p, quantityOfEachProduct, Order.Side.SELL);

                try
                {
                    int orderId = broker.submitOrder(currentOrder);
                    myOpenOrders.Add(orderId, currentOrder);
                }
                catch (Exception e)
                {
                    log.Error("Unable to submit order", e);
                }
            }
        }
        public void start()
        {
            if ((brokers != null) && (brokers.Count() > 0))
            {
                BrokerManager broker = brokers.First();
                foreach (Product p in products)
                {
                    MarketOrder currentOrder = new MarketOrder(p, quantityOfEachProduct, Order.Side.BUY);             

                    try{
                        log.Info("Sending order for " + currentOrder.product.symbol);
                        int orderId = broker.submitOrder(currentOrder);
                        myOpenOrders.Add(orderId, currentOrder);
                    }catch(Exception e){
                        log.Error("Unable to submit order", e);
                    }
                }
            }
        }