dxFeed Graal Native SDK 3.17.0-rc1
Loading...
Searching...
No Matches
dxfg_v4_orcs.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_ORCS_H
10#define DXFG_V4_ORCS_H
11
12#include "dxfg_orcs.h"
13#include "dxfg_v4_common.h"
14#include "dxfg_v4_events.h"
15#include "dxfg_v4_javac.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
27
30
33
36
39
42
45
60int32_t dxfg_v4_PriceLevelService_new(graal_isolatethread_t *thread, const char *address,
62
90 dxfg_v4_symbol_t *candleSymbol,
91 dxfg_v4_indexed_event_source_t *orderSource, int64_t from,
92 int64_t to, const char *caller,
94
118 dxfg_v4_symbol_t *candleSymbol, dxfg_v4_indexed_event_source_t *orderSource,
119 int64_t from, int64_t to, DXFG_OUT dxfg_v4_event_type_list **orders);
120
138 DXFG_OUT dxfg_v4_auth_order_source_t **authOrderSource);
139
161 dxfg_v4_symbol_t *candleSymbol, int64_t from, int64_t to,
162 const char *caller, DXFG_OUT dxfg_v4_event_type_list **quotes);
163
184 dxfg_v4_symbol_t *candleSymbol, int64_t from, int64_t to,
186
200
216 graal_isolatethread_t *thread, dxfg_v4_auth_order_source_t *authOrderSource,
217 DXFG_OUT dxfg_v4_symbols_by_order_source_id_map_entry_list **symbolsByOrderSourceIdMapEntryList);
218
233
255 graal_isolatethread_t *thread,
256 const dxfg_v4_symbols_by_order_source_id_map_entry_list *symbolsByOrderSourceIdMapEntryList,
257 DXFG_OUT dxfg_v4_auth_order_source_t **authOrderSource);
258
274 graal_isolatethread_t *thread, dxfg_v4_auth_order_source_t *authOrderSource,
275 DXFG_OUT dxfg_v4_symbols_by_order_source_map_entry_list **symbolsByOrderSourceMapEntryList);
276
291
321 int64_t timeGapBound, int32_t /*bool*/ printQuotes,
322 DXFG_OUT int32_t *isValid);
323 // end of V4_OrcsApi
325
326#ifdef __cplusplus
327}
328#endif
329
330#endif // DXFG_V4_ORCS_H
dxFeed Graal Native SDK ORCS API functions and types declarations
The v4 functions of dxfg_common.h and the v4 names of its types (see the group Common (v4)).
The v4 functions of dxfg_events.h and the v4 names of its types (see the group Events (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_indexed_event_source_t dxfg_v4_indexed_event_source_t
The source of indexed events.
Definition dxfg_v4_events.h:31
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
int32_t dxfg_v4_PriceLevelService_getQuotes(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service, dxfg_v4_symbol_t *candleSymbol, int64_t from, int64_t to, DXFG_OUT dxfg_v4_event_type_list **quotes)
Returns the quotes of a candle symbol within a time range for the default caller.
int32_t dxfg_v4_PriceLevelService_getOrdersWithCaller(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service, dxfg_v4_symbol_t *candleSymbol, dxfg_v4_indexed_event_source_t *orderSource, int64_t from, int64_t to, const char *caller, DXFG_OUT dxfg_v4_event_type_list **orders)
Returns the price levels (orders) of a candle symbol within a time range.
int32_t dxfg_v4_AuthOrderSource_getByIds(graal_isolatethread_t *thread, dxfg_v4_auth_order_source_t *authOrderSource, DXFG_OUT dxfg_v4_symbols_by_order_source_id_map_entry_list **symbolsByOrderSourceIdMapEntryList)
Returns the entries (the identifier of an order source, the symbols) of an AuthOrderSource.
dxfg_price_level_service_t dxfg_v4_price_level_service_t
A handle of a client of the price level service; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_v4_orcs.h:29
dxfg_symbols_by_order_source_map_entry_t dxfg_v4_symbols_by_order_source_map_entry_t
An entry of the symbols by an order source (Java Map.Entry<? extends IndexedEventSource,...
Definition dxfg_v4_orcs.h:41
int32_t dxfg_v4_AuthOrderSource_create(graal_isolatethread_t *thread, const dxfg_v4_symbols_by_order_source_id_map_entry_list *symbolsByOrderSourceIdMapEntryList, DXFG_OUT dxfg_v4_auth_order_source_t **authOrderSource)
Creates an AuthOrderSource from the entries (the identifier of an order source, the symbols).
int32_t dxfg_v4_AuthOrderSource_getByOrderSources(graal_isolatethread_t *thread, dxfg_v4_auth_order_source_t *authOrderSource, DXFG_OUT dxfg_v4_symbols_by_order_source_map_entry_list **symbolsByOrderSourceMapEntryList)
Returns the entries (an order source, the symbols) of an AuthOrderSource.
int32_t dxfg_v4_PriceLevelService_new(graal_isolatethread_t *thread, const char *address, DXFG_OUT dxfg_v4_price_level_service_t **service)
Creates a client of the price level service and connects it to an RMI endpoint.
dxfg_symbols_by_order_source_id_map_entry_t dxfg_v4_symbols_by_order_source_id_map_entry_t
An entry of the symbols by the identifier of an order source (Java Map.Entry<Integer,...
Definition dxfg_v4_orcs.h:35
int32_t dxfg_v4_PriceLevelService_getAuthOrderSource(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service, DXFG_OUT dxfg_v4_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_v4_PriceLevelService_close(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service)
Closes the client of the price level service and its RMI endpoint.
int32_t dxfg_v4_symbols_by_order_source_map_entry_list_release(graal_isolatethread_t *thread, dxfg_v4_symbols_by_order_source_map_entry_list *list)
Frees a list of the entries (an order source, the symbols).
int32_t dxfg_v4_symbols_by_order_source_id_map_entry_list_release(graal_isolatethread_t *thread, dxfg_v4_symbols_by_order_source_id_map_entry_list *list)
Frees a list of the entries (the identifier of an order source, the symbols).
int32_t dxfg_v4_PriceLevelService_getOrders(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service, dxfg_v4_symbol_t *candleSymbol, dxfg_v4_indexed_event_source_t *orderSource, int64_t from, int64_t to, DXFG_OUT dxfg_v4_event_type_list **orders)
Returns the price levels (orders) of a candle symbol within a time range for the default caller.
dxfg_symbols_by_order_source_map_entry_list_t dxfg_v4_symbols_by_order_source_map_entry_list
A list of the entries of the symbols by an order source (Java Collection<? extends Map....
Definition dxfg_v4_orcs.h:44
dxfg_auth_order_source_t dxfg_v4_auth_order_source_t
A handle of Java AuthOrderSource: the information about the symbols that are available to the client ...
Definition dxfg_v4_orcs.h:32
int32_t dxfg_v4_PriceLevelService_getQuotesWithCaller(graal_isolatethread_t *thread, dxfg_v4_price_level_service_t *service, dxfg_v4_symbol_t *candleSymbol, int64_t from, int64_t to, const char *caller, DXFG_OUT dxfg_v4_event_type_list **quotes)
Returns the quotes of a candle symbol within a time range.
dxfg_symbols_by_order_source_id_map_entry_list_t dxfg_v4_symbols_by_order_source_id_map_entry_list
A list of the entries of the symbols by the identifier of an order source (Java Collection<?...
Definition dxfg_v4_orcs.h:38
int32_t dxfg_v4_PriceLevelChecker_validate(graal_isolatethread_t *thread, dxfg_v4_event_type_list *orders, int64_t timeGapBound, int32_t printQuotes, DXFG_OUT int32_t *isValid)
Checks the consistency of a list of orders.
A handle of Java AuthOrderSource: the information about the symbols that are available to the client ...
Definition dxfg_orcs.h:79
A handle of a client of the price level service; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_orcs.h:54
A list of the entries of the symbols by the identifier of an order source (Java Collection<?...
Definition dxfg_orcs.h:103
An entry of the symbols by the identifier of an order source (Java Map.Entry<Integer,...
Definition dxfg_orcs.h:89
A list of the entries of the symbols by an order source (Java Collection<? extends Map....
Definition dxfg_orcs.h:131
An entry of the symbols by an order source (Java Map.Entry<? extends IndexedEventSource,...
Definition dxfg_orcs.h:115