dxFeed Graal Native SDK 3.11.0
Loading...
Searching...
No Matches
dxfg_ipf.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_IPF_H
10#define DXFG_IPF_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 "graal_isolate.h"
22#include "dxfg_javac.h"
23
29
42
54
68
89
107
119
120
133
146
160
172
196typedef void (*dxfg_ipf_update_listener_function)(graal_isolatethread_t *thread, dxfg_iterable_ip_t *profiles, void *user_data);
197
366
388
531
558
575
1667int32_t dxfg_InstrumentProfile_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, const char *value);
1729int32_t dxfg_InstrumentProfile_setDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, int32_t value);
1752
1764
1860
1872
1886int32_t dxfg_InstrumentProfileField_formatNumber(graal_isolatethread_t *thread, double number, DXFG_OUT char** result);
1887
1901int32_t dxfg_InstrumentProfileField_parseNumber(graal_isolatethread_t *thread, const char* string, DXFG_OUT double* number);
1902
1916int32_t dxfg_InstrumentProfileField_formatDate(graal_isolatethread_t *thread, int32_t date, DXFG_OUT char** result);
1917
1932int32_t dxfg_InstrumentProfileField_parseDate(graal_isolatethread_t *thread, const char* string, DXFG_OUT int32_t* date);
1933
1945
1961int32_t dxfg_InstrumentProfileCustomFields_new2(graal_isolatethread_t *thread, const char** custom_fields_array, int32_t size, DXFG_OUT dxfg_instrument_profile_custom_fields_t **custom_fields);
1962
1975
1991
1992
2007
2023int32_t dxfg_InstrumentProfileCustomFields_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, const char* value);
2024
2041
2057
2074
2090
2107DXFG_DEPRECATED("use dxfg_InstrumentProfileCustomFields_getNonEmptyFieldNames(), the updated parameter is useless")
2109
2123
2140
2161
2180
2197
2220
2245int32_t dxfg_InstrumentProfileReader_readFromFile5(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, const char *user, const char *password, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t* size);
2246
2271
2293
2317int32_t dxfg_InstrumentProfileReader_readFromFile8(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, const char *user, const char *password, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles);
2318
2342
2362
2384
2403
2424
2445
2465
2478
2490
2501 // end of InstrumentProfile
2503
2504#ifdef __cplusplus
2505}
2506#endif
2507
2508#endif // DXFG_IPF_H
dxFeed Graal Native SDK Common 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:59
#define DXFG_OUT
Definition dxfg_common.h:37
int32_t dxfg_InstrumentProfileCustomFields_new3(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *source, DXFG_OUT dxfg_instrument_profile_custom_fields_t **custom_fields)
Creates custom fields as a copy of other custom fields.
int32_t dxfg_InstrumentProfileCollector_setExecutor(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_executor_t *executor)
Changes the executor that calls the update listeners of the collector.
int32_t dxfg_InstrumentProfile_setCurrency(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the currency of quotation, pricing and trading of the instrument profile.
int64_t dxfg_InstrumentProfileConnection_getLastModified(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Returns the last modification time of the instrument profiles in milliseconds, or 0 if it is unknown.
int32_t dxfg_InstrumentProfileCustomFields_new2(graal_isolatethread_t *thread, const char **custom_fields_array, int32_t size, DXFG_OUT dxfg_instrument_profile_custom_fields_t **custom_fields)
Creates custom fields from an array of strings: the names and the values, consecutive.
int32_t dxfg_CList_InstrumentProfile_wrapper_release(graal_isolatethread_t *thread, dxfg_instrument_profile_list *ips)
Releases the list structure only and keeps the instrument profile handles in it.
const char * dxfg_InstrumentProfile_getCFI(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the Classification of Financial Instruments code of the instrument profile.
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_read2(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, const char *address)
Reads and returns the instrument profiles from an input stream.
int32_t dxfg_InstrumentProfile_setUnderlying(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the primary underlying symbol for options of the instrument profile.
int32_t dxfg_InstrumentProfile_setExpirationStyle(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the expiration cycle style of the instrument profile.
int32_t dxfg_InstrumentProfile_setSPC(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, double value)
Sets the shares per contract for options of the instrument profile.
const char * dxfg_InstrumentProfile_getAdditionalUnderlyings(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the additional underlyings for options, including additional cash of the instrument profile.
int32_t dxfg_InstrumentProfile_setISIN(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the International Securities Identifying Number of the instrument profile.
int32_t dxfg_InstrumentProfile_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, const char *value)
Sets the value of a field of the instrument profile by the name of the field, in the text form.
double dxfg_InstrumentProfile_getMultiplier(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the market value multiplier of the instrument profile.
const char * dxfg_InstrumentProfile_getLocalSymbol(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the identifier of the instrument in the national language of the instrument profile.
int32_t dxfg_InstrumentProfile_setOPOL(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the official Place Of Listing, the organization that has listed the instrument of the instrument...
int32_t dxfg_InstrumentProfile_setStrike(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, double value)
Sets the strike price for options of the instrument profile.
int32_t dxfg_InstrumentProfileCollector_updateInstrumentProfiles2(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, const dxfg_instrument_profile2_t *instrument_profiles, int32_t size, dxfg_java_object_handler *generation)
Updates an array of instrument profiles in the collector from structures and assigns them a generatio...
double dxfg_InstrumentProfile_getSPC(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the shares per contract for options of the instrument profile.
int32_t dxfg_InstrumentProfileCollector_removeGenerations(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_java_object_handler_list *generations)
Removes the instrument profiles whose generation tags are in a list.
const char * dxfg_InstrumentProfile_getCUSIP(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the Committee on Uniform Security Identification Procedures code of the instrument profile.
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_readFromFile2(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, const char *user, const char *password)
Reads and returns the instrument profiles from an address with basic authentication credentials.
int32_t dxfg_InstrumentProfile_getSIC(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the Standard Industrial Classification of the instrument profile.
int32_t dxfg_InstrumentProfileReader_readFromFile6(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, dxfg_auth_token_t *token, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from an address with token credentials as structures.
int32_t dxfg_InstrumentProfileCollector_updateInstrumentProfiles(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_instrument_profile_list *ips, dxfg_java_object_handler *generation)
Updates a list of instrument profiles in the collector and assigns them a generation tag.
int32_t dxfg_InstrumentProfile_setDescription(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the description of the instrument of the instrument profile.
int32_t dxfg_instrument_profiles_array_free(graal_isolatethread_t *thread, dxfg_instrument_profile2_t *instrument_profiles, int32_t size)
Frees an array of the structures of instrument profiles that the SDK has filled, with the strings of ...
dxfg_iterable_ip_t * dxfg_InstrumentProfileCollector_view(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector)
Returns an iterator over the instrument profiles of the collector.
int32_t dxfg_InstrumentProfileCollector_updateInstrumentProfile2(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_instrument_profile2_t *instrument_profile)
Updates one instrument profile in the collector from a structure.
int32_t dxfg_InstrumentProfileConnection_setUpdatePeriod(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection, int64_t newValue)
Changes the update period of the connection.
int32_t dxfg_InstrumentProfile_setLocalDescription(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the description of the instrument in the national language of the instrument profile.
int32_t dxfg_InstrumentProfile_setTradingHours(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the trading hours specification of the instrument profile.
int32_t dxfg_InstrumentProfile_setSettlementStyle(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the settlement price determination style of the instrument profile.
int32_t dxfg_InstrumentProfileReader_readFromFile9(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, dxfg_auth_token_t *token, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from an address with token credentials as structures.
const char * dxfg_InstrumentProfile_getLocalDescription(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the description of the instrument in the national language of the instrument profile.
const char * dxfg_InstrumentProfile_getMMY(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the maturity month-year as provided for the corresponding FIX tag (200) of the instrument pro...
int32_t dxfg_InstrumentProfile_setCountry(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the country of origin (incorporation) of the corresponding company or parent entity of the instr...
int32_t dxfg_InstrumentProfileConnection_addStateChangeListener(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection, dxfg_ipf_connection_state_change_listener_t *listener)
Adds a listener of the state changes of the connection.
int32_t dxfg_InstrumentProfile_setICB(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, int32_t value)
Sets the Industry Classification Benchmark of the instrument profile.
const char * dxfg_InstrumentProfile_getISIN(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the International Securities Identifying Number of the instrument profile.
int32_t dxfg_InstrumentProfile_setExpiration(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, int32_t value)
Sets the day id of the expiration of the instrument profile.
int32_t dxfg_InstrumentProfileReader_read5(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from an input stream with plain (not compressed) data as st...
int32_t dxfg_InstrumentProfile_setProduct(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the product for futures and options on futures (the name of the underlying asset) of the instrum...
int32_t dxfg_InstrumentProfileReader_readFromFile8(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, const char *user, const char *password, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from an address with basic authentication credentials as st...
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_readFromFile(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address)
Reads and returns the instrument profiles from an address.
int32_t dxfg_InstrumentProfileCustomFields_new4(graal_isolatethread_t *thread, const dxfg_string_list *custom_fields_string_list, DXFG_OUT dxfg_instrument_profile_custom_fields_t **custom_fields)
Creates custom fields from a list of strings: the names and the values, consecutive.
int32_t dxfg_InstrumentProfile_getDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name)
Returns the day id of a date field of the instrument profile by the name of the field.
int32_t dxfg_InstrumentProfileField_parseDate(graal_isolatethread_t *thread, const char *string, DXFG_OUT int32_t *date)
Parses a day id from the text form that is used in the instrument profile fields.
int32_t dxfg_InstrumentProfile_setLocalSymbol(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the identifier of the instrument in the national language of the instrument profile.
int32_t dxfg_InstrumentProfile_release(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Releases an instrument profile handle.
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_read(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is)
Reads and returns the instrument profiles from an input stream with plain (not compressed) data.
dxfg_instrument_profile_t * dxfg_InstrumentProfile_new2(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Creates an instrument profile as a copy of another instrument profile.
int32_t dxfg_InstrumentProfile_setNumericField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, double value)
Sets the value of a field of the instrument profile by the name of the field, in the numeric form.
const char * dxfg_InstrumentProfile_getBaseCurrency(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the base currency of a currency pair (FOREX instruments) of the instrument profile.
double dxfg_InstrumentProfile_getStrike(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the strike price for options of the instrument profile.
int32_t dxfg_InstrumentProfile_setSEDOL(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the Stock Exchange Daily Official List code of the instrument profile.
const char * dxfg_InstrumentProfile_getSettlementStyle(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the settlement price determination style of the instrument profile.
int32_t dxfg_InstrumentProfileCollector_addUpdateListener(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_ipf_update_listener_t *listener)
Adds a listener that is notified about any updates in the set of the instrument profiles.
dxfg_ipf_connection_state_t
The state of an instrument profile connection.
Definition dxfg_ipf.h:77
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_readCompressed(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is)
Reads and returns the instrument profiles from a compressed input stream.
int32_t dxfg_InstrumentProfile_getExpiration(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the day id of the expiration of the instrument profile.
int32_t dxfg_InstrumentProfileConnection_close(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Closes the connection.
const char * dxfg_InstrumentProfile_getTradingHours(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the trading hours specification of the instrument profile.
const char * dxfg_InstrumentProfile_getExchanges(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the list of the exchanges where the instrument is quoted or traded of the instrument profile.
int32_t dxfg_InstrumentProfile_setMMY(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the maturity month-year as provided for the corresponding FIX tag (200) of the instrument profil...
int32_t dxfg_Iterable_InstrumentProfile_hasNext(graal_isolatethread_t *thread, dxfg_iterable_ip_t *iterable_ip)
Checks whether the iterator has a next instrument profile.
dxfg_ipf_update_listener_t * dxfg_InstrumentProfileUpdateListener_new(graal_isolatethread_t *thread, dxfg_ipf_update_listener_function user_func, void *user_data)
Creates a listener of the updates of a collector that calls a C function.
int32_t dxfg_InstrumentProfileCollector_updateInstrumentProfiles3(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, const dxfg_instrument_profile2_list_t *instrument_profiles, dxfg_java_object_handler *generation)
Updates a list of instrument profiles in the collector from structures and assigns them a generation ...
const char * dxfg_InstrumentProfile_getPriceIncrements(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the minimum allowed price increments with the corresponding price ranges of the instrument pr...
int32_t dxfg_InstrumentProfileCollector_updateInstrumentProfile(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_instrument_profile_t *ip)
Updates one instrument profile in the collector.
int32_t dxfg_InstrumentProfileReader_readFromFile5(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, const char *user, const char *password, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from an address with basic authentication credentials as st...
int32_t dxfg_InstrumentProfileField_parseNumber(graal_isolatethread_t *thread, const char *string, DXFG_OUT double *number)
Parses a number from the text form that is used in the instrument profile fields.
int32_t dxfg_instrument_profile2_list_free(graal_isolatethread_t *thread, dxfg_instrument_profile2_list_t *instrument_profiles)
Frees a list of the structures of instrument profiles that the SDK has filled, with the structures in...
const char * dxfg_InstrumentProfile_getExchangeData(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the exchange-specific data required to identify the instrument when communicating with the ex...
int32_t dxfg_InstrumentProfileField_formatDate(graal_isolatethread_t *thread, int32_t date, DXFG_OUT char **result)
Formats a day id to the text form that is used in the instrument profile fields.
const char * dxfg_InstrumentProfile_getCountry(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the country of origin (incorporation) of the corresponding company or parent entity of the in...
int32_t dxfg_InstrumentProfileConnection_start(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Starts the connection.
const char * dxfg_InstrumentProfile_getUnderlying(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the primary underlying symbol for options of the instrument profile.
const char * dxfg_InstrumentProfile_getSymbol(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the identifier of the instrument of the instrument profile.
const char * dxfg_InstrumentProfile_getSEDOL(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the Stock Exchange Daily Official List code of the instrument profile.
const char * dxfg_InstrumentProfile_getDescription(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the description of the instrument of the instrument profile.
int32_t dxfg_InstrumentProfileConnection_removeStateChangeListener(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection, dxfg_ipf_connection_state_change_listener_t *listener)
Removes a listener of the state changes of the connection.
const char * dxfg_InstrumentProfile_getCurrency(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the currency of quotation, pricing and trading of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_getNumericField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, DXFG_OUT double *result)
Returns the numeric value of a custom field by the name.
int32_t dxfg_InstrumentProfileReader_readCompressed2(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from a compressed input stream as structures.
int32_t dxfg_InstrumentProfileCustomFields_setNumericField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, double value)
Sets the numeric value of a custom field by the name.
int32_t dxfg_InstrumentProfile_setPriceIncrements(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the minimum allowed price increments with the corresponding price ranges of the instrument profi...
const char * dxfg_InstrumentProfile_getOPOL(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the official Place Of Listing, the organization that has listed the instrument of the instrum...
int32_t dxfg_InstrumentProfile_setLastTrade(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, int32_t value)
Sets the day id of the last trading day of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_setDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, int32_t value)
Sets the day id of a date custom field by the name.
int32_t dxfg_InstrumentProfileReader_readCompressed3(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from a compressed input stream as structures.
int32_t dxfg_InstrumentProfileField_formatNumber(graal_isolatethread_t *thread, double number, DXFG_OUT char **result)
Formats a number to the text form that is used in the instrument profile fields.
const char * dxfg_InstrumentProfile_getProduct(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the product for futures and options on futures (the name of the underlying asset) of the inst...
void(*) dxfg_ipf_connection_state_change_listener_func(graal_isolatethread_t *thread, dxfg_ipf_connection_state_t old_state, dxfg_ipf_connection_state_t new_state, void *user_data)
The function of a dxfg_ipf_connection_state_change_listener_t: called when the state of the connectio...
Definition dxfg_ipf.h:106
dxfg_ipf_connection_state_change_listener_t * dxfg_IpfPropertyChangeListener_new(graal_isolatethread_t *thread, dxfg_ipf_connection_state_change_listener_func user_func, void *user_data)
Creates a listener of the state changes of a connection that calls a C function.
dxfg_instrument_profile_t * dxfg_InstrumentProfile_new(graal_isolatethread_t *thread)
Creates an instrument profile with the default values: empty strings and zero numbers.
int32_t dxfg_InstrumentProfileCustomFields_addNonEmptyFieldNames(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, DXFG_OUT dxfg_string_list **target_field_names, DXFG_OUT int32_t *updated)
Returns the names of the non-empty custom fields.
dxfg_string_list * dxfg_InstrumentProfile_getNonEmptyCustomFieldNames(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the names of the non-empty custom fields of the instrument profile.
int32_t dxfg_InstrumentProfile_setExchangeData(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the exchange-specific data required to identify the instrument when communicating with the excha...
int32_t dxfg_InstrumentProfileCustomFields_getField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, DXFG_OUT char **result)
Returns the value of a custom field by the name.
int32_t dxfg_InstrumentProfile_setCUSIP(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the Committee on Uniform Security Identification Procedures code of the instrument profile.
const char * dxfg_InstrumentProfile_getOptionType(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the type of the option of the instrument profile.
int32_t dxfg_InstrumentProfile_setMultiplier(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, double value)
Sets the market value multiplier of the instrument profile.
int32_t dxfg_InstrumentProfileReader_readFromFile4(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from an address as structures.
dxfg_instrument_profile_reader_t * dxfg_InstrumentProfileReader_new(graal_isolatethread_t *thread)
Creates an instrument profile reader.
int32_t dxfg_InstrumentProfile_setSIC(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, int32_t value)
Sets the Standard Industrial Classification of the instrument profile.
int32_t dxfg_Iterable_InstrumentProfile_next2(graal_isolatethread_t *thread, dxfg_iterable_ip_t *iterable_ip, DXFG_OUT dxfg_instrument_profile2_t **instrument_profile)
Returns the next instrument profile of the iterator as a structure.
int32_t dxfg_InstrumentProfile_getLastTrade(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the day id of the last trading day of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_getDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, DXFG_OUT int32_t *result)
Returns the day id of a date custom field by the name.
int32_t dxfg_InstrumentProfileReader_wasComplete(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader)
Checks whether the instrument profile file was fully read by the last read operation.
int64_t dxfg_InstrumentProfileCollector_getLastUpdateTime(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector)
Returns the last modification time of the instrument profiles of the collector in milliseconds.
int32_t dxfg_InstrumentProfile_setDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, int32_t value)
Sets the day id of a date field of the instrument profile by the name of the field.
int32_t dxfg_CList_InstrumentProfile_release(graal_isolatethread_t *thread, dxfg_instrument_profile_list *ips)
Releases the list and all the instrument profile handles in it.
int64_t dxfg_InstrumentProfileConnection_getUpdatePeriod(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Returns the update period of the connection in milliseconds.
int64_t dxfg_InstrumentProfileReader_getLastModified(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader)
Returns the last modification time in milliseconds from the last read from an address,...
dxfg_ipf_collector_t * dxfg_InstrumentProfileCollector_new(graal_isolatethread_t *thread)
Creates an instrument profile collector.
int32_t dxfg_InstrumentProfile_setExchanges(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the list of the exchanges where the instrument is quoted or traded of the instrument profile.
int32_t dxfg_InstrumentProfile_setOptionType(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the type of the option of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_getNonEmptyFieldNames(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, DXFG_OUT dxfg_string_list **target_field_names)
Returns the names of the non-empty custom fields.
int32_t dxfg_InstrumentProfile_setAdditionalUnderlyings(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the additional underlyings for options, including additional cash of the instrument profile.
void(*) dxfg_ipf_update_listener_function(graal_isolatethread_t *thread, dxfg_iterable_ip_t *profiles, void *user_data)
The function of a dxfg_ipf_update_listener_t: called when the set of the instrument profiles of the c...
Definition dxfg_ipf.h:196
int32_t dxfg_InstrumentProfileReader_readFromFile7(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from an address as structures.
int32_t dxfg_instrument_profile_free(graal_isolatethread_t *thread, dxfg_instrument_profile2_t *instrument_profile)
Frees the structure of an instrument profile that the SDK has filled, and releases its custom fields ...
const char * dxfg_InstrumentProfileConnection_getAddress(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Returns the address of the connection, without the additional options given as a part of it.
int32_t dxfg_InstrumentProfileReader_read6(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, const char *address, DXFG_OUT dxfg_instrument_profile2_list_t **instrument_profiles)
Reads and returns the instrument profiles from an input stream as structures.
double dxfg_InstrumentProfile_getNumericField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name)
Returns the value of a field of the instrument profile by the name of the field, in the numeric form.
int32_t dxfg_InstrumentProfileReader_read4(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, const char *address, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from an input stream as structures.
dxfg_ipf_connection_t * dxfg_InstrumentProfileConnection_createConnection(graal_isolatethread_t *thread, const char *address, dxfg_ipf_collector_t *collector)
Creates an instrument profile connection to an address that pushes the profiles into a collector.
int32_t dxfg_InstrumentProfile_setSymbol(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the identifier of the instrument of the instrument profile.
dxfg_executor_t * dxfg_InstrumentProfileCollector_getExecutor(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector)
Returns the executor that calls the update listeners of the collector.
const char * dxfg_InstrumentProfile_getType(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the type of the instrument of the instrument profile.
int32_t dxfg_InstrumentProfileCollector_removeUpdateListener(graal_isolatethread_t *thread, dxfg_ipf_collector_t *collector, dxfg_ipf_update_listener_t *listener)
Removes a listener that was added with dxfg_InstrumentProfileCollector_addUpdateListener().
const char * dxfg_InstrumentProfileReader_resolveSourceURL(graal_isolatethread_t *thread, const char *address)
Converts an address specification into the URL that is read by the dxfg_InstrumentProfileReader_readF...
dxfg_instrument_profile_t * dxfg_Iterable_InstrumentProfile_next(graal_isolatethread_t *thread, dxfg_iterable_ip_t *iterable_ip)
Returns the next instrument profile of the iterator as a handle.
const char * dxfg_InstrumentProfile_getExpirationStyle(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the expiration cycle style of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, const char *value)
Sets the value of a custom field by the name.
int32_t dxfg_InstrumentProfile_setCFI(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the Classification of Financial Instruments code of the instrument profile.
dxfg_ipf_connection_state_t dxfg_InstrumentProfileConnection_getState(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection)
Returns the state of the connection.
const char * dxfg_InstrumentProfile_getField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name)
Returns the value of a field of the instrument profile by the name of the field, in the text form.
int32_t dxfg_InstrumentProfileReader_read3(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, dxfg_input_stream_t *is, DXFG_OUT dxfg_instrument_profile2_t **instrument_profiles, DXFG_OUT int32_t *size)
Reads and returns the instrument profiles from an input stream with plain (not compressed) data as st...
int32_t dxfg_InstrumentProfile_setType(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the type of the instrument of the instrument profile.
int32_t dxfg_InstrumentProfile_getICB(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip)
Returns the Industry Classification Benchmark of the instrument profile.
int32_t dxfg_InstrumentProfileConnection_waitUntilCompleted(graal_isolatethread_t *thread, dxfg_ipf_connection_t *connection, int64_t timeoutInMs)
Waits until the initial snapshot of the instrument profiles is fully read, for at most the timeout.
int32_t dxfg_InstrumentProfile_setBaseCurrency(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *value)
Sets the base currency of a currency pair (FOREX instruments) of the instrument profile.
int32_t dxfg_InstrumentProfileCustomFields_new(graal_isolatethread_t *thread, DXFG_OUT dxfg_instrument_profile_custom_fields_t **custom_fields)
Creates empty custom fields.
dxfg_instrument_profile_list * dxfg_InstrumentProfileReader_readFromFile3(graal_isolatethread_t *thread, dxfg_instrument_profile_reader_t *reader, const char *address, dxfg_auth_token_t *token)
Reads and returns the instrument profiles from an address with token credentials.
@ DXFG_IPF_CONNECTION_STATE_CONNECTED
Definition dxfg_ipf.h:83
@ DXFG_IPF_CONNECTION_STATE_CLOSED
Definition dxfg_ipf.h:87
@ DXFG_IPF_CONNECTION_STATE_CONNECTING
Definition dxfg_ipf.h:81
@ DXFG_IPF_CONNECTION_STATE_NOT_CONNECTED
Definition dxfg_ipf.h:79
@ DXFG_IPF_CONNECTION_STATE_COMPLETED
Definition dxfg_ipf.h:85
A handle of a Java AuthToken object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:184
A handle of a Java Executor object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:126
A handle of a Java InputStream object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:139
A list of dxfg_instrument_profile2_t structures.
Definition dxfg_ipf.h:1866
dxfg_instrument_profile2_t ** elements
Definition dxfg_ipf.h:1870
int32_t size
Definition dxfg_ipf.h:1868
The fields of an instrument profile in a plain C structure, with the handle of its custom fields.
Definition dxfg_ipf.h:1785
char * symbol
Definition dxfg_ipf.h:1789
dxfg_instrument_profile_custom_fields_t * instrument_profile_custom_fields
Definition dxfg_ipf.h:1853
char * cusip
Definition dxfg_ipf.h:1815
double multiplier
Definition dxfg_ipf.h:1821
double spc
Definition dxfg_ipf.h:1827
char * country
Definition dxfg_ipf.h:1797
char * underlying
Definition dxfg_ipf.h:1825
char * base_currency
Definition dxfg_ipf.h:1807
char * product
Definition dxfg_ipf.h:1823
char * opol
Definition dxfg_ipf.h:1799
char * isin
Definition dxfg_ipf.h:1811
char * sedol
Definition dxfg_ipf.h:1813
char * currency
Definition dxfg_ipf.h:1805
char * exchange_data
Definition dxfg_ipf.h:1801
char * cfi
Definition dxfg_ipf.h:1809
char * local_description
Definition dxfg_ipf.h:1795
int32_t sic
Definition dxfg_ipf.h:1819
double strike
Definition dxfg_ipf.h:1837
char * exchanges
Definition dxfg_ipf.h:1803
char * settlement_style
Definition dxfg_ipf.h:1843
int32_t instrument_profile_custom_fields_hash
Definition dxfg_ipf.h:1858
int32_t icb
Definition dxfg_ipf.h:1817
int32_t expiration
Definition dxfg_ipf.h:1833
char * additional_underlyings
Definition dxfg_ipf.h:1829
char * description
Definition dxfg_ipf.h:1791
char * type
Definition dxfg_ipf.h:1787
char * trading_hours
Definition dxfg_ipf.h:1847
char * price_increments
Definition dxfg_ipf.h:1845
char * local_symbol
Definition dxfg_ipf.h:1793
char * expiration_style
Definition dxfg_ipf.h:1841
int32_t last_trade
Definition dxfg_ipf.h:1835
char * option_type
Definition dxfg_ipf.h:1839
char * mmy
Definition dxfg_ipf.h:1831
A handle of a Java InstrumentProfileCustomFields object; release it with dxfg_JavaObjectHandler_relea...
Definition dxfg_ipf.h:1760
dxfg_java_object_handler handler
Definition dxfg_ipf.h:1762
A list of instrument profile handles.
Definition dxfg_ipf.h:140
dxfg_instrument_profile_t ** elements
Definition dxfg_ipf.h:144
int32_t size
Definition dxfg_ipf.h:142
A handle of a Java InstrumentProfileReader object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_ipf.h:50
dxfg_java_object_handler handler
Definition dxfg_ipf.h:52
A handle of a Java InstrumentProfile object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_ipf.h:129
dxfg_java_object_handler handler
Definition dxfg_ipf.h:131
A handle of a Java InstrumentProfileCollector object; release it with dxfg_JavaObjectHandler_release(...
Definition dxfg_ipf.h:115
dxfg_java_object_handler handler
Definition dxfg_ipf.h:117
A handle of a Java PropertyChangeListener object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_ipf.h:64
dxfg_java_object_handler handler
Definition dxfg_ipf.h:66
A handle of a Java InstrumentProfileConnection object; release it with dxfg_JavaObjectHandler_release...
Definition dxfg_ipf.h:38
dxfg_java_object_handler handler
Definition dxfg_ipf.h:40
A handle of a Java InstrumentProfileUpdateListener object; release it with dxfg_JavaObjectHandler_rel...
Definition dxfg_ipf.h:156
dxfg_java_object_handler handler
Definition dxfg_ipf.h:158
A handle of a Java Iterator object over instrument profiles; release it with dxfg_JavaObjectHandler_r...
Definition dxfg_ipf.h:168
dxfg_java_object_handler handler
Definition dxfg_ipf.h:170
A list of handles of Java objects.
Definition dxfg_javac.h:95
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 list of strings.
Definition dxfg_javac.h:109