dxFeed C API  6.0.1
dxFeed C API library intended to provide market data access for DX clients
Functions
Orders

Order-related functions. More...

Collaboration diagram for Orders:

Functions

DXFEED_API ERRORCODE dxf_set_order_source (dxf_subscription_t subscription, const char *source)
 Clear current sources and add new one to subscription. More...
 
DXFEED_API ERRORCODE dxf_add_order_source (dxf_subscription_t subscription, const char *source)
 Add a new source to subscription. More...
 

Detailed Description

Order-related functions.

Function Documentation

◆ dxf_add_order_source()

DXFEED_API ERRORCODE dxf_add_order_source ( dxf_subscription_t  subscription,
const char *  source 
)

Add a new source to subscription.

Warning
You must configure order source before dxf_add_symbols/dxf_add_symbol call
Parameters
[in]subscriptionA handle of the subscription where source will be changed
[in]sourceSource of order event to add, 4 symbols maximum length
Returns
DXF_SUCCESS if order has been successfully added or DXF_FAILURE on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure;

◆ dxf_set_order_source()

DXFEED_API ERRORCODE dxf_set_order_source ( dxf_subscription_t  subscription,
const char *  source 
)

Clear current sources and add new one to subscription.

Warning
You must configure order source before dxf_add_symbols/dxf_add_symbol call
Parameters
[in]subscriptionA handle of the subscription where source will be changed
[in]sourceSource of order to set, 4 symbols maximum length
Returns
DXF_SUCCESS on order source setup or DXF_FAILURE on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure;