Public Member Functions | |
| TradingClient (const Settings &settings) | |
| void | connectBus () |
| void | requestBgwCredentials () |
| void | requestInstruments () |
| void | listInstruments () |
| void | lookupInstruments () |
| void | connectBgw () |
| void | traderLogon () |
| void | traderLogout () |
| void | sendOrder () |
| void | cancelOrder () |
| void | replaceOrder () |
| void | sendOrderCross () |
| void | sendMassCancel () |
| void | showOrders () |
| void | showActiveOrders () |
| void | sendQuote () |
| void | sendQuoteCancelRequest () |
| void | sendMassQuote () |
| void | createStrategy () |
| void | createFlex () |
Definition at line 45 of file TradingClient.h.
|
explicit |
Initializes the client with the given settings.
Definition at line 468 of file TradingClient.cpp.
| void cancelOrder | ( | ) |
Sends a cancel request for a specific order.
Definition at line 1063 of file TradingClient.cpp.
| void connectBgw | ( | ) |
Establishes a BGW session using previously obtained credentials.
Definition at line 575 of file TradingClient.cpp.
| void connectBus | ( | ) |
Commands.
Establishes a BUS session (network/control plane).
Definition at line 493 of file TradingClient.cpp.
| void createFlex | ( | ) |
Creates a flexible instrument (flex).
Definition at line 928 of file TradingClient.cpp.
| void createStrategy | ( | ) |
Creates a strategy.
Definition at line 866 of file TradingClient.cpp.
| void listInstruments | ( | ) |
Prints the list of instruments currently known to the client.
Definition at line 538 of file TradingClient.cpp.
| void lookupInstruments | ( | ) |
Prints the list of instruments currently known to the client by the provided Symbol value.
Definition at line 558 of file TradingClient.cpp.
| void replaceOrder | ( | ) |
Issues a replace for an existing live order.
Definition at line 1092 of file TradingClient.cpp.
| void requestBgwCredentials | ( | ) |
Requests BGW credentials (IpRequest) over the active BUS session.
Definition at line 503 of file TradingClient.cpp.
| void requestInstruments | ( | ) |
Submits a SecurityDefinitionRequest to fetch/refresh known instruments.
Definition at line 517 of file TradingClient.cpp.
| void sendMassCancel | ( | ) |
Submits a mass cancel request.
Definition at line 736 of file TradingClient.cpp.
| void sendMassQuote | ( | ) |
Sends a multiple quote request.
Definition at line 802 of file TradingClient.cpp.
| void sendOrder | ( | ) |
Sends a new order via BGW.
Definition at line 615 of file TradingClient.cpp.
| void sendOrderCross | ( | ) |
Sends a cross order.
Definition at line 665 of file TradingClient.cpp.
| void sendQuote | ( | ) |
Sends a quote message.
Definition at line 773 of file TradingClient.cpp.
| void sendQuoteCancelRequest | ( | ) |
Cancels a previously submitted quote.
Definition at line 835 of file TradingClient.cpp.
| void showActiveOrders | ( | ) |
Displays active orders sent by this client session and their last-known statuses.
Definition at line 1058 of file TradingClient.cpp.
| void showOrders | ( | ) |
Displays orders sent by this client session and their last-known statuses.
Definition at line 1048 of file TradingClient.cpp.
| void traderLogon | ( | ) |
Logs a trader into the connected BGW session.
Definition at line 588 of file TradingClient.cpp.
| void traderLogout | ( | ) |
Logs the trader out from the BGW session.
Definition at line 605 of file TradingClient.cpp.