|
using | base_t = exchanges::common::simulator_responses< SrcMsgDetails, simulator_responses< SrcMsgDetails, SktT >, SktT > |
|
using | msg_details_t = typename base_t::msg_details_t |
|
using | socket_t = typename base_t::socket_t |
|
using | base_t = message_responses< SrcMsgDetails, SrcMsgDetails, simulator_responses< SrcMsgDetails, SktT >, typename SrcMsgDetails ::client_to_exchange_messages_t, SktT > |
|
using | msg_details_t = typename base_t::src_msg_details_t |
|
using | src_msg_details_t = msg_details_t |
|
using | socket_t = typename base_t::socket_t |
|
using | derived_t = typename base_t::derived_t |
|
using | Price_t = typename std::conditional< std::is_integral< typename msg_details_t::Price_t >::value, typename msg_details_t::Price_t, std::uint64_t >::type |
|
using | src_msg_details_t = SrcMsgDetails |
| A type containing the details of the messages that will be received from the client. More...
|
|
using | dest_msg_details_t = SrcMsgDetails |
| A type containing the details of the messages that will be sent to the exchange. More...
|
|
using | derived_t = simulator_responses< SrcMsgDetails, SktT > |
|
using | flow_msg_types = SrcMsgDetails ::client_to_exchange_messages_t |
|
using | socket_t = SktT |
|
|
static constexpr Reason_t | logout_reason {"snafu\0"} |
|
static constexpr msg_details_t::SecurityID_t | instrumentID =133215 |
| The only valid instrument, all others will be rejected. More...
|
|
static constexpr msg_details_t::SecurityID_t | invalidInstrumentID =1 |
| An invalid instrument, that will be rejected. More...
|
|
static constexpr std::chrono::seconds | logout_timeout {3} |
|
static constexpr msg_details_t::UserName_t | username |
| The only valid username. More...
|
|
static constexpr msg_details_t::Password_t | password |
| The only valid password. More...
|
|
static constexpr msg_details_t::Password_t | new_password |
| The only valid new password. More...
|
|
static constexpr std::int32_t | quantity_limit |
| The magic quantity value. More...
|
|
static constexpr Price_t | price |
| For limit orders, this is the price at which the order will be traded, otherwise it will be left "on the market". More...
|
|
static constexpr Price_t | scaled_price |
| For limit orders, this is the native, scaled price at which the order will be traded, otherwise it will be left "on the market", which is used within the simulator. More...
|
|
template<class SrcMsgDetails, class SktT>
class isimud::exchanges::MIT::common::simulator_responses< SrcMsgDetails, SktT >
A simple, MIT-protocol exchange simulator.
The behaviour of this simulator is a simplification derived from the specification in [1]. [1] "MIT203 - MILLENNIUM EXCHANGE Native Trading Gateway"
Definition at line 187 of file processing_rules.hpp.