We released dxFeed C API 5.2.0 to improve its functionality and simplify its usage. In this version, we revised all records and events that are now synchronized with dxFeed Java API. New version of dxFeed C API is already available.
Note: These changes are backward incompatible. Please contact support@dxfeed.com if you have any questions.
Event Change List
Common changes:
- All bit-manipulating defines used for decoding event flags have been removed. All flags are decoded to appropriate fields of corresponding events by API itself. On-wire flags are stored to
raw_flagsfields, but must be used only for debugging. - Bit layouts of flags are considered implementation detail now.
- All indexed events have
event_flagsnow. - All index calculations are now compatible with dxFeed Java API.
- All public bit flags are replaced with enums.
- All inner (record-only) fields have been removed from events.
enum dxf_direction_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.Direction.enum dxf_price_type_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.PriceType.enum dxf_trading_status_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.ShortSaleRestriction.enum dxf_order_scope_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.Scope.enum dxf_order_side_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.Side.enum dxf_short_sale_restriction_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.TradingStatus.enum dxf_tns_type_thas been added. It is equivalent to Java APIcom.dxfeed.event.market.TimeAndSaleType.
dxf_trade_t
- It is a separate structure now, not alias for
dx_trade_t. - Fields
sequenceandtime_nanoshave been added. - Fields
sizeandticknow have typeintas they are transmitted. - Field
day_turnoverhas been added. - Field
directionhas been added. - Field
is_ethhas been added. - Field
flagshas been renamed toraw_flags.
dxf_trade_eth_t
- This event has been removed. Please, use
dxf_trade_t structureinstead. - Fields
tickandchangewill be zeroed for ETH trades.
dfx_quote_t
- It is a separate structure now, not alias for
dx_trade_t. - Fields
time,sequenceandtime_nanoshave been added. - Fields
ask_sizeandbid_sizenow have typeint, as they are transmitted.
dxf_summary_t
- It is a separate structure now, not alias for
dx_summary_t. - Field
prev_day_volumehas been added. - Field
flagshave been renamed toraw_flags. - Fields
day_close_price_typeandprev_day_close_price_typenow havedxf_price_type_ttype. - Field
ssrofdxf_short_sale_restriction_ttype has been added.
dxf_profile_t
- It is a separate structure now, not alias for
dx_profile_t. - Field
free_floathas been added. - Fields
trading_statusandssrhave been added. - Field
flagshas been renamed toraw_flags.
dxf_order_t
- It is a single structure for Order and Spread Order now.
- Field
time_nanoshas been added. - Field
levelhas been removed, usescopeinstead. - Fields
scopeandsidehave been changed to enums. - Fields
market_makerandspread_symbolhave been merged to one enum.
dxf_time_and_sale_t
- Field
event_flagshas been added. - Field
timehas been added. - Field
sizehas been changed to typeint. - Field
sidehas been changed to proper enum type. - Fields
is_cancel,is_correctionandis_newhave been removed, please use field type. - Field
typehas been changed to proper enum type. - Field
trade_through_exempthas been added. - Fields
buyerandsellerhave been added. These fields are available at limited number of markets. - Field
flagshas been renamed toraw_flags.
dxf_candle_t
- It is a separate structure now, not alias for
dx_candle_t. - Field
event_flagshas been added.
dxf_greeks_t
- It is a separate structure now, not alias for
dx_greeks_t. - Field
greeks_pricehas been renamed toprice.
dxf_theo_price_t
- All fields have been renamed without
theo_prefix.
dxf_series_t
- It is a separate structure now, not alias for
dx_series_t.
dxf_configuration_t
- Field
versionhas been added.