OnixS Euronext CCG Binary Trading Handler for C++  1.16.0.0
Public Member Functions
NewOrderSingle Class Reference

The New Order message requests the creation of a new order. More...

List of all members.

Public Member Functions

 NewOrderSingle ()
 Constructor.
 NewOrderSingle (const NewOrderSingle &)
 Copy constructor.
 ~NewOrderSingle ()
 Destructor.
NewOrderSingleoperator= (const NewOrderSingle &)
 Assignment.
void clOrdId (ClientOrderId id)
 Set client order ID.
ClientOrderId clOrdId () const
 Get client order ID.
void price (Price value)
 Set order price in system ticks.
Price price () const
 Get order price in system ticks.
void stopPx (Price price)
 Set stop order trigger price (for future use)
Price stopPx () const
 Get stop order trigger price (for future use)
void expireDate (const Date &date)
 Set expiry date of a GTD order.
Date expireDate () const
 Get expiry date of a GTD order.
void orderQty (Quantity quantity)
 Set total order quantity.
Quantity orderQty () const
 Get total order quantity.
void minQty (Quantity quantity)
 Set minimum volume.
Quantity minQty () const
 Get minimum volume.
void tradingSessionId (TradingSessionId::Enum id)
 Set session identifier for the trade clearing (the FIX standard specifies that the usage of this field can be customised)
TradingSessionId::Enum tradingSessionId () const
 Get session identifier for the trade clearing (the FIX standard specifies that the usage of this field can be customised)
void secondaryClOrdId (const String &secondaryClOrdId)
 Set traders' reference.
const StringsecondaryClOrdId () const
 Get traders' reference.
void securityIdSource (SecurityIdSource::Enum securityIdSource)
 Set security ID source.
SecurityIdSource::Enum securityIdSource () const
 Get security ID source.
void securityId (const String &securityId)
 Set security ID.
const StringsecurityId () const
 Get security ID.
void account (const String &account)
 Set additional client identifier.
const Stringaccount () const
 Get additional client identifier.
void tradeInputSource (TradeInputSource::Enum value)
 Set automatic order injection indicator.
TradeInputSource::Enum tradeInputSource () const
 Get automatic order injection indicator.
void tradeInputDevice (const String &device)
 Set automatic order injection model.
const StringtradeInputDevice () const
 Get automatic order injection model.
void ordType (OrderType::Enum type)
 Set order type.
OrderType::Enum ordType () const
 Get order type.
void side (Side::Enum side)
 Set order side.
Side::Enum side () const
 Get order side.
void timeInForce (TimeInForce::Enum duration)
 Set order duration.
TimeInForce::Enum timeInForce () const
 Get order duration.
void orderOrigin (OrderOrigin::Enum origin)
 Set origin of the order.
OrderOrigin::Enum orderOrigin () const
 Get origin of the order.
void clearingInstruction (ClearingInstruction::Enum type)
 Set posting code for clearing.
ClearingInstruction::Enum clearingInstruction () const
 Get posting code for clearing.
void accountCode (AccountCode::Enum type)
 Set type of account.
AccountCode::Enum accountCode () const
 Get type of account.
void custOrderCapacity (CustomerOrderCapacity::Enum type)
 Set type of customer trading.
CustomerOrderCapacity::Enum custOrderCapacity () const
 Get type of customer trading.
void clientInfo (const String &clientInfo)
 Set traders' free text.
const StringclientInfo () const
 Get traders' free text.
void partyId (const String &id)
 Set member (member mnemonic) or Trader (ITM) to whom an order is allocated.
const StringpartyId () const
 Get member (member mnemonic) or Trader (ITM) to whom an order is allocated.
void partyRole (PartyRole::Enum type)
 Set member or trader allocation (defines value in PartyID). Mandatory if PartyID is specified.
PartyRole::Enum partyRole () const
 Get member or trader allocation (defines value in PartyID). Mandatory if PartyID is specified.
void postingAction (UInt8 index, PostingAction::Enum action)
 Set one of four character posting action code for the first 4 strategy legs.
PostingAction::Enum postingAction (UInt8 index) const
 Get one of four character posting action code for the first 4 strategy legs.
std::string toString () const
 Dump state to string.
void serialize (MessageSerializer &)
 Serialize data (for internal use)

Detailed Description

The New Order message requests the creation of a new order.

The following fields are used for Clearing: ClearingInstruction, AccountCode, CustOrderCapacity, ClientInfo, PartyID, PartyRole, PostingAction.

Response: