Exemplo n.º 1
0
 public void SellAtMarket(string symbol, double volume)
 {
     Order order = new Order() { OrderType = OrderType.Sell, Volume = volume, IsMarket = true, Time = TestContext.CurrentTime };
     Orders.Add(order);
 }
Exemplo n.º 2
0
 public void Sell(string symbol, double price, double volume)
 {
     Order order = new Order() { OrderType = OrderType.Sell, Price = price, Volume = volume, Time = TestContext.CurrentTime };
     Orders.Add(order);
 }