uTrade Frontend Algo API
Version 1.0.0.0
μTrade HFT
|
Public Member Functions | |
OrderConfirmation (OrderConfirmation *other) | |
OrderConfirmation (const char *buf) | |
OrderConfirmation (API2::DATA_TYPES::CLORDER_ID &clientOrderId, API2::DATA_TYPES::SYMBOL_ID &symbolId, API2::DATA_TYPES::STRATEGY_ID &strategyId, API2::DATA_TYPES::CLIENT_ID &clientId, API2::DATA_TYPES::OrderStatus &orderStatus, API2::DATA_TYPES::OrderMode &orderMode, API2::DATA_TYPES::OrderType &orderType, API2::DATA_TYPES::QTY &orderQty, API2::DATA_TYPES::PRICE &orderPrice, API2::DATA_TYPES::CLORDER_ID &origClOrdId, const API2::DATA_TYPES::PRICE &stopPrice, const API2::DATA_TYPES::ProductType &productType, const API2::DATA_TYPES::PlatformType &platformType, const API2::ExchangeAdapterDetails &exchangeAdapterDetails) | |
void | initialize () |
UNSIGNED_LONG | getConfirmationTimeSeconds () const |
UNSIGNED_LONG | getConfirmationTimeMicroSeconds () const |
UNSIGNED_CHARACTER | getIsOffline () const |
UNSIGNED_LONG | getSequenceNumber () const |
const char * | getTradeId () const |
const char * | getExchangeOrderId () const |
UNSIGNED_INTEGER | getReasonText () const |
UNSIGNED_CHARACTER | getUnknownOrder () const |
void | setConfirmationTimeSeconds (UNSIGNED_LONG seconds) |
void | setConfirmationTimeMicroSeconds (UNSIGNED_LONG microSeconds) |
void | setIsOffline (UNSIGNED_CHARACTER isOffline) |
void | setSequenceNumber (UNSIGNED_LONG sequenceNumber) |
void | setReasonText (UNSIGNED_INTEGER reasonText) |
void | setUnknownOrder (UNSIGNED_CHARACTER unknownOrder) |
void | dumpCSV (std::ofstream &csvFile) |
void | dump () const |
std::string | getString () const |
bool | isVersionValid () |
void | dumpCSVTrades (std::ofstream &csvFile, SG::SymbolStaticData &symbolData, bool notFound, int custFirm, const std::string &accountId, const std::string &settler, const std::string &branchId, const std::string &userId) |
void | dumpCSVDetailed (std::ofstream &csvFile, SG::SymbolStaticData &symbolData, bool notFound, int custFirm, const std::string &accountId, const std::string &settler, const std::string &branchId, const std::string &userId) |
std::string | convertEpochToString (time_t rawtime) |
std::string | convertEpochToDate (time_t rawtime) |
std::string | convertEpochToTime (time_t rawtime) |
int | serialize (char *buf, short rc=ResponseCategory_ORDER_CONFIRMATION) |
std::string | getMonthFromNumber (int number) |