10 #ifndef _SAG_MD_PUBLISHER_INTERFACE_H_
11 #define _SAG_MD_PUBLISHER_INTERFACE_H_
15 namespace softwareag {
16 namespace marketdata {
33 : dataManagerPtr_(dataManagerPtr)
51 void SetExtraParam(
const std::string& subKey,
const std::string& paramName,
const std::string& type,
const std::string& value,
const std::string& description);
60 void SetExtraParams(
const std::string &subKey,
const ExtraParamList &extraParamList);
70 void SetExtraParamValue(
const std::string& subKey,
const std::string& paramName,
const std::string& value);
79 void SetExtraParamsValue(
const std::string &subKey,
const ExtraParamValueList &extraParamValueList);
89 void RemoveExtraParam(
const std::string& subKey,
const std::string& paramName,
bool permanent =
false);
99 void RemoveExtraParams(
const std::string &subKey,
const StringList ¶mNames,
bool permanent =
false);
136 void SetBBAData(
const std::string& subKey,
double bidPrice, int64_t bidQty,
double askPrice, int64_t askQty);
167 void SetTradeData(
const std::string& subKey,
double price, int64_t quantity,
const std::string& taker,
const std::string& receiver,
const std::string& currency);
199 void SetBidDepthData(
const std::string& subKey,
const std::string& depthId,
double price, int64_t quantity,
const StringDictionary &epValues);
214 void SetAskDepthData(
const std::string& subKey,
const std::string& depthId,
double price, int64_t quantity,
const StringDictionary &epValues);
230 void InsertBidDepthData(
const std::string& subKey,
const std::string& depthId,
double price, int64_t quantity,
const StringDictionary &epValues);
244 void InsertAskDepthData(
const std::string& subKey,
const std::string& depthId,
double price, int64_t quantity,
const StringDictionary &epValues);
256 void DeleteBidDepthData(
const std::string& subKey,
const std::string& depthId);
267 void DeleteAskDepthData(
const std::string& subKey,
const std::string& depthId);
277 const char* GetBidDepthIdAtLevel(
const std::string& subKey, int64_t level);
287 const char* GetAskDepthIdAtLevel(
const std::string& subKey, int64_t level);
320 void SetBidOrderBookData(
const std::string& subKey,
const std::string& orderId,
double price, int64_t quantity,
const std::string& party,
const StringDictionary &epValues);
338 void SetAskOrderBookData(
const std::string& subKey,
const std::string& orderId,
double price, int64_t quantity,
const std::string& party,
const StringDictionary &epValues);
355 void InsertBidOrderBookData(
const std::string& subKey,
const std::string& orderId,
double price, int64_t quantity,
const std::string& party,
const StringDictionary &epValues);
372 void InsertAskOrderBookData(
const std::string& subKey,
const std::string& orderId,
double price, int64_t quantity,
const std::string& party,
const StringDictionary &epValues);
384 void DeleteBidOrderBookData(
const std::string& subKey,
const std::string& orderId);
396 void DeleteAskOrderBookData(
const std::string& subKey,
const std::string& orderId);
406 const char* GetBidOrderIdAtLevel(
const std::string& subKey, int64_t level);
416 const char* GetAskOrderIdAtLevel(
const std::string& subKey, int64_t level);
451 void SetBidQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity,
double price,
const std::string& party,
452 const std::string& requestId,
const bool tradable,
const StringDictionary &epValues);
470 void SetAskQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity,
double price,
const std::string& party,
471 const std::string& requestId,
const bool tradable,
const StringDictionary &epValues);
488 void InsertBidQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity,
double price,
const std::string& party,
489 const std::string& requestId,
const bool tradable,
const StringDictionary &epValues);
506 void InsertAskQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity,
double price,
const std::string& party,
507 const std::string& requestId,
const bool tradable,
const StringDictionary &epValues);
519 void DeleteBidQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity);
531 void DeleteAskQuotebookData(
const std::string& subKey,
const std::string& quoteId, int64_t quantity);
542 void DeleteMultipleBidQuotebookData(
const std::string& subKey,
const std::string& quoteId);
553 void DeleteMultipleAskQuotebookData(
const std::string& subKey,
const std::string& quoteId);
563 const char* GetBidQuotebookIdAtLevel(
const std::string& subKey, int64_t level);
573 const char* GetAskQuotebookIdAtLevel(
const std::string& subKey, int64_t level);
607 void SetNewsData(
const std::string& subKey,
const std::string& newsId,
const StringSet &symbolSet,
608 int64_t updateType,
const std::string& headline,
const std::string& story,
const double sourceTimestamp,
const NewsDataList &newsDataList,
const double value =
MDM_DEFAULT_FLOAT);
621 void DeleteNewsData(
const std::string& subKey,
const std::string& newsId,
const StringSet &symbolSet,
622 const double sourceTimestamp,
const NewsDataList &newsDataList);
631 void DefineNewsSchema(
const std::string& subKey,
const NewsDataList &newsDataList);
656 #endif //_SAG_MD_PUBLISHER_INTERFACE_H_
std::vector< StringPair > StringDictionary
Definition: MDM_MarketDataInterface.h:231
TradePublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:150
Definition: Connectivity_MDPublisher.h:22
#define MDM_DEFAULT_FLOAT
Definition: Connectivity_MDInterfaces.h:87
Definition: Connectivity_MDPublisher.h:577
Definition: Connectivity_MDInterfaces.h:59
DepthPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:180
BBAPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:120
Definition: Connectivity_MDPublisher.h:420
std::list< NewsData > NewsDataList
Definition: MDM_MarketDataInterface.h:228
std::set< std::string > StringSet
Definition: MDM_MarketDataInterface.h:181
OrderPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:300
void * dataManagerPtr_
Definition: Connectivity_MDPublisher.h:107
EPPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:644
Definition: Connectivity_MDPublisher.h:141
Definition: Connectivity_MDPublisher.h:635
Definition: Connectivity_MDPublisher.h:291
std::vector< std::string > StringList
Definition: MDM_MarketDataInterface.h:180
QuotebookPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:429
Definition: Connectivity_MDPublisher.h:171
NewsDataPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:586
Definition: Connectivity_MDPublisher.h:111
std::list< ExtraParamValue > ExtraParamValueList
Definition: MDM_MarketDataInterface.h:225
MarketDataPublisher(void *dataManagerPtr)
Definition: Connectivity_MDPublisher.h:32
std::list< ExtraParam > ExtraParamList
Definition: MDM_MarketDataInterface.h:224