libjmmcg  build_2176
A C++ library containing an eclectic mix of useful, advanced components.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jmmcg::exchanges::MIT::LSE::NewOrder Struct Reference

#include <messages.hpp>

Inheritance diagram for jmmcg::exchanges::MIT::LSE::NewOrder:
[legend]
Collaboration diagram for jmmcg::exchanges::MIT::LSE::NewOrder:
[legend]

Public Types

using base_t = common::NewOrder< NewOrderSpecific1, NewOrderSpecific2, NewOrderSpecific3 >
 
using order_qty_t = NewOrderSpecific2::order_qty_t
 
- Public Types inherited from jmmcg::exchanges::MIT::common::NewOrder< NewOrderSpecific1, NewOrderSpecific2, NewOrderSpecific3 >
enum  
 
enum  
 
using Header_t = Header
 
using specific1_t = NewOrderSpecific1
 
using specific2_t = NewOrderSpecific2
 
using specific3_t = NewOrderSpecific3
 
- Public Types inherited from jmmcg::exchanges::MIT::common::Header
enum  : bool { has_static_size =true }
 
using ClientOrderID_t = common::ClientOrderID_t
 
using OrderID_t = common::OrderID_t
 

Public Member Functions

template<class SrcMsg >
__stdcall NewOrder (SrcMsg const &msg, ref_data_t rd) noexcept(true) FORCE_INLINE
 Create a message from the source message. More...
 
- Public Member Functions inherited from jmmcg::exchanges::MIT::common::NewOrder< NewOrderSpecific1, NewOrderSpecific2, NewOrderSpecific3 >
constexpr __stdcall NewOrder (ClientOrderID_t const &clID, OrderType const oT, TIF const t, Side const s, SecurityID_t instID, typename specific2_t::order_qty_t ordQty, Price_t p) noexcept(true) FORCE_INLINE
 
SecurityID_t instrumentID () const noexcept(true)
 
void instrumentID (SecurityID_t i) noexcept(true)
 
specific2_t::order_qty_t orderQty () const noexcept(true)
 
void orderQty (typename specific2_t::order_qty_t i) noexcept(true)
 
OrderType orderType () const noexcept(true)
 
void orderType (OrderType i) noexcept(true)
 
Side side () const noexcept(true)
 
void side (Side i) noexcept(true)
 
ClientOrderID_t const & clientOrderID () const noexcept(true)
 
void clientOrderID (ClientOrderID_t const &clID) noexcept(true)
 
Price_t limitPrice () const noexcept(true)
 
void limitPrice (Price_t p) noexcept(true)
 
TIF tif () const noexcept(true)
 
void tif (TIF t) noexcept(true)
 
- Public Member Functions inherited from jmmcg::exchanges::MIT::common::Header
template<class MsgT >
constexpr Header (std::size_t l, MsgT t) noexcept(true) FORCE_INLINE
 
MsgType_t type () const noexcept(true)
 
uint16_t length () const noexcept(true)
 

Additional Inherited Members

- Public Attributes inherited from jmmcg::exchanges::MIT::common::NewOrder< NewOrderSpecific1, NewOrderSpecific2, NewOrderSpecific3 >
ClientOrderID_t clientOrderID_
 
TraderID_t traderID
 
Account_t account
 
ClearingAccount clearingAccount
 
specific1_t specific1
 
OrderType orderType_
 
TIF tif_
 
ExpireDateTime_t expireDateTime
 
Side side_
 
specific2_t specific2
 
Price_t limitPrice_
 
Capacity capacity
 
const AutoCancel autoCancel
 
OrderSubType orderSubType
 
specific3_t specific3
 
- Public Attributes inherited from jmmcg::exchanges::MIT::common::Header
enum
jmmcg::exchanges::MIT::common::Header:: { ... }  
__attribute__
 
const std::int8_t start_of_message =2
 
const int16_t length_
 
const MsgType_t type_
 

Detailed Description

Definition at line 199 of file messages.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

template<class SrcMsg >
__stdcall jmmcg::exchanges::MIT::LSE::NewOrder::NewOrder ( SrcMsg const &  msg,
ref_data_t  rd 
)
noexcept

Create a message from the source message.

If a linker error is generated, then this function will need to be specialised for the particular Msg-type.

Parameters
msgThe source message from which the target message should be created.

The documentation for this struct was generated from the following file: