Delegate TradeHandler
Encapsulates a method which is called when new trade was received.
Namespace: OnixS.CmeMdHandler
Assembly: OnixS.CmeMdHandler.dll
Syntax
public delegate void TradeHandler(Handler handler, int tradeIndex, ISecurityDefinition security, decimal price, int size, int numberOfOrders, DateTime sendingTime, TradeUpdateAction updateAction, Side aggressorSide, uint packetSeqNum, DateTime tradeDate, uint reportSequence, IFieldSet dataBlocks);
Parameters
Type | Name | Description |
---|---|---|
Handler | handler | Handler which caused event. |
System.Int32 | tradeIndex | Trade index. |
ISecurityDefinition | security | Security. |
System.Decimal | price | Trade price. |
System.Int32 | size | Trade size. |
System.Int32 | numberOfOrders | Number of orders. |
DateTime | sendingTime | Packet sending time. |
TradeUpdateAction | updateAction | Trade update action. |
Side | aggressorSide | Aggressor side. |
System.UInt32 | packetSeqNum | Packet sequence number. |
DateTime | tradeDate | Trade date. |
System.UInt32 | reportSequence | Report sequence number. |
IFieldSet | dataBlocks | Fieldset which contains event data. |