dxFeed Graal Native SDK 3.17.0-rc1
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
215DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_createConnection()")
229DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_getAddress()")
246DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_getUpdatePeriod()")
261DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_setUpdatePeriod()")
275DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_getState()")
291DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_getLastModified()")
309DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_start()")
329DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_close()")
348DXFG_DEPRECATED("use dxfg_v4_IpfPropertyChangeListener_new()")
366DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_addStateChangeListener()")
384DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_removeStateChangeListener()")
403DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileConnection_waitUntilCompleted()")
405
419DXFG_DEPRECATED("use dxfg_v4_instrument_profile_list_wrapper_release()")
431DXFG_DEPRECATED("use dxfg_v4_instrument_profile_list_release()")
433
447DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_new()")
463DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_getLastUpdateTime()")
482DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_updateInstrumentProfileHandle()")
503DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_updateInstrumentProfileHandles()")
521DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_removeGenerations()")
538DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_view()")
554DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_getExecutor()")
569DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_setExecutor()")
587DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_addUpdateListener()")
604DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_removeUpdateListener()")
606
619DXFG_DEPRECATED("use dxfg_v4_Iterable_InstrumentProfile_hasNext()")
637DXFG_DEPRECATED("use dxfg_v4_Iterable_InstrumentProfile_nextHandle()")
639
657DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileUpdateListener_new()")
659
671DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_new()")
685DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_getLastModified()")
699DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_wasComplete()")
722DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileAsHandles()")
748DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithUserAndPasswordAsHandles()")
773DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithTokenAsHandles()")
791DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_resolveSourceURL()")
813DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readWithAddressAsHandles()")
834DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readCompressedAsHandles()")
854DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readAsHandles()")
867DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_new()")
881DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_newCopy()")
898DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getType()")
916DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setType()")
933DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getSymbol()")
951DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setSymbol()")
968DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getDescription()")
986DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setDescription()")
1002DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getLocalSymbol()")
1019DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setLocalSymbol()")
1035DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getLocalDescription()")
1052DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setLocalDescription()")
1069DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getCountry()")
1087DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setCountry()")
1105DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getOPOL()")
1123DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setOPOL()")
1140DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getExchangeData()")
1158DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setExchangeData()")
1174DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getExchanges()")
1191DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setExchanges()")
1207DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getCurrency()")
1224DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setCurrency()")
1240DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getBaseCurrency()")
1257DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setBaseCurrency()")
1275DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getCFI()")
1294DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setCFI()")
1310DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getISIN()")
1327DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setISIN()")
1343DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getSEDOL()")
1360DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setSEDOL()")
1376DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getCUSIP()")
1393DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setCUSIP()")
1409DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getICB()")
1426DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setICB()")
1442DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getSIC()")
1459DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setSIC()")
1475DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getMultiplier()")
1492DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setMultiplier()")
1509DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getProduct()")
1527DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setProduct()")
1543DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getUnderlying()")
1560DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setUnderlying()")
1576DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getSPC()")
1593DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setSPC()")
1610DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getAdditionalUnderlyings()")
1628DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setAdditionalUnderlyings()")
1645DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getMMY()")
1663DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setMMY()")
1679DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getExpiration()")
1696DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setExpiration()")
1712DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getLastTrade()")
1729DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setLastTrade()")
1745DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getStrike()")
1762DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setStrike()")
1780DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getOptionType()")
1799DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setOptionType()")
1815DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getExpirationStyle()")
1832DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setExpirationStyle()")
1848DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getSettlementStyle()")
1865DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setSettlementStyle()")
1882DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getPriceIncrements()")
1900DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setPriceIncrements()")
1916DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getTradingHours()")
1933DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setTradingHours()")
1955DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getField()")
1978DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setField()")
1979int32_t dxfg_InstrumentProfile_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, const char *value);
1997DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getNumericField()")
2016DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setNumericField()")
2033DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getDateField()")
2052DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_setDateField()")
2053int32_t dxfg_InstrumentProfile_setDateField(graal_isolatethread_t *thread, dxfg_instrument_profile_t *ip, const char *name, int32_t value);
2066DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_getNonEmptyCustomFieldNames()")
2080DXFG_DEPRECATED("use dxfg_v4_InstrumentProfile_release()")
2082
2094
2194
2206
2222DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileField_formatNumber()")
2223int32_t dxfg_InstrumentProfileField_formatNumber(graal_isolatethread_t *thread, double number, DXFG_OUT char** result);
2224
2240DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileField_parseNumber()")
2241int32_t dxfg_InstrumentProfileField_parseNumber(graal_isolatethread_t *thread, const char* string, DXFG_OUT double* number);
2242
2258DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileField_formatDate()")
2259int32_t dxfg_InstrumentProfileField_formatDate(graal_isolatethread_t *thread, int32_t date, DXFG_OUT char** result);
2260
2277DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileField_parseDate()")
2278int32_t dxfg_InstrumentProfileField_parseDate(graal_isolatethread_t *thread, const char* string, DXFG_OUT int32_t* date);
2279
2292DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_new()")
2294
2312DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_newWithNamesAndValues()")
2313int32_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);
2314
2328DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_newCopy()")
2330
2347DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_newWithNamesAndValues()")
2349
2350
2366DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_getField()")
2368
2386DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_setField()")
2387int32_t dxfg_InstrumentProfileCustomFields_setField(graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, const char *name, const char* value);
2388
2406DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_getNumericField()")
2408
2425DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_setNumericField()")
2427
2445DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_getDateField()")
2447
2464DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_setDateField()")
2466
2484DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_getNonEmptyFieldNames(), the updated parameter is useless")
2486
2501DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCustomFields_getNonEmptyFieldNames()")
2503
2521DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_updateInstrumentProfile()")
2523
2545DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_updateInstrumentProfiles()")
2547
2567DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileCollector_updateInstrumentProfiles()")
2569
2587DXFG_DEPRECATED("use dxfg_v4_Iterable_InstrumentProfile_next()")
2589
2613DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFile()")
2615
2642DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithUserAndPassword()")
2643int32_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);
2644
2670DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithToken()")
2672
2695DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFile()")
2697
2723DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithUserAndPassword()")
2724int32_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);
2725
2750DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readFromFileWithToken()")
2752
2773DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_read()")
2775
2798DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readWithAddress()")
2800
2820DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_read()")
2822
2844DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readWithAddress()")
2846
2868DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readCompressed()")
2870
2891DXFG_DEPRECATED("use dxfg_v4_InstrumentProfileReader_readCompressed()")
2893
2907DXFG_DEPRECATED("use dxfg_v4_instrument_profile_data_release()")
2909
2922DXFG_DEPRECATED("use dxfg_v4_instrument_profile_data_list_release()")
2924
2936DXFG_DEPRECATED("use dxfg_v4_instrument_profile_data_list_release()")
2938 // end of InstrumentProfile
2940
2941#ifdef __cplusplus
2942}
2943#endif
2944
2945#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:60
#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:2200
dxfg_instrument_profile2_t ** elements
Definition dxfg_ipf.h:2204
int32_t size
Definition dxfg_ipf.h:2202
The fields of an instrument profile in a plain C structure, with the handle of its custom fields.
Definition dxfg_ipf.h:2119
char * symbol
Definition dxfg_ipf.h:2123
dxfg_instrument_profile_custom_fields_t * instrument_profile_custom_fields
Definition dxfg_ipf.h:2187
char * cusip
Definition dxfg_ipf.h:2149
double multiplier
Definition dxfg_ipf.h:2155
double spc
Definition dxfg_ipf.h:2161
char * country
Definition dxfg_ipf.h:2131
char * underlying
Definition dxfg_ipf.h:2159
char * base_currency
Definition dxfg_ipf.h:2141
char * product
Definition dxfg_ipf.h:2157
char * opol
Definition dxfg_ipf.h:2133
char * isin
Definition dxfg_ipf.h:2145
char * sedol
Definition dxfg_ipf.h:2147
char * currency
Definition dxfg_ipf.h:2139
char * exchange_data
Definition dxfg_ipf.h:2135
char * cfi
Definition dxfg_ipf.h:2143
char * local_description
Definition dxfg_ipf.h:2129
int32_t sic
Definition dxfg_ipf.h:2153
double strike
Definition dxfg_ipf.h:2171
char * exchanges
Definition dxfg_ipf.h:2137
char * settlement_style
Definition dxfg_ipf.h:2177
int32_t instrument_profile_custom_fields_hash
Definition dxfg_ipf.h:2192
int32_t icb
Definition dxfg_ipf.h:2151
int32_t expiration
Definition dxfg_ipf.h:2167
char * additional_underlyings
Definition dxfg_ipf.h:2163
char * description
Definition dxfg_ipf.h:2125
char * type
Definition dxfg_ipf.h:2121
char * trading_hours
Definition dxfg_ipf.h:2181
char * price_increments
Definition dxfg_ipf.h:2179
char * local_symbol
Definition dxfg_ipf.h:2127
char * expiration_style
Definition dxfg_ipf.h:2175
int32_t last_trade
Definition dxfg_ipf.h:2169
char * option_type
Definition dxfg_ipf.h:2173
char * mmy
Definition dxfg_ipf.h:2165
A handle of a Java InstrumentProfileCustomFields object; release it with dxfg_JavaObjectHandler_relea...
Definition dxfg_ipf.h:2090
dxfg_java_object_handler handler
Definition dxfg_ipf.h:2092
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