Apama Capital Markets Foundation  10.7.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Trade Processing API

Functions

AP_MDM_API void AP_MDM_SetTradeData (AP_MDM_Interface *md, const char *subKey, AP_float64 price, AP_int64 quantity, const char *taker, const char *receiver, const char *currency)
 

Detailed Description

Trade Processing API

Function Documentation

AP_MDM_API void AP_MDM_SetTradeData ( AP_MDM_Interface md,
const char *  subKey,
AP_float64  price,
AP_int64  quantity,
const char *  taker,
const char *  receiver,
const char *  currency 
)

Set the Trade Data to send at the next commit.

Parameters
mdThe AP_MDM_Interface to use for this Trade Data.
subKeyThe subscription key this Trade Data is for.
priceThe price as an AP_float64 for this trade.
quantityThe quantity as a AP_int64 for this trade.
takerThe taker as a const char* for this trade.
receiverThe receiver as a const char* for this trade.
currencyThe currency as a const char* for this trade.
See also
AP_MDM_SubscriptionCommit