![]() |
MarketFactory 3.14.0 C# API
|
An interface for callbacks of a market-data client. More...
Public Member Functions | |
| void | onBatchComplete (int batchDefID, MFClient client) |
| Batch Complete Event: Called on completed batches. More... | |
| void | onConnect (MFClient client) |
| Called right after a reconnection attempt succeeds. More... | |
| void | onDateRollover (DateRollover dateRollover, MFClient client) |
| Date Rollover Event: Called on new date rollover upate. More... | |
| void | onDisconnect (MFClient client) |
| Called when connection is broken unexpectedly; this signals that the dispatcher is about to attempt to reconnect and if necessary fail over to the secondary server, if one has been provided. More... | |
| void | onDropCopy (DropCopy dropCopy, MFClient client) |
| Trading Event: Callback that gets invoked on DropCopy events. More... | |
| void | onEventReport (EventReport eventReport, MFClient client) |
| Report Event: Called on new event report. More... | |
| void | onHeartbeat (Heartbeat heartbeat, MFClient client) |
| Called with fast heartbeats containing feed status information. More... | |
| void | onMarketData (MarketView marketData, MFClient client) |
| Market Data Event: Called on new market-data updates. More... | |
| void | onOrderCanceled (OrderCanceled orderCanceled, MFClient client) |
| Trading Event: Callback that gets invoked when an Order is successfully canceled. More... | |
| void | onOrderCancelRejected (OrderCancelRejected orderCancelRejected, MFClient client) |
| Trading Event: Callback that gets invoked when an Order cancel is rejected. More... | |
| void | onOrderDone (OrderDone orderDone, MFClient client) |
| Trading Event: Callback that gets invoked when an Order is finished. More... | |
| void | onOrderReceived (OrderReceived orderReceived, MFClient client) |
| Trading Event: Callback that gets invoked when an Order is received by the server. More... | |
| void | onOrderRejected (OrderRejected orderRejected, MFClient client) |
| Trading Event: Callback that gets invoked when an Order is rejected. More... | |
| void | onOrderSubmitted (OrderSubmitted orderSubmitted, MFClient client) |
| Trading Event: Callback that gets invoked when an Order is successfully submitted. More... | |
| void | onReplayDone (ReplayDone replayDone, MFClient client) |
| Replay Event: Callback that gets invoked after replay request has been fully processed. More... | |
| void | onStart (MFClient client) |
| Called right after we start dispatching events, once per call to client.run(). More... | |
| void | onStop (MFClient client) |
| Called right before we stop dispatching events and return from client.run(). More... | |
| void | onSubscriptionEvent (SubscriptionEvent subscriptionEvent, MFClient client) |
| Subscription Event: Called when the status of the subscription changes. More... | |
| void | onTradeCapture (TradeCapture tradeCapture, MFClient client) |
| Trading Event: Callback that gets invoked on TradeCapture events. More... | |
An interface for callbacks of a market-data client.
| void onStart | ( | MFClient | client | ) |
Called right after we start dispatching events, once per call to client.run().
| void onStop | ( | MFClient | client | ) |
Called right before we stop dispatching events and return from client.run().
| void onDisconnect | ( | MFClient | client | ) |
Called when connection is broken unexpectedly; this signals that the dispatcher is about to attempt to reconnect and if necessary fail over to the secondary server, if one has been provided.
| void onConnect | ( | MFClient | client | ) |
Called right after a reconnection attempt succeeds.
If reconnection failed, the run() dispatcher will return with an error code.
(Note: this is only used for failover. During connect()/close() there is no active dispatcher, so there is no handler, so no corresponding callback either.)
| void onHeartbeat | ( | Heartbeat | heartbeat, |
| MFClient | client | ||
| ) |
Called with fast heartbeats containing feed status information.
| void onSubscriptionEvent | ( | SubscriptionEvent | subscriptionEvent, |
| MFClient | client | ||
| ) |
Subscription Event: Called when the status of the subscription changes.
| void onMarketData | ( | MarketView | marketData, |
| MFClient | client | ||
| ) |
Market Data Event: Called on new market-data updates.
| void onEventReport | ( | EventReport | eventReport, |
| MFClient | client | ||
| ) |
Report Event: Called on new event report.
| void onDateRollover | ( | DateRollover | dateRollover, |
| MFClient | client | ||
| ) |
Date Rollover Event: Called on new date rollover upate.
| void onBatchComplete | ( | int | batchDefID, |
| MFClient | client | ||
| ) |
Batch Complete Event: Called on completed batches.
| void onOrderReceived | ( | OrderReceived | orderReceived, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked when an Order is received by the server.
| void onOrderRejected | ( | OrderRejected | orderRejected, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked when an Order is rejected.
| void onOrderSubmitted | ( | OrderSubmitted | orderSubmitted, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked when an Order is successfully submitted.
| void onOrderCanceled | ( | OrderCanceled | orderCanceled, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked when an Order is successfully canceled.
| void onOrderCancelRejected | ( | OrderCancelRejected | orderCancelRejected, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked when an Order cancel is rejected.
Trading Event: Callback that gets invoked on DropCopy events.
| void onTradeCapture | ( | TradeCapture | tradeCapture, |
| MFClient | client | ||
| ) |
Trading Event: Callback that gets invoked on TradeCapture events.
Trading Event: Callback that gets invoked when an Order is finished.
| void onReplayDone | ( | ReplayDone | replayDone, |
| MFClient | client | ||
| ) |
Replay Event: Callback that gets invoked after replay request has been fully processed.