/// <summary>
 /// This method allows you to cancel an order that you submitted previously and that
 /// has not been matched yet.
 /// </summary>
 /// <param name="order">The order to cancel</param>
 /// <returns>Returns true on success</returns>
 public bool CancelOrder(Order order)
 {
     return CancelOrder(order.Uid, order.Tradeable, order.Unit);
 }
 /// <summary>
 /// This method allows you to place an order to buy or sell contracts.
 /// The method sets the Uid field of the order.
 /// </summary>
 /// <param name="order">The order to palce</param>
 /// <returns>The order id</returns>
 public string PlaceOrder(ref Order order)
 {
     return order.Uid = PlaceOrder(order.Type, order.Tradeable, order.Unit, order.Dir, order.Qty, order.Price);
 }