dxFeed C API and dxFeed C# API version 7.0.0 with fixes and improvements are already available.
C API Changelog
- [Breaking changes] Extended the Trade and Profile events to support additional fields from QD records
- the
_52_high_price&_52_low_priceProfileevent fields were renamed tohigh_52_week_price&low_52_week_pricerespectively - the
changefield was added toTradeETHevent
- the
- Extended the Trade and TradeETH events with new field dayId
- the
day_idfield was added to thedx_trade_t,dx_trade_eth_tanddxf_trade_tstructures.day_id– identifier of the day thatTradeorTradeETHrepresents. Identifier of the day is the number of days passed since January 1, 1970.
- the
- Extended the Underlying and Series events with putVolume and callVolume fields
- the
call_volumeandput_volumefields were added to thedx_series_t,dxf_series_t,dx_underlying_tanddxf_underlying_tstructures.call_volume– call options traded volume for a day.put_volume– put options traded volume for a day - the
option_volumefield was added to thedxf_series_t,dxf_underlying_tstructures.option_volume– options traded volume for a day.
- the
- [Samples] Subscription methods are now called in a more correct order. Fixed output of hostnames.
- Added the ability to configure clientserver heartbeat parameters
- The default heartbeat period (DEFAULT_HEARTBEAT_PERIOD) is set to 10 seconds. Which corresponds to the defaults of Java API. The default heartbeat timeout remains the same (120 seconds).
- Added the ability to load a configuration from a file or a string:
The config file sample: Sample
The config file properties:network.heartbeatPeriod— The period between sending heartbeat messages (default value = 10 seconds)network.heartbeatTimeout— Timeout for receiving messages from the server, after which the api tries to change the server and/or reconnect (default value = 120 seconds)
- Added the new function
dxf_load_config_from_file(const char* file_name)that initializes the C-API configuration and loads a config (in TOML format) from a file.file_name— The config (in TOML format) file name
- Added the new function
dxf_load_config_from_string(const char* config)that initializes the C-API configuration and loads a config (in TOML format) from a string.config— The config (in TOML format) string
- Added the new function
dxf_load_config_from_wstring(dxf_const_string_t config)that initializes the C-API configuration and loads a config (in TOML format) from a wide string (dxf_const_string_t)config— The config (in TOML format) string For the successful application of the configuration, these functions must be called before creating any connection. Examples of using functions can be found in their descriptions and in the generated documentation.
C# API Changelog
- [Breaking changes] Extended Trade and Profile events to support additional fields from QD records
- the
_52HighPrice&_52LowPriceIDxProfile(andNativeProfile) properties were renamed toHigh52WeekPrice&Low52WeekPricerespectively - the
Changeproperty was added to theIDxTradeETHandNativeTradeETHclasses
- the
- Extended the Trade and TradeETH events with new field dayId
- the
DayIdproperty was added to theIDxTrade,IDxTradeETHinterfaces andNativeTrade,NativeTradeETHclasses.DayId– identifier of the day thatTradeorTradeETHrepresents. Identifier of the day is the number of days passed since January 1, 1970.
- the
- Extended the Underlying and Series events with putVolume and callVolume fields
- the
CallVolume,PutVolumeandOptionVolumeproperties were added to theIDxUnderlying,IDxSeriesinterfaces andNativeUnderlying,NativeSeriesclasses.CallVolume– call options traded volume for a day.PutVolume– put options traded volume for a dayOptionVolume– options traded volume for a day.
- the
- Added the ability to configure clientserver heartbeat parameters
- The default heartbeat period is set to 10 seconds. Which corresponds to the defaults of Java API. The default heartbeat timeout remains the same (120 seconds).
- Added the ability to load a configuration from a file or a string:
The config file sample: Sample
The config file properties:network.heartbeatPeriod— The period between sending heartbeat messages (default value = 10 seconds)network.heartbeatTimeout— Timeout for receiving messages from the server, after which the api tries to change the server and/or reconnect (default value = 120 seconds)
- Added the new function
NativeTools.LoadConfigFromFile(string fileName)that initializes the C\C#-API configuration and loads a config (in TOML format) from a file.fileName— The config (in TOML format) file name
- Added the new function
NativeTools.LoadConfigFromString(string config)that initializes the C\C#-API configuration and loads a config (in TOML format) from a string.config— The config (in TOML format) string
For the successful application of the configuration, these functions must be called before creating any connection.
Examples of using functions can be found in their descriptions and in the generated documentation.