dxFeed Graal Native SDK 3.15.0
Loading...
Searching...
No Matches
dxfg_orcs.h
Go to the documentation of this file.
1// Copyright (c) 2025 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_ORCS_H
10#define DXFG_ORCS_H
11
12#ifdef __cplusplus
13extern "C" {
14# include <cstdint>
15#else
16# include <stdint.h>
17#endif
18
19#include "dxfg_common.h"
20
21#include "dxfg_events.h"
22#include "dxfg_javac.h"
23#include "graal_isolate.h"
24
36
45
58
60
69
83
96
109
123
137
139
146
163DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_new()")
164int32_t dxfg_PriceLevelService_new(graal_isolatethread_t *thread, const char *address,
166
194DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_getOrdersWithCaller()")
196 dxfg_symbol_t *candleSymbol, dxfg_indexed_event_source_t *orderSource,
197 int64_t from, int64_t to, const char *caller,
199
224DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_getOrders()")
226 dxfg_symbol_t *candleSymbol, dxfg_indexed_event_source_t *orderSource,
227 int64_t from, int64_t to, DXFG_OUT dxfg_event_type_list **orders);
228
246DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_getAuthOrderSource()")
248 DXFG_OUT dxfg_auth_order_source_t **authOrderSource);
249
271DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_getQuotesWithCaller()")
273 dxfg_symbol_t *candleSymbol, int64_t from, int64_t to, const char *caller,
275
297DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_getQuotes()")
299 dxfg_symbol_t *candleSymbol, int64_t from, int64_t to,
301
316DXFG_DEPRECATED("use dxfg_v4_PriceLevelService_close()")
318
320
327
344DXFG_DEPRECATED("use dxfg_v4_AuthOrderSource_getByIds()")
346 graal_isolatethread_t *thread, dxfg_auth_order_source_t *authOrderSource,
347 DXFG_OUT dxfg_symbols_by_order_source_id_map_entry_list_t **symbolsByOrderSourceIdMapEntryList);
348
363DXFG_DEPRECATED("use dxfg_v4_symbols_by_order_source_id_map_entry_list_release()")
366
383DXFG_DEPRECATED("use dxfg_v4_AuthOrderSource_getByOrderSources()")
385 graal_isolatethread_t *thread, dxfg_auth_order_source_t *authOrderSource,
386 DXFG_OUT dxfg_symbols_by_order_source_map_entry_list_t **symbolsByOrderSourceMapEntryList);
387
402DXFG_DEPRECATED("use dxfg_v4_symbols_by_order_source_map_entry_list_release()")
405
407
414
445DXFG_DEPRECATED("use dxfg_v4_PriceLevelChecker_validate()")
447 int64_t timeGapBound, int32_t /*bool*/ printQuotes, DXFG_OUT int32_t *isValid);
448
450
451#ifdef __cplusplus
452}
453#endif
454
455#endif // DXFG_ORCS_H
dxFeed Graal Native SDK Common declarations
dxFeed Graal Native SDK Events functions and types declarations
dxFeed Graal Native SDK Java functions and types declarations
The functions of GraalVM that create, attach to and tear down an isolate, the instance of the SDK in ...
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
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_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_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_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).
#define DXFG_OUT
Definition dxfg_common.h:37
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.
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_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_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.
A handle of Java AuthOrderSource: the information about the symbols that are available to the client ...
Definition dxfg_orcs.h:79
dxfg_java_object_handler handler
Definition dxfg_orcs.h:81
A list of events.
Definition dxfg_events.h:1215
The source of indexed events.
Definition dxfg_events.h:42
The handle of a Java object: the reference by which the C code refers to an object that lives in Java...
Definition dxfg_javac.h:60
A handle of a client of the price level service; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_orcs.h:54
dxfg_java_object_handler handler
Definition dxfg_orcs.h:56
A list of strings.
Definition dxfg_javac.h:109
The base structure of every symbol: the first field of all the symbol structures.
Definition dxfg_events.h:89
A list of the entries of the symbols by the identifier of an order source (Java Collection<?...
Definition dxfg_orcs.h:103
int32_t size
Definition dxfg_orcs.h:105
dxfg_symbols_by_order_source_id_map_entry_t ** elements
Definition dxfg_orcs.h:107
An entry of the symbols by the identifier of an order source (Java Map.Entry<Integer,...
Definition dxfg_orcs.h:89
dxfg_string_list * symbols
Definition dxfg_orcs.h:94
int32_t order_source_id
Definition dxfg_orcs.h:91
A list of the entries of the symbols by an order source (Java Collection<? extends Map....
Definition dxfg_orcs.h:131
dxfg_symbols_by_order_source_map_entry_t ** elements
Definition dxfg_orcs.h:135
int32_t size
Definition dxfg_orcs.h:133
An entry of the symbols by an order source (Java Map.Entry<? extends IndexedEventSource,...
Definition dxfg_orcs.h:115
dxfg_string_list * symbols
Definition dxfg_orcs.h:121
dxfg_indexed_event_source_t * order_source
Definition dxfg_orcs.h:118