Beispiel #1
0
 private void RoYu8jI0tu(BinaryWriter obj0, BrokerOrder obj1)
 {
     obj0.Write(obj1.Currency);
     obj0.Write(obj1.OrderID);
     obj0.Write(obj1.OrderQty);
     obj0.Write(obj1.OrdStatus);
     obj0.Write(obj1.OrdType);
     obj0.Write(obj1.Price);
     obj0.Write(obj1.SecurityExchange);
     obj0.Write(obj1.SecurityType);
     obj0.Write(obj1.Side);
     obj0.Write(obj1.StopPx);
     obj0.Write(obj1.Symbol);
     BrokerOrderField[] customFields = obj1.GetCustomFields();
     obj0.Write(customFields.Length);
     foreach (BrokerOrderField brokerOrderField in customFields)
     {
         obj0.Write(brokerOrderField.Name);
         obj0.Write(brokerOrderField.Value);
     }
 }
Beispiel #2
0
 public void AddOrder(BrokerOrder order)
 {
     this.Lwfh2mMr9L.Add(order);
 }
Beispiel #3
0
 private BrokerOrder vHxhvWlydv(BinaryReader obj0)
 {
     BrokerOrder brokerOrder = new BrokerOrder();
     brokerOrder.Currency = obj0.ReadString();
     brokerOrder.OrderID = obj0.ReadString();
     brokerOrder.OrderQty = obj0.ReadDouble();
     brokerOrder.OrdStatus = obj0.ReadChar();
     brokerOrder.OrdType = obj0.ReadChar();
     brokerOrder.Price = obj0.ReadDouble();
     brokerOrder.SecurityExchange = obj0.ReadString();
     brokerOrder.SecurityType = obj0.ReadString();
     brokerOrder.Side = obj0.ReadChar();
     brokerOrder.StopPx = obj0.ReadDouble();
     brokerOrder.Symbol = obj0.ReadString();
     int num = obj0.ReadInt32();
     for (int index = 0; index < num; ++index)
     {
         string name = obj0.ReadString();
         string str = obj0.ReadString();
         brokerOrder.AddCustomField(name, str);
     }
     return brokerOrder;
 }
Beispiel #4
0
 public void AddOrder(BrokerOrder order)
 {
     this.Lwfh2mMr9L.Add(order);
 }