Ejemplo n.º 1
0
 protected void NotifyChildOrderEvent(BfxTransactionEventType oet, int childOrderIndex, BfChildOrderEvent coe)
 {
     if (Order.Children.Length == 1)
     {
         Market.InvokeOrderTransactionEvent(this, new BfxOrderTransactionEventArgs(Order.Children[0])
         {
             EventType = oet,
             State     = State,
             Time      = coe.EventDate,
             Parameter = coe,
         });
     }
     else
     {
         Market.InvokeOrderTransactionEvent(this, new BfxOrderTransactionEventArgs(Order)
         {
             EventType       = BfxTransactionEventType.ChildOrderEvent,
             State           = State,
             Time            = coe.EventDate,
             Parameter       = coe,
             ChildEventType  = oet,
             ChildOrderIndex = childOrderIndex,
         });
     }
 }
Ejemplo n.º 2
0
 protected void NotifyEvent(BfxTransactionEventType oet, DateTime time, object?parameter)
 {
     Market.InvokeOrderTransactionEvent(this, new BfxOrderTransactionEventArgs(Order)
     {
         EventType = oet,
         State     = State,
         Time      = time,
         Parameter = parameter,
     });
 }
Ejemplo n.º 3
0
 protected void NotifyEvent(BfxTransactionEventType oet, BfParentOrderEvent poe) => NotifyEvent(oet, poe.EventDate, poe);
Ejemplo n.º 4
0
 protected void NotifyEvent(BfxTransactionEventType oet, BfChildOrderEvent coe) => NotifyEvent(oet, coe.EventDate, coe);
Ejemplo n.º 5
0
 protected void NotifyEvent(BfxTransactionEventType oet) => NotifyEvent(oet, Market.ServerTime, null);