32 ONIXS_SGX_OUCH_NOTHROW
34 return fixedStr<14>(1);
39 ONIXS_SGX_OUCH_NOTHROW
41 return ordinary<Binary4>(15);
46 ONIXS_SGX_OUCH_NOTHROW
48 return enumeration<Side>(19);
53 ONIXS_SGX_OUCH_NOTHROW
55 return ordinary<Binary8>(20);
60 ONIXS_SGX_OUCH_NOTHROW
62 return ordinary<BinaryPrice>(28);
67 ONIXS_SGX_OUCH_NOTHROW
69 return enumeration<TimeInForce>(32);
74 ONIXS_SGX_OUCH_NOTHROW
76 return enumeration<EnterOrderOpenClose>(33);
82 ONIXS_SGX_OUCH_NOTHROW
84 return fixedStr<16>(34);
89 ONIXS_SGX_OUCH_NOTHROW
91 return fixedStr<15>(50);
96 ONIXS_SGX_OUCH_NOTHROW
98 return fixedStr<32>(65);
104 ONIXS_SGX_OUCH_NOTHROW
106 return ordinary<Binary8>(97);
111 ONIXS_SGX_OUCH_NOTHROW
113 return ordinary<Binary2>(105);
118 ONIXS_SGX_OUCH_NOTHROW
120 return enumeration<OrderType>(107);
125 ONIXS_SGX_OUCH_NOTHROW
127 return fixedStr<5>(108);
132 ONIXS_SGX_OUCH_NOTHROW
134 setFixedStr<14>(1, value);
138 ONIXS_SGX_OUCH_NOTHROW
140 orderToken(
StrRef(value, strnlen(value, 14)));
145 ONIXS_SGX_OUCH_NOTHROW
152 ONIXS_SGX_OUCH_NOTHROW
154 setEnumeration<Side>(19, value);
159 ONIXS_SGX_OUCH_NOTHROW
166 ONIXS_SGX_OUCH_NOTHROW
173 ONIXS_SGX_OUCH_NOTHROW
175 setEnumeration<TimeInForce>(32, value);
180 ONIXS_SGX_OUCH_NOTHROW
182 setEnumeration<EnterOrderOpenClose>(33, value);
188 ONIXS_SGX_OUCH_NOTHROW
190 setFixedStr<16>(34, value);
194 ONIXS_SGX_OUCH_NOTHROW
196 clientAccount(
StrRef(value, strnlen(value, 16)));
201 ONIXS_SGX_OUCH_NOTHROW
203 setFixedStr<15>(50, value);
207 ONIXS_SGX_OUCH_NOTHROW
209 customerInfo(
StrRef(value, strnlen(value, 15)));
214 ONIXS_SGX_OUCH_NOTHROW
216 setFixedStr<32>(65, value);
220 ONIXS_SGX_OUCH_NOTHROW
222 exchangeInfo(
StrRef(value, strnlen(value, 32)));
228 ONIXS_SGX_OUCH_NOTHROW
235 ONIXS_SGX_OUCH_NOTHROW
242 ONIXS_SGX_OUCH_NOTHROW
244 setEnumeration<OrderType>(107, value);
248 static ONIXS_SGX_OUCH_CONST_OR_CONSTEXPR
MessageSize messageSize_ = 113;
252 ONIXS_SGX_OUCH_NOTHROW
260 #pragma pack(push, 1) 280 stream <<
toStr(msg);
void exchangeInfo(const char *value)
void quantity(Binary8 value)
Quantity.
void openClose(EnterOrderOpenClose::Enum value)
Defines the position update for the account.
void orderBookId(Binary4 value)
Order book ID.
EnterOrder()
Initializes empty instance.
void orderToken(StrRef value)
Client-generated order identifier.
Binary2 stpKey() const
The Self Trade Protection Key.
BinaryPrice price() const
Signed integer price.
void stpKey(Binary2 value)
The Self Trade Protection Key.
void timeInForce(TimeInForce::Enum value)
Time In Force.
Binary2 MessageSize
Aliases message length type.
Binary8 displayQuantity() const
void clientAccount(const char *value)
#define ONIXS_SGXTITAN_OUCH_UNUSED_FIELD
void displayQuantity(Binary8 value)
void customerInfo(StrRef value)
Pass-thru field.
void price(const BinaryPrice &value)
Signed integer price.
Side::Enum side() const
Side.
void side(Side::Enum value)
Side.
void orderToken(const char *value)
Binary4 orderBookId() const
Order book ID.
void exchangeInfo(StrRef value)
Pass-thru field.
void customerInfo(const char *value)
ONIXS_SGXTITAN_OUCH_API std::ostream & operator<<(std::ostream &stream, HandlerState::Enum value)
Provides efficient way of accessing text-based FIX field values.
void orderType(OrderType::Enum value)
OUCH Order Type.
OrderType::Enum orderType() const
OUCH Order Type.
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_END
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
Used to enter a new order into the system.
Binary8 quantity() const
Quantity.
TimeInForce::Enum timeInForce() const
Time In Force.
ONIXS_SGXTITAN_OUCH_API void toStr(std::string &, OutboundMessageTypes::Enum)
Appends string presentation of object.
StrRef reserved() const
Reserved for future use.
StrRef orderToken() const
Client-generated order identifier.
StrRef clientAccount() const
void setOrdinary(BlockSize offset, FieldValue value)
Assigns value of a field by its offset.
StrRef exchangeInfo() const
Pass-thru field.
void clientAccount(StrRef value)
EnterOrderOpenClose::Enum openClose() const
Defines the position update for the account.
StrRef customerInfo() const
Pass-thru field.
SignedBinary4 BinaryPrice