dxFeed .Net API  5.13.0
dxFeed .Net API library intended to provide market data access for DX clients
Package Functions | Private Member Functions | Private Attributes
com.dxfeed.native.api.C64 Class Reference
Inheritance diagram for com.dxfeed.native.api.C64:
[legend]
Collaboration diagram for com.dxfeed.native.api.C64:
[legend]

Package Functions

override int dxf_initialize_logger (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose)
 Initializes the internal logger. More...
 
override int dxf_initialize_logger_v2 (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose, bool log_data_transfer)
 Initializes the internal logger with data transfer logging. More...
 
override int dxf_create_connection (string 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, IntPtr user_data, out IntPtr connection)
 
override int dxf_create_connection_auth_basic (string address, string user, string 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, IntPtr user_data, out IntPtr connection)
 
override int dxf_create_connection_auth_bearer (string address, string 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, IntPtr user_data, out IntPtr connection)
 
override int dxf_create_connection_auth_custom (string address, string authscheme, string 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, IntPtr user_data, out IntPtr connection)
 
override int dxf_close_connection (IntPtr connection)
 
override int dxf_create_subscription (IntPtr connection, EventType event_types, out IntPtr subscription)
 
override int dxf_create_subscription_with_flags (IntPtr connection, EventType event_types, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 Creates a subscription with the specified parameters and the subscription flags. More...
 
override int dxf_create_subscription_timed (IntPtr connection, EventType event_types, Int64 time, out IntPtr subscription)
 
override int dxf_create_subscription_timed_with_flags (IntPtr connection, EventType event_types, Int64 time, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 Creates a timed subscription with the specified parameters and the subscription flags. More...
 
override int dxf_close_subscription (IntPtr subscription)
 
override int dxf_add_symbol (IntPtr subscription, String symbol)
 
override int dxf_add_symbols (IntPtr subscription, string[] symbols, int count)
 
override int dxf_add_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
override int dxf_remove_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
override int dxf_remove_symbol (IntPtr subcription, string symbol)
 
override int dxf_remove_symbols (IntPtr subscription, string[] symbols, int count)
 
override int dxf_get_symbols (IntPtr subscription, out IntPtr symbols, out int count)
 
override int dxf_set_symbols (IntPtr subscription, string[] symbols, int count)
 
override int dxf_clear_symbols (IntPtr subscription)
 
override int dxf_attach_event_listener (IntPtr subscription, dxf_event_listener_t event_listener, IntPtr user_data)
 
override int dxf_detach_event_listener (IntPtr subscription, dxf_event_listener_t listener)
 
override int dxf_attach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t event_listener, IntPtr user_data)
 
override int dxf_detach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t listener)
 
override int dxf_get_subscription_event_types (IntPtr subscription, out int event_types)
 
override int dxf_get_last_event (IntPtr connection, int event_type, string symbol, IntPtr event_data)
 
override int dxf_get_last_error (out int error_code, out IntPtr error_descr)
 
override int dxf_set_order_source (IntPtr subscription, byte[] source)
 
override int dxf_add_order_source (IntPtr subscription, byte[] source)
 
override int dxf_create_candle_symbol_attributes (string base_symbol, char exchange_code, double period_value, int period_type, int price, int session, int alignment, double price_level, out IntPtr candle_attributes)
 API that allows user to create candle symbol attributes More...
 
override int dxf_delete_candle_symbol_attributes (IntPtr candle_attributes)
 
override int dxf_create_snapshot (IntPtr connection, int event_id, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
override int dxf_create_order_snapshot (IntPtr connection, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
override int dxf_create_candle_snapshot (IntPtr connection, IntPtr candle_attributes, Int64 time, out IntPtr snapshot)
 
override int dxf_close_snapshot (IntPtr snapshot)
 
override int dxf_attach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener, IntPtr userData)
 
override int dxf_detach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener)
 
override int dxf_get_snapshot_symbol (IntPtr snapshot, out IntPtr symbol)
 
override int dxf_write_raw_data (IntPtr connection, byte[] raw_file_name)
 
override int dxf_get_connection_properties_snapshot (IntPtr connection, out IntPtr properties, out int count)
 
override int dxf_free_connection_properties_snapshot (IntPtr properties, int count)
 
override int dxf_get_current_connected_address (IntPtr connection, out IntPtr address)
 
override int dxf_get_current_connection_status (IntPtr connection, out ConnectionStatus status)
 
override int dxf_free (IntPtr pointer)
 
override int dxf_create_regional_book (IntPtr connection, string symbol, out IntPtr book)
 
override int dxf_close_regional_book (IntPtr book)
 
override int dxf_attach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener, IntPtr user_data)
 
override int dxf_detach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener)
 
override int dxf_attach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener, IntPtr user_data)
 
override int dxf_detach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener)
 
- Package Functions inherited from com.dxfeed.native.api.C
delegate void dxf_event_listener_t (EventType event_type, IntPtr symbol, IntPtr data, int data_count, IntPtr user_data)
 
delegate void dxf_event_listener_v2_t (EventType event_type, IntPtr symbol, IntPtr data, int data_count, IntPtr event_params, IntPtr user_data)
 
delegate void dxf_conn_termination_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_conn_status_notifier_t (IntPtr connection, ConnectionStatus old_status, ConnectionStatus new_status, IntPtr user_data)
 
delegate int dxf_socket_thread_creation_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_socket_thread_destruction_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_snapshot_listener_t (IntPtr snapshotData, IntPtr userData)
 Snapshot listener prototype More...
 
delegate void dxf_price_level_book_listener_t (IntPtr price_level_book, IntPtr user_data)
 
delegate void dxf_regional_quote_listener_t (IntPtr symbol, IntPtr quote, int count, IntPtr user_data)
 

Private Member Functions

static int __dxf_initialize_logger (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose)
 
static int __dxf_initialize_logger_v2 (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose, bool log_data_transfer)
 
static int __dxf_create_connection (string 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, IntPtr user_data, out IntPtr connection)
 
static int __dxf_create_connection_auth_basic (string address, string user, string 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, IntPtr user_data, out IntPtr connection)
 
static int __dxf_create_connection_auth_bearer (string address, string 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, IntPtr user_data, out IntPtr connection)
 
static int __dxf_create_connection_auth_custom (string address, string authscheme, string 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, IntPtr user_data, out IntPtr connection)
 
static int __dxf_close_connection (IntPtr connection)
 
static int __dxf_create_subscription (IntPtr connection, EventType event_types, out IntPtr subscription)
 
static int __dxf_create_subscription_with_flags (IntPtr connection, EventType event_types, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 
static int __dxf_create_subscription_timed (IntPtr connection, EventType event_types, Int64 time, out IntPtr subscription)
 
static int __dxf_create_subscription_timed_with_flags (IntPtr connection, EventType event_types, Int64 time, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 
static int __dxf_close_subscription (IntPtr subscription)
 
static int __dxf_add_symbol (IntPtr subscription, String symbol)
 
static int __dxf_add_symbols (IntPtr subscription, string[] symbols, int count)
 
static int __dxf_add_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
static int __dxf_remove_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
static int __dxf_remove_symbol (IntPtr subcription, string symbol)
 
static int __dxf_remove_symbols (IntPtr subscription, string[] symbols, int count)
 
static int __dxf_get_symbols (IntPtr subscription, out IntPtr symbols, out int count)
 
static int __dxf_set_symbols (IntPtr subscription, string[] symbols, int count)
 
static int __dxf_clear_symbols (IntPtr subscription)
 
static int __dxf_attach_event_listener (IntPtr subscription, dxf_event_listener_t event_listener, IntPtr user_data)
 
static int __dxf_detach_event_listener (IntPtr subscription, dxf_event_listener_t listener)
 
static int __dxf_attach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t event_listener, IntPtr user_data)
 
static int __dxf_detach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t listener)
 
static int __dxf_get_subscription_event_types (IntPtr subscription, out int event_types)
 
static int __dxf_get_last_event (IntPtr connection, int event_type, string symbol, IntPtr event_data)
 
static int __dxf_get_last_error (out int error_code, out IntPtr error_descr)
 
static int __dxf_set_order_source (IntPtr subscription, byte[] source)
 
static int __dxf_add_order_source (IntPtr subscription, byte[] source)
 
static int __dxf_create_candle_symbol_attributes (string base_symbol, char exchange_code, double period_value, int period_type, int price, int session, int alignment, double price_level, out IntPtr candle_attributes)
 
static int __dxf_delete_candle_symbol_attributes (IntPtr candle_attributes)
 
static int __dxf_create_snapshot (IntPtr connection, int event_id, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
static int __dxf_create_order_snapshot (IntPtr connection, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
static int __dxf_create_candle_snapshot (IntPtr connection, IntPtr candle_attributes, Int64 time, out IntPtr snapshot)
 
static int __dxf_close_snapshot (IntPtr snapshot)
 
static int __dxf_attach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener, IntPtr userData)
 
static int __dxf_detach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener)
 
static int __dxf_get_snapshot_symbol (IntPtr snapshot, out IntPtr symbol)
 
static int __dxf_write_raw_data (IntPtr connection, byte[] raw_file_name)
 
static int __dxf_get_connection_properties_snapshot (IntPtr connection, out IntPtr properties, out int count)
 
static int __dxf_free_connection_properties_snapshot (IntPtr properties, int count)
 
static int __dxf_get_current_connected_address (IntPtr connection, out IntPtr address)
 
static int __dxf_get_current_connection_status (IntPtr connection, out ConnectionStatus status)
 
static int __dxf_free (IntPtr pointer)
 
static int __dxf_create_regional_book (IntPtr connection, string symbol, out IntPtr book)
 
static int __dxf_close_regional_book (IntPtr book)
 
static int __dxf_attach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener, IntPtr user_data)
 
static int __dxf_detach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener)
 
static int __dxf_attach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener, IntPtr user_data)
 
static int __dxf_detach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener)
 

Private Attributes

const string DXFEED_DLL = "DXFeed_64.dll"
 

Additional Inherited Members

- Protected Member Functions inherited from com.dxfeed.native.api.C
 C ()
 
- Static Package Functions inherited from com.dxfeed.native.api.C
static void CheckOk (int returnCode)
 Helper method to check error codes Throws NativeDxException if return_code != DX_OK More...
 
- Package Attributes inherited from com.dxfeed.native.api.C
const int DX_OK = 1
 
const int DX_ERR = 0
 
- Properties inherited from com.dxfeed.native.api.C
static C Instance [get]
 

Member Function Documentation

◆ __dxf_add_candle_symbol()

static int com.dxfeed.native.api.C64.__dxf_add_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
private

◆ __dxf_add_order_source()

static int com.dxfeed.native.api.C64.__dxf_add_order_source ( IntPtr  subscription,
byte []  source 
)
private

◆ __dxf_add_symbol()

static int com.dxfeed.native.api.C64.__dxf_add_symbol ( IntPtr  subscription,
String  symbol 
)
private

◆ __dxf_add_symbols()

static int com.dxfeed.native.api.C64.__dxf_add_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
private

◆ __dxf_attach_event_listener()

static int com.dxfeed.native.api.C64.__dxf_attach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  event_listener,
IntPtr  user_data 
)
private

◆ __dxf_attach_event_listener_v2()

static int com.dxfeed.native.api.C64.__dxf_attach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  event_listener,
IntPtr  user_data 
)
private

◆ __dxf_attach_regional_book_listener()

static int com.dxfeed.native.api.C64.__dxf_attach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener,
IntPtr  user_data 
)
private

◆ __dxf_attach_regional_book_listener_v2()

static int com.dxfeed.native.api.C64.__dxf_attach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener,
IntPtr  user_data 
)
private

◆ __dxf_attach_snapshot_listener()

static int com.dxfeed.native.api.C64.__dxf_attach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener,
IntPtr  userData 
)
private

◆ __dxf_clear_symbols()

static int com.dxfeed.native.api.C64.__dxf_clear_symbols ( IntPtr  subscription)
private

◆ __dxf_close_connection()

static int com.dxfeed.native.api.C64.__dxf_close_connection ( IntPtr  connection)
private

◆ __dxf_close_regional_book()

static int com.dxfeed.native.api.C64.__dxf_close_regional_book ( IntPtr  book)
private

◆ __dxf_close_snapshot()

static int com.dxfeed.native.api.C64.__dxf_close_snapshot ( IntPtr  snapshot)
private

◆ __dxf_close_subscription()

static int com.dxfeed.native.api.C64.__dxf_close_subscription ( IntPtr  subscription)
private

◆ __dxf_create_candle_snapshot()

static int com.dxfeed.native.api.C64.__dxf_create_candle_snapshot ( IntPtr  connection,
IntPtr  candle_attributes,
Int64  time,
out IntPtr  snapshot 
)
private

◆ __dxf_create_candle_symbol_attributes()

static int com.dxfeed.native.api.C64.__dxf_create_candle_symbol_attributes ( string  base_symbol,
char  exchange_code,
double  period_value,
int  period_type,
int  price,
int  session,
int  alignment,
double  price_level,
out IntPtr  candle_attributes 
)
private

◆ __dxf_create_connection()

static int com.dxfeed.native.api.C64.__dxf_create_connection ( string  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,
IntPtr  user_data,
out IntPtr  connection 
)
private

◆ __dxf_create_connection_auth_basic()

static int com.dxfeed.native.api.C64.__dxf_create_connection_auth_basic ( string  address,
string  user,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
private

◆ __dxf_create_connection_auth_bearer()

static int com.dxfeed.native.api.C64.__dxf_create_connection_auth_bearer ( string  address,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
private

◆ __dxf_create_connection_auth_custom()

static int com.dxfeed.native.api.C64.__dxf_create_connection_auth_custom ( string  address,
string  authscheme,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
private

◆ __dxf_create_order_snapshot()

static int com.dxfeed.native.api.C64.__dxf_create_order_snapshot ( IntPtr  connection,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
private

◆ __dxf_create_regional_book()

static int com.dxfeed.native.api.C64.__dxf_create_regional_book ( IntPtr  connection,
string  symbol,
out IntPtr  book 
)
private

◆ __dxf_create_snapshot()

static int com.dxfeed.native.api.C64.__dxf_create_snapshot ( IntPtr  connection,
int  event_id,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
private

◆ __dxf_create_subscription()

static int com.dxfeed.native.api.C64.__dxf_create_subscription ( IntPtr  connection,
EventType  event_types,
out IntPtr  subscription 
)
private

◆ __dxf_create_subscription_timed()

static int com.dxfeed.native.api.C64.__dxf_create_subscription_timed ( IntPtr  connection,
EventType  event_types,
Int64  time,
out IntPtr  subscription 
)
private

◆ __dxf_create_subscription_timed_with_flags()

static int com.dxfeed.native.api.C64.__dxf_create_subscription_timed_with_flags ( IntPtr  connection,
EventType  event_types,
Int64  time,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
private

◆ __dxf_create_subscription_with_flags()

static int com.dxfeed.native.api.C64.__dxf_create_subscription_with_flags ( IntPtr  connection,
EventType  event_types,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
private

◆ __dxf_delete_candle_symbol_attributes()

static int com.dxfeed.native.api.C64.__dxf_delete_candle_symbol_attributes ( IntPtr  candle_attributes)
private

◆ __dxf_detach_event_listener()

static int com.dxfeed.native.api.C64.__dxf_detach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  listener 
)
private

◆ __dxf_detach_event_listener_v2()

static int com.dxfeed.native.api.C64.__dxf_detach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  listener 
)
private

◆ __dxf_detach_regional_book_listener()

static int com.dxfeed.native.api.C64.__dxf_detach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener 
)
private

◆ __dxf_detach_regional_book_listener_v2()

static int com.dxfeed.native.api.C64.__dxf_detach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener 
)
private

◆ __dxf_detach_snapshot_listener()

static int com.dxfeed.native.api.C64.__dxf_detach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener 
)
private

◆ __dxf_free()

static int com.dxfeed.native.api.C64.__dxf_free ( IntPtr  pointer)
private

◆ __dxf_free_connection_properties_snapshot()

static int com.dxfeed.native.api.C64.__dxf_free_connection_properties_snapshot ( IntPtr  properties,
int  count 
)
private

◆ __dxf_get_connection_properties_snapshot()

static int com.dxfeed.native.api.C64.__dxf_get_connection_properties_snapshot ( IntPtr  connection,
out IntPtr  properties,
out int  count 
)
private

◆ __dxf_get_current_connected_address()

static int com.dxfeed.native.api.C64.__dxf_get_current_connected_address ( IntPtr  connection,
out IntPtr  address 
)
private

◆ __dxf_get_current_connection_status()

static int com.dxfeed.native.api.C64.__dxf_get_current_connection_status ( IntPtr  connection,
out ConnectionStatus  status 
)
private

◆ __dxf_get_last_error()

static int com.dxfeed.native.api.C64.__dxf_get_last_error ( out int  error_code,
out IntPtr  error_descr 
)
private

◆ __dxf_get_last_event()

static int com.dxfeed.native.api.C64.__dxf_get_last_event ( IntPtr  connection,
int  event_type,
string  symbol,
IntPtr  event_data 
)
private

◆ __dxf_get_snapshot_symbol()

static int com.dxfeed.native.api.C64.__dxf_get_snapshot_symbol ( IntPtr  snapshot,
out IntPtr  symbol 
)
private

◆ __dxf_get_subscription_event_types()

static int com.dxfeed.native.api.C64.__dxf_get_subscription_event_types ( IntPtr  subscription,
out int  event_types 
)
private

◆ __dxf_get_symbols()

static int com.dxfeed.native.api.C64.__dxf_get_symbols ( IntPtr  subscription,
out IntPtr  symbols,
out int  count 
)
private

◆ __dxf_initialize_logger()

static int com.dxfeed.native.api.C64.__dxf_initialize_logger ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose 
)
private

◆ __dxf_initialize_logger_v2()

static int com.dxfeed.native.api.C64.__dxf_initialize_logger_v2 ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose,
bool  log_data_transfer 
)
private

◆ __dxf_remove_candle_symbol()

static int com.dxfeed.native.api.C64.__dxf_remove_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
private

◆ __dxf_remove_symbol()

static int com.dxfeed.native.api.C64.__dxf_remove_symbol ( IntPtr  subcription,
string  symbol 
)
private

◆ __dxf_remove_symbols()

static int com.dxfeed.native.api.C64.__dxf_remove_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
private

◆ __dxf_set_order_source()

static int com.dxfeed.native.api.C64.__dxf_set_order_source ( IntPtr  subscription,
byte []  source 
)
private

◆ __dxf_set_symbols()

static int com.dxfeed.native.api.C64.__dxf_set_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
private

◆ __dxf_write_raw_data()

static int com.dxfeed.native.api.C64.__dxf_write_raw_data ( IntPtr  connection,
byte []  raw_file_name 
)
private

◆ dxf_add_candle_symbol()

override int com.dxfeed.native.api.C64.dxf_add_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
inlinepackagevirtual

◆ dxf_add_order_source()

override int com.dxfeed.native.api.C64.dxf_add_order_source ( IntPtr  subscription,
byte []  source 
)
inlinepackagevirtual

◆ dxf_add_symbol()

override int com.dxfeed.native.api.C64.dxf_add_symbol ( IntPtr  subscription,
String  symbol 
)
inlinepackagevirtual

◆ dxf_add_symbols()

override int com.dxfeed.native.api.C64.dxf_add_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
inlinepackagevirtual

◆ dxf_attach_event_listener()

override int com.dxfeed.native.api.C64.dxf_attach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  event_listener,
IntPtr  user_data 
)
inlinepackagevirtual

◆ dxf_attach_event_listener_v2()

override int com.dxfeed.native.api.C64.dxf_attach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  event_listener,
IntPtr  user_data 
)
inlinepackagevirtual

◆ dxf_attach_regional_book_listener()

override int com.dxfeed.native.api.C64.dxf_attach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener,
IntPtr  user_data 
)
inlinepackagevirtual

◆ dxf_attach_regional_book_listener_v2()

override int com.dxfeed.native.api.C64.dxf_attach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener,
IntPtr  user_data 
)
inlinepackagevirtual

◆ dxf_attach_snapshot_listener()

override int com.dxfeed.native.api.C64.dxf_attach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener,
IntPtr  userData 
)
inlinepackagevirtual

◆ dxf_clear_symbols()

override int com.dxfeed.native.api.C64.dxf_clear_symbols ( IntPtr  subscription)
inlinepackagevirtual

◆ dxf_close_connection()

override int com.dxfeed.native.api.C64.dxf_close_connection ( IntPtr  connection)
inlinepackagevirtual

◆ dxf_close_regional_book()

override int com.dxfeed.native.api.C64.dxf_close_regional_book ( IntPtr  book)
inlinepackagevirtual

◆ dxf_close_snapshot()

override int com.dxfeed.native.api.C64.dxf_close_snapshot ( IntPtr  snapshot)
inlinepackagevirtual

◆ dxf_close_subscription()

override int com.dxfeed.native.api.C64.dxf_close_subscription ( IntPtr  subscription)
inlinepackagevirtual

◆ dxf_create_candle_snapshot()

override int com.dxfeed.native.api.C64.dxf_create_candle_snapshot ( IntPtr  connection,
IntPtr  candle_attributes,
Int64  time,
out IntPtr  snapshot 
)
inlinepackagevirtual

◆ dxf_create_candle_symbol_attributes()

override int com.dxfeed.native.api.C64.dxf_create_candle_symbol_attributes ( string  base_symbol,
char  exchange_code,
double  period_value,
int  period_type,
int  price,
int  session,
int  alignment,
double  price_level,
out IntPtr  candle_attributes 
)
inlinepackagevirtual

API that allows user to create candle symbol attributes

Parameters
base_symbolThe base symbol
exchange_codeExchange attribute of this symbol (A-Z)
period_valueAggregation period value of this symbol
period_typeAggregation period type of this symbol
pricePrice ("price" key) type attribute of this symbol
sessionSession ("tho" key) attribute of this symbol
alignmentAlignment ("a" key) attribute of this symbol
price_levelPrice level ("pl" key) attribute of this symbol. The candle price level defines additional axis to split candles within particular price corridor in addition to candle period attribute with the default value NAN.
candle_attributesPointer to the configured candle attributes struct
Returns
DX_OK (1) if candle attributes have been created successfully or DX_ERR (0) on error. dxf_get_last_error can be used to retrieve the error code and description in case of failure; candle_attributes are returned via output parameter

Implements com.dxfeed.native.api.C.

◆ dxf_create_connection()

override int com.dxfeed.native.api.C64.dxf_create_connection ( string  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,
IntPtr  user_data,
out IntPtr  connection 
)
inlinepackagevirtual

◆ dxf_create_connection_auth_basic()

override int com.dxfeed.native.api.C64.dxf_create_connection_auth_basic ( string  address,
string  user,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
inlinepackagevirtual

◆ dxf_create_connection_auth_bearer()

override int com.dxfeed.native.api.C64.dxf_create_connection_auth_bearer ( string  address,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
inlinepackagevirtual

◆ dxf_create_connection_auth_custom()

override int com.dxfeed.native.api.C64.dxf_create_connection_auth_custom ( string  address,
string  authscheme,
string  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,
IntPtr  user_data,
out IntPtr  connection 
)
inlinepackagevirtual

◆ dxf_create_order_snapshot()

override int com.dxfeed.native.api.C64.dxf_create_order_snapshot ( IntPtr  connection,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
inlinepackagevirtual

◆ dxf_create_regional_book()

override int com.dxfeed.native.api.C64.dxf_create_regional_book ( IntPtr  connection,
string  symbol,
out IntPtr  book 
)
inlinepackagevirtual

◆ dxf_create_snapshot()

override int com.dxfeed.native.api.C64.dxf_create_snapshot ( IntPtr  connection,
int  event_id,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
inlinepackagevirtual

◆ dxf_create_subscription()

override int com.dxfeed.native.api.C64.dxf_create_subscription ( IntPtr  connection,
EventType  event_types,
out IntPtr  subscription 
)
inlinepackagevirtual

◆ dxf_create_subscription_timed()

override int com.dxfeed.native.api.C64.dxf_create_subscription_timed ( IntPtr  connection,
EventType  event_types,
Int64  time,
out IntPtr  subscription 
)
inlinepackagevirtual

◆ dxf_create_subscription_timed_with_flags()

override int com.dxfeed.native.api.C64.dxf_create_subscription_timed_with_flags ( IntPtr  connection,
EventType  event_types,
Int64  time,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
inlinepackagevirtual

Creates a timed subscription with the specified parameters and the subscription flags.

Parameters
connectionA handle of a previously created connection which the subscription will be using
event_typesA bitmask of the subscription event types. See: EventType
timeUTC time in the past (unix time in milliseconds)
subscr_flagsA bitmask of the subscription event flags. See: EventSubscriptionFlag
subscriptionA handle of the created subscription
Returns
DX_OK (1) on successful subscription creation or DX_ERR (0) on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure; a handle to newly created subscription is returned via subscription out parameter

Implements com.dxfeed.native.api.C.

◆ dxf_create_subscription_with_flags()

override int com.dxfeed.native.api.C64.dxf_create_subscription_with_flags ( IntPtr  connection,
EventType  event_types,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
inlinepackagevirtual

Creates a subscription with the specified parameters and the subscription flags.

Parameters
connectionA handle of a previously created connection which the subscription will be using
event_typesA bitmask of the subscription event types. See: EventType
subscr_flagsA bitmask of the subscription event flags. See: EventSubscriptionFlag
subscriptionA handle of the created subscription
Returns
DX_OK (1) on successful subscription creation or DX_ERR (0) on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure; a handle to newly created subscription is returned via subscription out parameter

Implements com.dxfeed.native.api.C.

◆ dxf_delete_candle_symbol_attributes()

override int com.dxfeed.native.api.C64.dxf_delete_candle_symbol_attributes ( IntPtr  candle_attributes)
inlinepackagevirtual

◆ dxf_detach_event_listener()

override int com.dxfeed.native.api.C64.dxf_detach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  listener 
)
inlinepackagevirtual

◆ dxf_detach_event_listener_v2()

override int com.dxfeed.native.api.C64.dxf_detach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  listener 
)
inlinepackagevirtual

◆ dxf_detach_regional_book_listener()

override int com.dxfeed.native.api.C64.dxf_detach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener 
)
inlinepackagevirtual

◆ dxf_detach_regional_book_listener_v2()

override int com.dxfeed.native.api.C64.dxf_detach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener 
)
inlinepackagevirtual

◆ dxf_detach_snapshot_listener()

override int com.dxfeed.native.api.C64.dxf_detach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener 
)
inlinepackagevirtual

◆ dxf_free()

override int com.dxfeed.native.api.C64.dxf_free ( IntPtr  pointer)
inlinepackagevirtual

◆ dxf_free_connection_properties_snapshot()

override int com.dxfeed.native.api.C64.dxf_free_connection_properties_snapshot ( IntPtr  properties,
int  count 
)
inlinepackagevirtual

◆ dxf_get_connection_properties_snapshot()

override int com.dxfeed.native.api.C64.dxf_get_connection_properties_snapshot ( IntPtr  connection,
out IntPtr  properties,
out int  count 
)
inlinepackagevirtual

◆ dxf_get_current_connected_address()

override int com.dxfeed.native.api.C64.dxf_get_current_connected_address ( IntPtr  connection,
out IntPtr  address 
)
inlinepackagevirtual

◆ dxf_get_current_connection_status()

override int com.dxfeed.native.api.C64.dxf_get_current_connection_status ( IntPtr  connection,
out ConnectionStatus  status 
)
inlinepackagevirtual

◆ dxf_get_last_error()

override int com.dxfeed.native.api.C64.dxf_get_last_error ( out int  error_code,
out IntPtr  error_descr 
)
inlinepackagevirtual

◆ dxf_get_last_event()

override int com.dxfeed.native.api.C64.dxf_get_last_event ( IntPtr  connection,
int  event_type,
string  symbol,
IntPtr  event_data 
)
inlinepackagevirtual

◆ dxf_get_snapshot_symbol()

override int com.dxfeed.native.api.C64.dxf_get_snapshot_symbol ( IntPtr  snapshot,
out IntPtr  symbol 
)
inlinepackagevirtual

◆ dxf_get_subscription_event_types()

override int com.dxfeed.native.api.C64.dxf_get_subscription_event_types ( IntPtr  subscription,
out int  event_types 
)
inlinepackagevirtual

◆ dxf_get_symbols()

override int com.dxfeed.native.api.C64.dxf_get_symbols ( IntPtr  subscription,
out IntPtr  symbols,
out int  count 
)
inlinepackagevirtual

◆ dxf_initialize_logger()

override int com.dxfeed.native.api.C64.dxf_initialize_logger ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose 
)
inlinepackagevirtual

Initializes the internal logger.

Various actions and events, including the errors, are being logged throughout the library. They may be stored into the file.

C-API: DXFEED_API ERRORCODE dxf_initialize_logger(const char* file_name, int rewrite_file, int show_timezone_info, int verbose);

Parameters
file_nameA full path to the file where the log is to be stored
rewrite_fileA flag defining the file open mode; if it's nonzero then the log file will be rewritten
show_time_zone_infoA flag defining the time display option in the log file; if it's nonzero then the time will be displayed with the timezone suffix
verboseA flag defining the logging mode; if it's nonzero then the verbose logging will be enabled
Returns
DXF_SUCCESS on successful logger initialization or DXF_FAILURE on error; link dxf_get_last_error can be used to retrieve the error code and description in case of failure;

Implements com.dxfeed.native.api.C.

◆ dxf_initialize_logger_v2()

override int com.dxfeed.native.api.C64.dxf_initialize_logger_v2 ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose,
bool  log_data_transfer 
)
inlinepackagevirtual

Initializes the internal logger with data transfer logging.

Various actions and events, including the errors, are being logged throughout the library. They may be stored into the file.

C-API: DXFEED_API ERRORCODE dxf_initialize_logger_v2(const char* file_name, int rewrite_file, int show_timezone_info, int verbose, int log_data_transfer);

Parameters
file_nameA full path to the file where the log is to be stored
rewrite_fileA flag defining the file open mode; if it's nonzero then the log file will be rewritten
show_time_zone_infoA flag defining the time display option in the log file; if it's nonzero then the time will be displayed with the timezone suffix
verboseA flag defining the logging mode; if it's nonzero then the verbose logging will be enabled
log_data_transferA flag defining the logging mode; if it's nonzero then the data transfer (portions of received and sent data) logging will be enabled
Returns
DXF_SUCCESS on successful logger initialization or DXF_FAILURE on error; link dxf_get_last_error can be used to retrieve the error code and description in case of failure;

Implements com.dxfeed.native.api.C.

◆ dxf_remove_candle_symbol()

override int com.dxfeed.native.api.C64.dxf_remove_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
inlinepackagevirtual

◆ dxf_remove_symbol()

override int com.dxfeed.native.api.C64.dxf_remove_symbol ( IntPtr  subcription,
string  symbol 
)
inlinepackagevirtual

◆ dxf_remove_symbols()

override int com.dxfeed.native.api.C64.dxf_remove_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
inlinepackagevirtual

◆ dxf_set_order_source()

override int com.dxfeed.native.api.C64.dxf_set_order_source ( IntPtr  subscription,
byte []  source 
)
inlinepackagevirtual

◆ dxf_set_symbols()

override int com.dxfeed.native.api.C64.dxf_set_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
inlinepackagevirtual

◆ dxf_write_raw_data()

override int com.dxfeed.native.api.C64.dxf_write_raw_data ( IntPtr  connection,
byte []  raw_file_name 
)
inlinepackagevirtual

Field Documentation

◆ DXFEED_DLL

const string com.dxfeed.native.api.C64.DXFEED_DLL = "DXFeed_64.dll"
private

The documentation for this class was generated from the following file: