API  Version 2.0.1
Low-Latency HFT API
 All Classes Functions Variables
API2::SGContext Member List

This is the complete list of members for API2::SGContext, including all inherited members.

createNewInstrument(UNSIGNED_LONG symbolId, bool regMktData, bool useSnapShot=false, bool useOhlc=true)API2::SGContext
createNewInstrument(const std::string &instrumentName, bool regMktData=false, bool useSnapShot=true, bool useOhlc=false)API2::SGContext
createNewOrder(COMMON::Instrument *instrument, const UNSIGNED_LONG &qty=0, const UNSIGNED_LONG &discQty=0, const DATA_TYPES::OrderMode &mode=CONSTANTS::CMD_OrderMode_BUY, const DATA_TYPES::OrderType &type=CONSTANTS::CMD_OrderType_LIMIT, const DATA_TYPES::OrderValidity &validity=CONSTANTS::CMD_OrderValidity_DAY, const DATA_TYPES::ProductType &product=CONSTANTS::CMD_ProductType_DELIVERY, const UNSIGNED_LONG &price=0, const UNSIGNED_LONG &stopPrice=0)API2::SGContext
createNewOrderId(COMMON::Instrument *instrument, const API2::AccountDetail &accountDetail, const DATA_TYPES::OrderMode &mode)API2::SGContext
getStrConfirmation(const OrderConfirmation &confirmation)API2::SGContext
getStrOrderId(const COMMON::OrderId *orderId)API2::SGContext
getStrSingleOrder(SingleOrder *order)API2::SGContext
onCanceled(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onCancelRejected(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onCMDAdminCommand(DATA_TYPES::CommandCategory command)API2::SGContextinlinevirtual
onCMDDisconnection(const DATA_TYPES::CommandCategory &command)API2::SGContextvirtual
onCMDInit()API2::SGContextinlinevirtual
onCMDModifyStrategy(AbstractUserParams *newParams)=0API2::SGContextpure virtual
onCMDPauseStartegy()API2::SGContextvirtual
onCMDRunStrategy()API2::SGContextvirtual
onCMDTerminateSqOffStrategy()API2::SGContextvirtual
onCMDTerminateStartegy()API2::SGContextvirtual
onConfirmed(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onDefaultEvent()API2::SGContextvirtual
onFilled(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onFrozen(API2::OrderConfirmation &confirmation, API2::COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onIOCCanceled(OrderConfirmation &Confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onMarketDataEvent(UNSIGNED_LONG symbolId)API2::SGContextvirtual
onMarketToLimit(API2::OrderConfirmation &confirmation, API2::COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onNewReject(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onOhlcTimeOutEvent()API2::SGContextvirtual
onPartialFill(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onProcessOrderConfirmation(OrderConfirmation &confirmation)API2::SGContextinlinevirtual
onReplaced(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onReplaceRejected(OrderConfirmation &confirmation, COMMON::OrderId *orderId)API2::SGContextinlinevirtual
onTradeTickEvent(COMMON::TradeTick tradeTick)API2::SGContextvirtual
reqAddStrategyComment(DATA_TYPES::StrategyComment com)API2::SGContext
reqCancelAllOrders()API2::SGContext
reqCancelOrder(DATA_TYPES::RiskStatus &riskStatus, COMMON::OrderId *orderId)API2::SGContext
reqExitStrategy()API2::SGContext
reqNewSingleOrder(DATA_TYPES::RiskStatus &riskStatus, COMMON::Instrument *instrument, SingleOrder *&order, COMMON::OrderId *orderId)API2::SGContext
reqProcessTradeTicks(bool &error, SYMBOL_ID symbolId)API2::SGContext
reqQryClientID()API2::SGContext
reqQryClientOrderId(COMMON::OrderId *orderId)API2::SGContext
reqQryDebugLog()API2::SGContext
reqQryExchangeOrderId(COMMON::OrderId *orderId)API2::SGContext
reqQryInstrumentList(UNSIGNED_LONG symbolId)API2::SGContext
reqQryMarketData(SYMBOL_ID symbolId)API2::SGContext
reqQryNetBookedPL()API2::SGContext
reqQryNetMarkToMarkPL()API2::SGContext
reqQryOHLCQuote(bool &error, SYMBOL_ID symbolId)API2::SGContext
reqQryOrder(long clOrderId)API2::SGContext
reqQryOrderStatus(COMMON::OrderId *orderId)API2::SGContext
reqQryPendingQty(COMMON::Instrument *instrument, DATA_TYPES::OrderMode mode)API2::SGContext
reqQryPendingQty(COMMON::OrderId *orderId)API2::SGContext
reqQryStrategyId()API2::SGContext
reqQryStrategyParams()API2::SGContext
reqQrySymbolID(std::string instrumentName)API2::SGContext
reqQryTestSegment(const DATA_TYPES::ExchangeId &exch, const DATA_TYPES::SecurityType &securityType=CONSTANTS::CMD_SecurityType_MAX)API2::SGContextvirtual
reqQryUpdateMarketData(SYMBOL_ID symbolId)API2::SGContext
reqRemoveAllInstruments()API2::SGContext
reqRemoveInstrument(COMMON::Instrument *instrument)API2::SGContext
reqReplaceOrder(DATA_TYPES::RiskStatus &riskStatus, COMMON::Instrument *instrument, SingleOrder *&order, COMMON::OrderId *orderId)API2::SGContext
reqSendStrategyResponse(DATA_TYPES::ResponseType responseType, DATA_TYPES::RiskStatus riskStatus, DATA_TYPES::StrategyComment strategyComment=CONSTANTS::RSP_StrategyComment_MAX)API2::SGContext
reqStartAlgo(bool marketDataEventRequired, bool tradeTicksEventRequired)API2::SGContext
reqStartOHLCAlgo()API2::SGContext
reqTerminateSquareOffStrategy()API2::SGContextvirtual
reqTerminateStrategy(bool reqCancelAllOrders=true)API2::SGContextvirtual
reqUpdateMarketData()API2::SGContext
reqUpdateMarketData(UNSIGNED_LONG symbolId)API2::SGContext
SGContext(StrategyParameters *params, const std::string sgName)API2::SGContext
~SGContext()API2::SGContextvirtual