dxFeed C API  6.0.1
dxFeed C API library intended to provide market data access for DX clients
DXFeed.h
Go to the documentation of this file.
1 /*
2  * The contents of this file are subject to the Mozilla Public License Version
3  * 1.1 (the "License"); you may not use this file except in compliance with
4  * the License. You may obtain a copy of the License at
5  * http://www.mozilla.org/MPL/
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
9  * for the specific language governing rights and limitations under the
10  * License.
11  *
12  * The Initial Developer of the Original Code is dxFeed Solutions DE GmbH.
13  * Portions created by the Initial Developer are Copyright (C) 2010
14  * the Initial Developer. All Rights Reserved.
15  *
16  * Contributor(s):
17  *
18  */
19 
90 #ifndef DXFEED_API_H_INCLUDED
91 #define DXFEED_API_H_INCLUDED
92 
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94  #ifdef DXFEED_EXPORTS
95  #define DXFEED_API __declspec(dllexport)
96  #elif DXFEED_IMPORTS
97  #define DXFEED_API __declspec(dllimport)
98  #elif __cplusplus
99  #define DXFEED_API extern "C"
100  #else
101  #define DXFEED_API
102  #endif
103 #endif // DOXYGEN_SHOULD_SKIP_THIS
104 
105 #ifndef OUT
106  #ifndef DOXYGEN_SHOULD_SKIP_THIS
107  #define OUT
108  #endif // DOXYGEN_SHOULD_SKIP_THIS
109 #endif /* OUT */
110 
111 #include "DXTypes.h"
112 #include "EventData.h"
113 
114 /* -------------------------------------------------------------------------- */
115 /*
116  * DXFeed API function return value codes
117  */
118 /* -------------------------------------------------------------------------- */
119 
125 #define DXF_SUCCESS 1
126 
131 #define DXF_FAILURE 0
132 
133 /* -------------------------------------------------------------------------- */
134 /*
135  * DXFeed API generic types
136  */
137 /* -------------------------------------------------------------------------- */
138 
146 typedef void (*dxf_conn_termination_notifier_t) (dxf_connection_t connection, void* user_data);
147 
155 typedef void (*dxf_conn_status_notifier_t) (dxf_connection_t connection,
156  dxf_connection_status_t old_status,
157  dxf_connection_status_t new_status,
158  void* user_data);
159 
160 /* the low level callback types, required in case some thread-specific initialization must be performed
161  on the client side on the thread creation/destruction */
170 typedef int (*dxf_socket_thread_creation_notifier_t) (dxf_connection_t connection, void* user_data);
171 
180 typedef void (*dxf_socket_thread_destruction_notifier_t) (dxf_connection_t connection, void* user_data);
181 
182 /* -------------------------------------------------------------------------- */
183 /*
184  * DXFeed C API functions
185 
186  * All functions return DXF_SUCCESS on success and DXF_FAILURE if some error
187  * has occurred. Use 'dxf_get_last_error' to retrieve the error code
188  * and description.
189  */
190 /* -------------------------------------------------------------------------- */
191 
222 DXFEED_API ERRORCODE dxf_create_connection (const char* address,
224  dxf_conn_status_notifier_t conn_status_notifier,
227  void* user_data,
228  OUT dxf_connection_t* connection);
229 
264 DXFEED_API ERRORCODE dxf_create_connection_auth_basic(const char* address,
265  const char* user,
266  const char* password,
268  dxf_conn_status_notifier_t conn_status_notifier,
271  void* user_data,
272  OUT dxf_connection_t* connection);
273 
306 DXFEED_API ERRORCODE dxf_create_connection_auth_bearer(const char* address,
307  const char* token,
309  dxf_conn_status_notifier_t conn_status_notifier,
312  void* user_data,
313  OUT dxf_connection_t* connection);
314 
349 DXFEED_API ERRORCODE dxf_create_connection_auth_custom(const char* address,
350  const char* authscheme,
351  const char* authdata,
353  dxf_conn_status_notifier_t conn_status_notifier,
356  void* user_data,
357  OUT dxf_connection_t* connection);
358 
371 DXFEED_API ERRORCODE dxf_close_connection (dxf_connection_t connection);
372 
389 DXFEED_API ERRORCODE dxf_create_subscription (dxf_connection_t connection, int event_types,
390  OUT dxf_subscription_t* subscription);
391 
409 DXFEED_API ERRORCODE dxf_create_subscription_with_flags(dxf_connection_t connection, int event_types,
410  dx_event_subscr_flag subscr_flags,
411  OUT dxf_subscription_t* subscription);
412 
430 DXFEED_API ERRORCODE dxf_create_subscription_timed(dxf_connection_t connection, int event_types,
431  dxf_long_t time,
432  OUT dxf_subscription_t* subscription);
433 
452 DXFEED_API ERRORCODE dxf_create_subscription_timed_with_flags(dxf_connection_t connection, int event_types,
453  dxf_long_t time, dx_event_subscr_flag subscr_flags,
454  OUT dxf_subscription_t* subscription);
455 
468 DXFEED_API ERRORCODE dxf_close_subscription (dxf_subscription_t subscription);
469 
485 DXFEED_API ERRORCODE dxf_add_symbol (dxf_subscription_t subscription, dxf_const_string_t symbol);
486 
505 DXFEED_API ERRORCODE dxf_add_symbols (dxf_subscription_t subscription, dxf_const_string_t* symbols, int symbol_count);
506 
520 DXFEED_API ERRORCODE dxf_add_candle_symbol(dxf_subscription_t subscription, dxf_candle_attributes_t candle_attributes);
521 
535 DXFEED_API ERRORCODE dxf_remove_candle_symbol(dxf_subscription_t subscription, dxf_candle_attributes_t candle_attributes);
536 
552 DXFEED_API ERRORCODE dxf_remove_symbol (dxf_subscription_t subscription, dxf_const_string_t symbol);
553 
571 DXFEED_API ERRORCODE dxf_remove_symbols (dxf_subscription_t subscription, dxf_const_string_t* symbols, int symbol_count);
572 
589 DXFEED_API ERRORCODE dxf_get_symbols (dxf_subscription_t subscription, OUT dxf_const_string_t** symbols, OUT int* symbol_count);
590 
606 DXFEED_API ERRORCODE dxf_set_symbols (dxf_subscription_t subscription, dxf_const_string_t* symbols, int symbol_count);
607 
620 DXFEED_API ERRORCODE dxf_clear_symbols (dxf_subscription_t subscription);
621 
637 DXFEED_API ERRORCODE dxf_attach_event_listener (dxf_subscription_t subscription, dxf_event_listener_t event_listener,
638  void* user_data);
639 
653 DXFEED_API ERRORCODE dxf_detach_event_listener (dxf_subscription_t subscription, dxf_event_listener_t event_listener);
654 
672  dxf_event_listener_v2_t event_listener,
673  void* user_data);
674 
689  dxf_event_listener_v2_t event_listener);
690 
704 DXFEED_API ERRORCODE dxf_get_subscription_event_types (dxf_subscription_t subscription, OUT int* event_types);
705 
722 DXFEED_API ERRORCODE dxf_get_last_event (dxf_connection_t connection, int event_type, dxf_const_string_t symbol,
723  OUT dxf_event_data_t* event_data);
741 DXFEED_API ERRORCODE dxf_get_last_error (OUT int* error_code, OUT dxf_const_string_t* error_descr);
742 
761 DXFEED_API ERRORCODE dxf_initialize_logger(const char* file_name, int rewrite_file, int show_timezone_info, int verbose);
762 
783 DXFEED_API ERRORCODE dxf_initialize_logger_v2(const char* file_name, int rewrite_file, int show_timezone_info, int verbose, int log_data_transfer);
784 
800 DXFEED_API ERRORCODE dxf_set_order_source(dxf_subscription_t subscription, const char* source);
801 
817 DXFEED_API ERRORCODE dxf_add_order_source(dxf_subscription_t subscription, const char* source);
818 
862  dxf_char_t exchange_code,
863  dxf_double_t period_value,
868  dxf_double_t price_level,
869  OUT dxf_candle_attributes_t* candle_attributes);
870 
881 
912 DXFEED_API ERRORCODE dxf_create_snapshot(dxf_connection_t connection, dx_event_id_t event_id,
913  dxf_const_string_t symbol, const char* source,
914  dxf_long_t time, OUT dxf_snapshot_t* snapshot);
915 
940  dxf_const_string_t symbol, const char* source,
941  dxf_long_t time, OUT dxf_snapshot_t* snapshot);
942 
960  dxf_candle_attributes_t candle_attributes,
961  dxf_long_t time, OUT dxf_snapshot_t* snapshot);
962 
975 DXFEED_API ERRORCODE dxf_close_snapshot(dxf_snapshot_t snapshot);
976 
993  dxf_snapshot_listener_t snapshot_listener,
994  void* user_data);
995 
1010  dxf_snapshot_listener_t snapshot_listener);
1011 
1028  dxf_snapshot_inc_listener_t snapshot_listener,
1029  void* user_data);
1030 
1045  dxf_snapshot_inc_listener_t snapshot_listener);
1046 
1061 DXFEED_API ERRORCODE dxf_get_snapshot_symbol(dxf_snapshot_t snapshot, OUT dxf_string_t* symbol);
1062 
1083  dxf_const_string_t symbol, const char** sources,
1084  OUT dxf_price_level_book_t* book);
1085 
1099 
1116  dxf_price_level_book_listener_t book_listener,
1117  void* user_data);
1118 
1133  dxf_price_level_book_listener_t book_listener);
1134 
1150 DXFEED_API ERRORCODE dxf_create_regional_book(dxf_connection_t connection,
1151  dxf_const_string_t symbol,
1152  OUT dxf_regional_book_t* book);
1153 
1167 
1183  dxf_price_level_book_listener_t book_listener,
1184  void* user_data);
1185 
1200  dxf_price_level_book_listener_t book_listener);
1201 
1218  void* user_data);
1219 
1235 
1247 DXFEED_API ERRORCODE dxf_write_raw_data(dxf_connection_t connection, const char* raw_file_name);
1248 
1268  OUT dxf_property_item_t** properties,
1269  OUT int* count);
1270 
1284 DXFEED_API ERRORCODE dxf_free_connection_properties_snapshot(dxf_property_item_t* properties, int count);
1285 
1303 DXFEED_API ERRORCODE dxf_get_current_connected_address(dxf_connection_t connection, OUT char** address);
1304 
1320 
1330 DXFEED_API ERRORCODE dxf_free(void* pointer);
1331 
1332 #endif /* DXFEED_API_H_INCLUDED */
DXFEED_API ERRORCODE dxf_write_raw_data(dxf_connection_t connection, const char *raw_file_name)
Add dumping of incoming traffic into specific file.
DXFEED_API ERRORCODE dxf_create_connection_auth_custom(const char *address, const char *authscheme, const char *authdata, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, void *user_data, OUT dxf_connection_t *connection)
Creates connection with the specified parameters and custom described authorization.
DXFEED_API ERRORCODE dxf_close_subscription(dxf_subscription_t subscription)
Closes a subscription.
DXFEED_API ERRORCODE dxf_attach_event_listener_v2(dxf_subscription_t subscription, dxf_event_listener_v2_t event_listener, void *user_data)
Attaches a extended listener callback to the subscription.
DXFEED_API ERRORCODE dxf_initialize_logger(const char *file_name, int rewrite_file, int show_timezone_info, int verbose)
Initializes the internal logger.
DXFEED_API ERRORCODE dxf_detach_regional_book_listener(dxf_regional_book_t book, dxf_price_level_book_listener_t book_listener)
Detaches a listener from the regional book.
DXFEED_API ERRORCODE dxf_detach_regional_book_listener_v2(dxf_regional_book_t book, dxf_regional_quote_listener_t listener)
Detaches a listener from the regional book.
DXFEED_API ERRORCODE dxf_create_connection_auth_basic(const char *address, const char *user, const char *password, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, void *user_data, OUT dxf_connection_t *connection)
Creates connection with the specified parameters and basic authorization.
DXFEED_API ERRORCODE dxf_get_last_error(OUT int *error_code, OUT dxf_const_string_t *error_descr)
Retrieves the last error info.
void * dxf_candle_attributes_t
Candle attributes.
Definition: DXTypes.h:38
DXFEED_API ERRORCODE dxf_detach_snapshot_inc_listener(dxf_snapshot_t snapshot, dxf_snapshot_inc_listener_t snapshot_listener)
Detaches a listener from the snapshot.
DXFEED_API ERRORCODE dxf_detach_price_level_book_listener(dxf_price_level_book_t book, dxf_price_level_book_listener_t book_listener)
Detaches a listener from the snapshot.
DXFEED_API ERRORCODE dxf_create_subscription_timed_with_flags(dxf_connection_t connection, int event_types, dxf_long_t time, dx_event_subscr_flag subscr_flags, OUT dxf_subscription_t *subscription)
Creates a timed subscription with the specified parameters and the subscription flags.
dxf_connection_status_t
Connection status.
Definition: DXTypes.h:144
DXFEED_API ERRORCODE dxf_close_regional_book(dxf_regional_book_t book)
Closes a regional book.
void * dxf_connection_t
Connection.
Definition: DXTypes.h:35
DXFEED_API ERRORCODE dxf_attach_event_listener(dxf_subscription_t subscription, dxf_event_listener_t event_listener, void *user_data)
Attaches a listener callback to the subscription.
DXFEED_API ERRORCODE dxf_get_connection_properties_snapshot(dxf_connection_t connection, OUT dxf_property_item_t **properties, OUT int *count)
Retrieves the array of key-value pairs (properties) for specified connection.
void(* dxf_snapshot_inc_listener_t)(const dxf_snapshot_data_ptr_t snapshot_data, int new_snapshot, void *user_data)
Incremental Snapshot listener prototype.
Definition: EventData.h:677
DXFEED_API ERRORCODE dxf_set_order_source(dxf_subscription_t subscription, const char *source)
Clear current sources and add new one to subscription.
int ERRORCODE
Error code.
Definition: DXTypes.h:29
int64_t dxf_long_t
Long.
Definition: DXTypes.h:108
DXFEED_API ERRORCODE dxf_create_candle_snapshot(dxf_connection_t connection, dxf_candle_attributes_t candle_attributes, dxf_long_t time, OUT dxf_snapshot_t *snapshot)
Creates Candle snapshot with the specified parameters.
DXFEED_API ERRORCODE dxf_get_last_event(dxf_connection_t connection, int event_type, dxf_const_string_t symbol, OUT dxf_event_data_t *event_data)
Retrieves the last event data of the specified symbol and type for the connection.
void * dxf_event_data_t
Event data.
Definition: EventData.h:161
void(* dxf_snapshot_listener_t)(const dxf_snapshot_data_ptr_t snapshot_data, void *user_data)
Snapshot listener prototype.
Definition: EventData.h:661
DXFEED_API ERRORCODE dxf_add_order_source(dxf_subscription_t subscription, const char *source)
Add a new source to subscription.
DXFEED_API ERRORCODE dxf_remove_symbols(dxf_subscription_t subscription, dxf_const_string_t *symbols, int symbol_count)
Removes several symbols from the subscription.
DXFEED_API ERRORCODE dxf_create_subscription_with_flags(dxf_connection_t connection, int event_types, dx_event_subscr_flag subscr_flags, OUT dxf_subscription_t *subscription)
Creates a subscription with the specified parameters and the subscription flags.
DXFEED_API ERRORCODE dxf_clear_symbols(dxf_subscription_t subscription)
Removes all the symbols from the subscription.
DXFEED_API ERRORCODE dxf_create_regional_book(dxf_connection_t connection, dxf_const_string_t symbol, OUT dxf_regional_book_t *book)
Creates Regional book with the specified parameters.
DXFEED_API ERRORCODE dxf_attach_snapshot_listener(dxf_snapshot_t snapshot, dxf_snapshot_listener_t snapshot_listener, void *user_data)
Attaches a listener callback to the snapshot.
DXFEED_API ERRORCODE dxf_create_snapshot(dxf_connection_t connection, dx_event_id_t event_id, dxf_const_string_t symbol, const char *source, dxf_long_t time, OUT dxf_snapshot_t *snapshot)
Creates snapshot with the specified parameters.
DXFEED_API ERRORCODE dxf_detach_event_listener(dxf_subscription_t subscription, dxf_event_listener_t event_listener)
Detaches a listener from the subscription.
DXFEED_API ERRORCODE dxf_free_connection_properties_snapshot(dxf_property_item_t *properties, int count)
Frees memory allocated during dxf_get_connection_properties_snapshot function execution.
DXFEED_API ERRORCODE dxf_attach_price_level_book_listener(dxf_price_level_book_t book, dxf_price_level_book_listener_t book_listener, void *user_data)
Attaches a listener callback to the price level book.
void * dxf_price_level_book_t
Price level book.
Definition: DXTypes.h:44
dxf_candle_session_attribute_t
Candle session attribute.
Definition: EventData.h:458
DXFEED_API ERRORCODE dxf_create_connection_auth_bearer(const char *address, const char *token, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, void *user_data, OUT dxf_connection_t *connection)
Creates connection with the specified parameters and token authorization.
DXFEED_API ERRORCODE dxf_get_symbols(dxf_subscription_t subscription, OUT dxf_const_string_t **symbols, OUT int *symbol_count)
Retrieves the list of symbols currently added to the subscription.
dxf_char_t * dxf_string_t
String.
Definition: DXTypes.h:120
void(* dxf_conn_termination_notifier_t)(dxf_connection_t connection, void *user_data)
Connection termination notification callback type.
Definition: DXFeed.h:146
DXFEED_API ERRORCODE dxf_create_connection(const char *address, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, void *user_data, OUT dxf_connection_t *connection)
Creates connection with the specified parameters.
void * dxf_snapshot_t
Snapshot.
Definition: DXTypes.h:41
void * dxf_subscription_t
Subscription.
Definition: DXTypes.h:32
DXFEED_API ERRORCODE dxf_create_price_level_book(dxf_connection_t connection, dxf_const_string_t symbol, const char **sources, OUT dxf_price_level_book_t *book)
Creates Price Level book with the specified parameters.
DXFEED_API ERRORCODE dxf_create_subscription(dxf_connection_t connection, int event_types, OUT dxf_subscription_t *subscription)
Creates a subscription with the specified parameters.
dx_event_subscr_flag
Definition: EventData.h:107
DXFEED_API ERRORCODE dxf_close_connection(dxf_connection_t connection)
Closes a connection.
dx_event_id_t
Event ID.
Definition: EventData.h:48
dxf_candle_price_attribute_t
Candle price attribute.
Definition: EventData.h:445
DXFEED_API ERRORCODE dxf_attach_snapshot_inc_listener(dxf_snapshot_t snapshot, dxf_snapshot_inc_listener_t snapshot_listener, void *user_data)
Attaches an incremental listener callback to the snapshot.
DXFEED_API ERRORCODE dxf_attach_regional_book_listener_v2(dxf_regional_book_t book, dxf_regional_quote_listener_t listener, void *user_data)
Attaches a listener callback to regional book.
DXFEED_API ERRORCODE dxf_close_snapshot(dxf_snapshot_t snapshot)
Closes a snapshot.
Property item.
Definition: DXTypes.h:138
DXFEED_API ERRORCODE dxf_delete_candle_symbol_attributes(dxf_candle_attributes_t candle_attributes)
Free memory allocated by dxf_initialize_candle_symbol_attributes(...) function.
DXFEED_API ERRORCODE dxf_detach_event_listener_v2(dxf_subscription_t subscription, dxf_event_listener_v2_t event_listener)
Detaches a extended listener from the subscription.
DXFEED_API ERRORCODE dxf_add_candle_symbol(dxf_subscription_t subscription, dxf_candle_attributes_t candle_attributes)
Adds a candle symbol to the subscription.
DXFEED_API ERRORCODE dxf_create_order_snapshot(dxf_connection_t connection, dxf_const_string_t symbol, const char *source, dxf_long_t time, OUT dxf_snapshot_t *snapshot)
Creates Order snapshot with the specified parameters.
wchar_t dxf_char_t
Char.
Definition: DXTypes.h:89
DXFEED_API ERRORCODE dxf_get_current_connection_status(dxf_connection_t connection, OUT dxf_connection_status_t *status)
Retrieves the current connection status.
DXFEED_API ERRORCODE dxf_free(void *pointer)
Frees memory allocated in API functions from this module.
DXFEED_API ERRORCODE dxf_create_candle_symbol_attributes(dxf_const_string_t base_symbol, dxf_char_t exchange_code, dxf_double_t period_value, dxf_candle_type_period_attribute_t period_type, dxf_candle_price_attribute_t price, dxf_candle_session_attribute_t session, dxf_candle_alignment_attribute_t alignment, dxf_double_t price_level, OUT dxf_candle_attributes_t *candle_attributes)
API that allows user to create candle symbol attributes.
DXFEED_API ERRORCODE dxf_create_subscription_timed(dxf_connection_t connection, int event_types, dxf_long_t time, OUT dxf_subscription_t *subscription)
Creates a timed subscription with the specified parameters.
DXFEED_API ERRORCODE dxf_close_price_level_book(dxf_price_level_book_t book)
Closes a price level book.
void(* dxf_conn_status_notifier_t)(dxf_connection_t connection, dxf_connection_status_t old_status, dxf_connection_status_t new_status, void *user_data)
connection Status notification callback type
Definition: DXFeed.h:155
dxFeed C API event data structures declarations
DXFEED_API ERRORCODE dxf_get_subscription_event_types(dxf_subscription_t subscription, OUT int *event_types)
Retrieves the subscription event types.
int(* dxf_socket_thread_creation_notifier_t)(dxf_connection_t connection, void *user_data)
The low level callback type, required in case some thread-specific initialization must be performed o...
Definition: DXFeed.h:170
dxf_candle_alignment_attribute_t
Candle alignment attribute.
Definition: EventData.h:489
DXFEED_API ERRORCODE dxf_get_current_connected_address(dxf_connection_t connection, OUT char **address)
Retrieves the null-terminated string with current connected address in format <host>:<port>.
DXFEED_API ERRORCODE dxf_remove_candle_symbol(dxf_subscription_t subscription, dxf_candle_attributes_t candle_attributes)
Remove a candle symbol from the subscription.
DXFEED_API ERRORCODE dxf_remove_symbol(dxf_subscription_t subscription, dxf_const_string_t symbol)
Removes a single symbol from the subscription.
dxFeed C API types declarations
DXFEED_API ERRORCODE dxf_set_symbols(dxf_subscription_t subscription, dxf_const_string_t *symbols, int symbol_count)
Sets the symbols for the subscription.
DXFEED_API ERRORCODE dxf_add_symbol(dxf_subscription_t subscription, dxf_const_string_t symbol)
Adds a single symbol to the subscription.
DXFEED_API ERRORCODE dxf_attach_regional_book_listener(dxf_regional_book_t book, dxf_price_level_book_listener_t book_listener, void *user_data)
Attaches a listener callback to regional book.
void(* dxf_event_listener_v2_t)(int event_type, dxf_const_string_t symbol_name, const dxf_event_data_t *data, int data_count, const dxf_event_params_t *event_params, void *user_data)
Event listener prototype v2.
Definition: EventData.h:545
void(* dxf_event_listener_t)(int event_type, dxf_const_string_t symbol_name, const dxf_event_data_t *data, int data_count, void *user_data)
Event listener prototype.
Definition: EventData.h:540
void(* dxf_price_level_book_listener_t)(const dxf_price_level_book_data_ptr_t book, void *user_data)
Price Level listener prototype.
Definition: EventData.h:716
DXFEED_API ERRORCODE dxf_detach_snapshot_listener(dxf_snapshot_t snapshot, dxf_snapshot_listener_t snapshot_listener)
Detaches a listener from the snapshot.
const dxf_char_t * dxf_const_string_t
Const String.
Definition: DXTypes.h:123
void(* dxf_regional_quote_listener_t)(dxf_const_string_t symbol, const dxf_quote_t *quotes, int count, void *user_data)
Regional quote listener prototype.
Definition: EventData.h:729
double dxf_double_t
Double.
Definition: DXTypes.h:114
DXFEED_API ERRORCODE dxf_add_symbols(dxf_subscription_t subscription, dxf_const_string_t *symbols, int symbol_count)
Adds several symbols to the subscription.
DXFEED_API ERRORCODE dxf_get_snapshot_symbol(dxf_snapshot_t snapshot, OUT dxf_string_t *symbol)
Retrieves the symbol currently added to the snapshot subscription.
void * dxf_regional_book_t
Regional book.
Definition: DXTypes.h:47
void(* dxf_socket_thread_destruction_notifier_t)(dxf_connection_t connection, void *user_data)
The low level callback type, required in case some thread-specific initialization must be performed o...
Definition: DXFeed.h:180
DXFEED_API ERRORCODE dxf_initialize_logger_v2(const char *file_name, int rewrite_file, int show_timezone_info, int verbose, int log_data_transfer)
Initializes the internal logger with data transfer logging.
dxf_candle_type_period_attribute_t
Candle type period attribute.
Definition: EventData.h:468