dxFeed Graal Native SDK 3.12.0
Loading...
Searching...
No Matches
dxfg_v4_events.h
Go to the documentation of this file.
1// Copyright (c) 2026 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_V4_EVENTS_H
10#define DXFG_V4_EVENTS_H
11
12#include "dxfg_events.h"
13#include "dxfg_v4_common.h"
14#include "dxfg_v4_javac.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
26
29
32
35
38
41
44
47
50
53
56
59
62
65
68
71
74
77
80
83
86
89
92
95
98
101
104
107
110
113
116
119
122
125
128
131
134
137
140
143
146
149
152
155
158
161
165
169
173
191int32_t dxfg_v4_Symbol_new(graal_isolatethread_t *thread, const char *symbol, dxfg_v4_symbol_type_t symbolType,
192 DXFG_OUT dxfg_v4_symbol_t **newSymbol);
193
203
219int32_t dxfg_v4_EventType_new(graal_isolatethread_t *thread, const char *symbolName, dxfg_v4_event_clazz_t clazz,
221
234
245
255
266
286
300int32_t dxfg_v4_IndexedEventSource_new(graal_isolatethread_t *thread, const char *source,
302
318
329
341
364 graal_isolatethread_t *thread,
369 // end of V4_Events
371
372#ifdef __cplusplus
373}
374#endif
375
376#endif // DXFG_V4_EVENTS_H
dxFeed Graal Native SDK Events functions and types declarations
dxfg_indexed_event_source_type_t
The kind of an event source, see dxfg_indexed_event_source_t.
Definition dxfg_events.h:26
dxfg_symbol_type_t
The kind of a symbol, see dxfg_symbol_t.
Definition dxfg_events.h:66
dxfg_event_clazz_t
The class of an event: tells which structure an event (dxfg_event_type_t) is.
Definition dxfg_events.h:185
void(*) dxfg_ObservableSubscriptionChangeListener_function_subscriptionClosed(graal_isolatethread_t *thread, void *user_data)
Definition dxfg_events.h:1481
void(*) dxfg_ObservableSubscriptionChangeListener_function_symbolsRemoved(graal_isolatethread_t *thread, dxfg_symbol_list *symbols, void *user_data)
Definition dxfg_events.h:1471
void(*) dxfg_ObservableSubscriptionChangeListener_function_symbolsAdded(graal_isolatethread_t *thread, dxfg_symbol_list *symbols, void *user_data)
Definition dxfg_events.h:1456
The v4 functions of dxfg_common.h and the v4 names of its types (see the group Common (v4)).
The v4 functions of dxfg_javac.h and the v4 names of its types (see the group Javac (v4)).
struct __graal_isolatethread_t graal_isolatethread_t
The state of one thread attached to an isolate: the first parameter (thread) of the SDK functions.
Definition graal_isolate.h:60
#define DXFG_OUT
Definition dxfg_common.h:37
dxfg_event_clazz_list_t dxfg_v4_event_clazz_list
A list of event classes.
Definition dxfg_v4_endpoint.h:34
dxfg_profile_t dxfg_v4_profile_t
The profile event: a snapshot of the description of a security instrument.
Definition dxfg_v4_events.h:73
dxfg_trade_eth_t dxfg_v4_trade_eth_t
The TradeETH event: the last trade during the extended trading hours (ETH) and their volume and turno...
Definition dxfg_v4_events.h:100
dxfg_ObservableSubscriptionChangeListener_function_subscriptionClosed dxfg_v4_ObservableSubscriptionChangeListener_function_subscriptionClosed
Definition dxfg_v4_events.h:172
dxfg_trade_base_t dxfg_v4_trade_base_t
The common fields of the trade events: dxfg_trade_t and dxfg_trade_eth_t.
Definition dxfg_v4_events.h:94
dxfg_time_series_subscription_symbol_t dxfg_v4_time_series_subscription_symbol_t
The subscription to the time series of events from a time.
Definition dxfg_v4_events.h:55
int32_t dxfg_v4_IndexedEventSource_new(graal_isolatethread_t *thread, const char *source, DXFG_OUT dxfg_v4_indexed_event_source_t **newSource)
dxfg_indexed_event_subscription_symbol_t dxfg_v4_indexed_event_subscription_symbol_t
The subscription to the indexed events of one source.
Definition dxfg_v4_events.h:52
dxfg_text_configuration_t dxfg_v4_text_configuration_t
The text configuration event: a text with a version.
Definition dxfg_v4_events.h:139
dxfg_event_type_t dxfg_v4_event_type_t
The base structure of every event: the first field of all the event structures.
Definition dxfg_v4_events.h:64
dxfg_time_and_sale_t dxfg_v4_time_and_sale_t
The time and sale event: a trade or another market event with a price, in a continuous time slice.
Definition dxfg_v4_events.h:109
dxfg_quote_t dxfg_v4_quote_t
The quote event: a snapshot of the best bid and ask prices and sizes.
Definition dxfg_v4_events.h:70
dxfg_market_event_t dxfg_v4_market_event_t
The base structure of the market events: the event symbol and the event time.
Definition dxfg_v4_events.h:67
dxfg_text_message_t dxfg_v4_text_message_t
The text message event: a notification with a text.
Definition dxfg_v4_events.h:136
dxfg_indexed_event_source_t dxfg_v4_indexed_event_source_t
The source of indexed events.
Definition dxfg_v4_events.h:31
int32_t dxfg_v4_IndexedEventSource_release(graal_isolatethread_t *thread, dxfg_v4_indexed_event_source_t *source)
dxfg_candle_t dxfg_v4_candle_t
The candle event: OHLC prices and other information for a specific period.
Definition dxfg_v4_events.h:82
dxfg_analytic_order_t dxfg_v4_analytic_order_t
The analytic order event: an order with the iceberg information.
Definition dxfg_v4_events.h:124
dxfg_summary_t dxfg_v4_summary_t
The summary event: a snapshot of the trading session information (highs, lows and so on).
Definition dxfg_v4_events.h:76
dxfg_ObservableSubscriptionChangeListener_function_symbolsRemoved dxfg_v4_ObservableSubscriptionChangeListener_function_symbolsRemoved
Definition dxfg_v4_events.h:168
dxfg_otc_markets_order_t dxfg_v4_otc_markets_order_t
The OTC Markets order event: an order with the OTC Markets specific quote data.
Definition dxfg_v4_events.h:127
dxfg_symbol_list dxfg_v4_symbol_list
A list of symbols.
Definition dxfg_v4_events.h:58
dxfg_series_t dxfg_v4_series_t
The series event: a snapshot of the values computed for an option series of an underlying symbol.
Definition dxfg_v4_events.h:133
dxfg_message_t dxfg_v4_message_t
The message event: a notification with an application-specific attachment.
Definition dxfg_v4_events.h:106
int32_t dxfg_v4_Symbol_new(graal_isolatethread_t *thread, const char *symbol, dxfg_v4_symbol_type_t symbolType, DXFG_OUT dxfg_v4_symbol_t **newSymbol)
dxfg_nuam_time_and_sale_t dxfg_v4_nuam_time_and_sale_t
The Nuam time and sale event: a time and sale with the data of the Nuam Exchange.
Definition dxfg_v4_events.h:145
dxfg_nuam_order_t dxfg_v4_nuam_order_t
The Nuam order event: an order with the data of the Nuam Exchange matching engine.
Definition dxfg_v4_events.h:142
dxfg_theo_price_t dxfg_v4_theo_price_t
The theo price event: a snapshot of the theoretical option price computation.
Definition dxfg_v4_events.h:91
int32_t dxfg_v4_event_clazz_list_release(graal_isolatethread_t *thread, dxfg_v4_event_clazz_list *eventClazzes)
dxfg_observable_subscription_change_listener_t dxfg_v4_observable_subscription_change_listener_t
A handle of a Java ObservableSubscriptionChangeListener object; release it with dxfg_JavaObjectHandle...
Definition dxfg_v4_events.h:160
dxfg_wildcard_symbol_t dxfg_v4_wildcard_symbol_t
The wildcard symbol: the subscription to all symbols of an event type.
Definition dxfg_v4_events.h:46
dxfg_market_maker_t dxfg_v4_market_maker_t
The market maker event: a snapshot of the aggregated top quotes of a market participant.
Definition dxfg_v4_events.h:115
int32_t dxfg_v4_ObservableSubscriptionChangeListener_new(graal_isolatethread_t *thread, dxfg_v4_ObservableSubscriptionChangeListener_function_symbolsAdded function_symbolsAdded, dxfg_v4_ObservableSubscriptionChangeListener_function_symbolsRemoved function_symbolsRemoved, dxfg_v4_ObservableSubscriptionChangeListener_function_subscriptionClosed function_subscriptionClosed, void *user_data, DXFG_OUT dxfg_v4_observable_subscription_change_listener_t **listener)
dxfg_order_imbalance_t dxfg_v4_order_imbalance_t
The order imbalance event: the order book statistics during an auction.
Definition dxfg_v4_events.h:151
int32_t dxfg_v4_EventType_new(graal_isolatethread_t *thread, const char *symbolName, dxfg_v4_event_clazz_t clazz, DXFG_OUT dxfg_v4_event_type_t **event)
int32_t dxfg_v4_event_type_list_release(graal_isolatethread_t *thread, dxfg_v4_event_type_list *eventTypes)
dxfg_event_clazz_t dxfg_v4_event_clazz_t
The class of an event: tells which structure an event (dxfg_event_type_t) is.
Definition dxfg_v4_events.h:61
dxfg_ObservableSubscriptionChangeListener_function_symbolsAdded dxfg_v4_ObservableSubscriptionChangeListener_function_symbolsAdded
Definition dxfg_v4_events.h:164
dxfg_string_symbol_t dxfg_v4_string_symbol_t
A string symbol (for example, a ticker).
Definition dxfg_v4_events.h:43
dxfg_trade_t dxfg_v4_trade_t
The trade event: the last trade during the regular trading hours (RTH) and the volume and turnover of...
Definition dxfg_v4_events.h:97
dxfg_spread_order_t dxfg_v4_spread_order_t
The spread order event: a snapshot of the market depth of the spreads on an underlying symbol.
Definition dxfg_v4_events.h:130
int32_t dxfg_v4_Symbol_release(graal_isolatethread_t *thread, dxfg_v4_symbol_t *symbol)
int32_t dxfg_v4_indexed_event_source_list_release(graal_isolatethread_t *thread, dxfg_v4_indexed_event_source_list *list)
int32_t dxfg_v4_EventType_release(graal_isolatethread_t *thread, dxfg_v4_event_type_t *eventType)
dxfg_nuam_trade_t dxfg_v4_nuam_trade_t
The Nuam trade event: a trade with the trade statistics of the Nuam Exchange.
Definition dxfg_v4_events.h:148
dxfg_indexed_event_source_list dxfg_v4_indexed_event_source_list
A list of event sources.
Definition dxfg_v4_events.h:34
int32_t dxfg_v4_IndexedEventSource_newWithId(graal_isolatethread_t *thread, int32_t sourceId, DXFG_OUT dxfg_v4_indexed_event_source_t **source)
dxfg_order_base_t dxfg_v4_order_base_t
The common fields of the order events: dxfg_order_t, dxfg_spread_order_t and the structures built on ...
Definition dxfg_v4_events.h:118
dxfg_indexed_event_source_type_t dxfg_v4_indexed_event_source_type_t
The kind of an event source, see dxfg_indexed_event_source_t.
Definition dxfg_v4_events.h:28
dxfg_underlying_t dxfg_v4_underlying_t
The underlying event: a snapshot of the values computed for an option underlying symbol.
Definition dxfg_v4_events.h:88
dxfg_configuration_t dxfg_v4_configuration_t
The configuration event: an application-specific attachment with a version.
Definition dxfg_v4_events.h:103
int32_t dxfg_v4_IndexedEvent_getSource(graal_isolatethread_t *thread, dxfg_v4_event_type_t *eventType, DXFG_OUT dxfg_v4_indexed_event_source_t **source)
dxfg_symbol_t dxfg_v4_symbol_t
The base structure of every symbol: the first field of all the symbol structures.
Definition dxfg_v4_events.h:40
dxfg_event_type_list dxfg_v4_event_type_list
A list of events.
Definition dxfg_v4_events.h:154
dxfg_candle_symbol_t dxfg_v4_candle_symbol_t
A candle symbol.
Definition dxfg_v4_events.h:49
dxfg_daily_candle_t dxfg_v4_daily_candle_t
The daily candle event (deprecated in Java, use dxfg_candle_t): a candle with the same fields.
Definition dxfg_v4_events.h:85
dxfg_order_t dxfg_v4_order_t
The order event: a snapshot of the market depth (an order or a price level) of a symbol.
Definition dxfg_v4_events.h:121
dxfg_greeks_t dxfg_v4_greeks_t
The Greeks event: a snapshot of the option price, the Black-Scholes volatility and the greeks.
Definition dxfg_v4_events.h:79
int32_t dxfg_v4_symbol_list_release(graal_isolatethread_t *thread, dxfg_v4_symbol_list *symbols)
dxfg_symbol_type_t dxfg_v4_symbol_type_t
The kind of a symbol, see dxfg_symbol_t.
Definition dxfg_v4_events.h:37
dxfg_option_sale_t dxfg_v4_option_sale_t
The option sale event: a trade or another market event with a price for an option of an underlying.
Definition dxfg_v4_events.h:112
The analytic order event: an order with the iceberg information.
Definition dxfg_events.h:943
A candle symbol.
Definition dxfg_events.h:121
The candle event: OHLC prices and other information for a specific period.
Definition dxfg_events.h:455
The configuration event: an application-specific attachment with a version.
Definition dxfg_events.h:655
The daily candle event (deprecated in Java, use dxfg_candle_t): a candle with the same fields.
Definition dxfg_events.h:505
A list of event classes.
Definition dxfg_events.h:1223
A list of events.
Definition dxfg_events.h:1211
The base structure of every event: the first field of all the event structures.
Definition dxfg_events.h:234
The Greeks event: a snapshot of the option price, the Black-Scholes volatility and the greeks.
Definition dxfg_events.h:413
A list of event sources.
Definition dxfg_events.h:56
The source of indexed events.
Definition dxfg_events.h:42
The subscription to the indexed events of one source.
Definition dxfg_events.h:136
The base structure of the market events: the event symbol and the event time.
Definition dxfg_events.h:244
The market maker event: a snapshot of the aggregated top quotes of a market participant.
Definition dxfg_events.h:828
The message event: a notification with an application-specific attachment.
Definition dxfg_events.h:700
The Nuam order event: an order with the data of the Nuam Exchange matching engine.
Definition dxfg_events.h:1094
The Nuam time and sale event: a time and sale with the data of the Nuam Exchange.
Definition dxfg_events.h:1142
The Nuam trade event: a trade with the trade statistics of the Nuam Exchange.
Definition dxfg_events.h:1156
A handle of a Java ObservableSubscriptionChangeListener object; release it with dxfg_JavaObjectHandle...
Definition dxfg_events.h:1436
The option sale event: a trade or another market event with a price for an option of an underlying.
Definition dxfg_events.h:770
The common fields of the order events: dxfg_order_t, dxfg_spread_order_t and the structures built on ...
Definition dxfg_events.h:868
The order imbalance event: the order book statistics during an auction.
Definition dxfg_events.h:1178
The order event: a snapshot of the market depth (an order or a price level) of a symbol.
Definition dxfg_events.h:926
The OTC Markets order event: an order with the OTC Markets specific quote data.
Definition dxfg_events.h:964
The profile event: a snapshot of the description of a security instrument.
Definition dxfg_events.h:329
The quote event: a snapshot of the best bid and ask prices and sizes.
Definition dxfg_events.h:287
The series event: a snapshot of the values computed for an option series of an underlying symbol.
Definition dxfg_events.h:1003
The spread order event: a snapshot of the market depth of the spreads on an underlying symbol.
Definition dxfg_events.h:986
A string symbol (for example, a ticker).
Definition dxfg_events.h:97
The summary event: a snapshot of the trading session information (highs, lows and so on).
Definition dxfg_events.h:377
A list of symbols.
Definition dxfg_events.h:166
The base structure of every symbol: the first field of all the symbol structures.
Definition dxfg_events.h:89
The text configuration event: a text with a version.
Definition dxfg_events.h:1069
The text message event: a notification with a text.
Definition dxfg_events.h:1045
The theo price event: a snapshot of the theoretical option price computation.
Definition dxfg_events.h:552
The time and sale event: a trade or another market event with a price, in a continuous time slice.
Definition dxfg_events.h:719
The subscription to the time series of events from a time.
Definition dxfg_events.h:152
The common fields of the trade events: dxfg_trade_t and dxfg_trade_eth_t.
Definition dxfg_events.h:587
The TradeETH event: the last trade during the extended trading hours (ETH) and their volume and turno...
Definition dxfg_events.h:641
The trade event: the last trade during the regular trading hours (RTH) and the volume and turnover of...
Definition dxfg_events.h:629
The underlying event: a snapshot of the values computed for an option underlying symbol.
Definition dxfg_events.h:517
The wildcard symbol: the subscription to all symbols of an event type.
Definition dxfg_events.h:111