dxFeed Graal Native SDK 3.16.0-rc1
Loading...
Searching...
No Matches
dxfg_orcs.h File Reference

dxFeed Graal Native SDK ORCS API functions and types declarations More...

#include <stdint.h>
#include "dxfg_common.h"
#include "dxfg_events.h"
#include "dxfg_javac.h"
#include "graal_isolate.h"

Go to the source code of this file.

Data Structures

struct  dxfg_price_level_service_t
 A handle of a client of the price level service; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_auth_order_source_t
 A handle of Java AuthOrderSource: the information about the symbols that are available to the client for the entitled collection of order sources; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_symbols_by_order_source_id_map_entry_t
 An entry of the symbols by the identifier of an order source (Java Map.Entry<Integer, Set<String>>). More...
struct  dxfg_symbols_by_order_source_id_map_entry_list_t
 A list of the entries of the symbols by the identifier of an order source (Java Collection<? extends Map.Entry<Integer, Set<String>>>). More...
struct  dxfg_symbols_by_order_source_map_entry_t
 An entry of the symbols by an order source (Java Map.Entry<? extends IndexedEventSource, Set<String>>). More...
struct  dxfg_symbols_by_order_source_map_entry_list_t
 A list of the entries of the symbols by an order source (Java Collection<? extends Map.Entry<? extends IndexedEventSource, Set<String>>>). More...

Typedefs

typedef struct dxfg_price_level_service_t dxfg_price_level_service_t
 A handle of a client of the price level service; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_auth_order_source_t dxfg_auth_order_source_t
 A handle of Java AuthOrderSource: the information about the symbols that are available to the client for the entitled collection of order sources; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_symbols_by_order_source_id_map_entry_t dxfg_symbols_by_order_source_id_map_entry_t
 An entry of the symbols by the identifier of an order source (Java Map.Entry<Integer, Set<String>>).
typedef struct dxfg_symbols_by_order_source_id_map_entry_list_t dxfg_symbols_by_order_source_id_map_entry_list_t
 A list of the entries of the symbols by the identifier of an order source (Java Collection<? extends Map.Entry<Integer, Set<String>>>).
typedef struct dxfg_symbols_by_order_source_map_entry_t dxfg_symbols_by_order_source_map_entry_t
 An entry of the symbols by an order source (Java Map.Entry<? extends IndexedEventSource, Set<String>>).
typedef struct dxfg_symbols_by_order_source_map_entry_list_t dxfg_symbols_by_order_source_map_entry_list_t
 A list of the entries of the symbols by an order source (Java Collection<? extends Map.Entry<? extends IndexedEventSource, Set<String>>>).

Functions

int32_t dxfg_PriceLevelService_new (graal_isolatethread_t *thread, const char *address, DXFG_OUT dxfg_price_level_service_t **service)
 Creates a client of the price level service and connects it to an RMI endpoint.
int32_t dxfg_PriceLevelService_getOrders (graal_isolatethread_t *thread, dxfg_price_level_service_t *service, dxfg_symbol_t *candleSymbol, dxfg_indexed_event_source_t *orderSource, int64_t from, int64_t to, const char *caller, DXFG_OUT dxfg_event_type_list **orders)
 Returns the price levels (orders) of a candle symbol within a time range.
int32_t dxfg_PriceLevelService_getOrders2 (graal_isolatethread_t *thread, dxfg_price_level_service_t *service, dxfg_symbol_t *candleSymbol, dxfg_indexed_event_source_t *orderSource, int64_t from, int64_t to, DXFG_OUT dxfg_event_type_list **orders)
 Returns the price levels (orders) of a candle symbol within a time range for the default caller.
int32_t dxfg_PriceLevelService_getAuthOrderSource (graal_isolatethread_t *thread, dxfg_price_level_service_t *service, DXFG_OUT dxfg_auth_order_source_t **authOrderSource)
 Returns the order sources and the symbols of each order source that are available to the client.
int32_t dxfg_PriceLevelService_getQuotes (graal_isolatethread_t *thread, dxfg_price_level_service_t *service, dxfg_symbol_t *candleSymbol, int64_t from, int64_t to, const char *caller, DXFG_OUT dxfg_event_type_list **quotes)
 Returns the quotes of a candle symbol within a time range.
int32_t dxfg_PriceLevelService_getQuotes2 (graal_isolatethread_t *thread, dxfg_price_level_service_t *service, dxfg_symbol_t *candleSymbol, int64_t from, int64_t to, DXFG_OUT dxfg_event_type_list **quotes)
 Returns the quotes of a candle symbol within a time range for the default caller.
int32_t dxfg_PriceLevelService_close (graal_isolatethread_t *thread, dxfg_price_level_service_t *service)
 Closes the client of the price level service and its RMI endpoint.
int32_t dxfg_AuthOrderSource_getByIds (graal_isolatethread_t *thread, dxfg_auth_order_source_t *authOrderSource, DXFG_OUT dxfg_symbols_by_order_source_id_map_entry_list_t **symbolsByOrderSourceIdMapEntryList)
 Returns the entries (the identifier of an order source, the symbols) of an AuthOrderSource.
int32_t dxfg_symbols_by_order_source_id_map_entry_list_free (graal_isolatethread_t *thread, dxfg_symbols_by_order_source_id_map_entry_list_t *list)
 Frees a list of the entries (the identifier of an order source, the symbols).
int32_t dxfg_AuthOrderSource_getByOrderSources (graal_isolatethread_t *thread, dxfg_auth_order_source_t *authOrderSource, DXFG_OUT dxfg_symbols_by_order_source_map_entry_list_t **symbolsByOrderSourceMapEntryList)
 Returns the entries (an order source, the symbols) of an AuthOrderSource.
int32_t dxfg_symbols_by_order_source_map_entry_list_free (graal_isolatethread_t *thread, dxfg_symbols_by_order_source_map_entry_list_t *list)
 Frees a list of the entries (an order source, the symbols).
int32_t dxfg_PriceLevelChecker_validate (graal_isolatethread_t *thread, dxfg_event_type_list *orders, int64_t timeGapBound, int32_t printQuotes, DXFG_OUT int32_t *isValid)
 Checks the consistency of a list of orders.

Detailed Description

dxFeed Graal Native SDK ORCS API functions and types declarations