RT::RTOrder Class Reference

List of all members.

Public Member Functions

 RTOrder ()
 Default constructor.
virtual ~RTOrder ()
 Destructor.
void original_qty (int original_qty)
 Original Order Qty.
int original_qty () const
void remaining_qty (int remaining_qty)
 Remaining Order Qty.
int remaining_qty () const
void last_qty (int last_qty)
 Filled Order Qty.
int last_qty () const
int total_fill_qty () const
 Total Filled Order Qty.
void total_fill_qty (int val)
void stop_price (int stop_price)
 Stop price for Stop and StopLimit orders.
int stop_price () const
void price (int price)
 Limit Price for Limit orders.
int price () const
void last_price (int last_price)
 The Price of last Fill on this order.
int last_price () const
const std::string & symbol () const
 Instrument Symbol.
void symbol (const std::string &symbol)
const std::string & sec_id () const
 Instrument SecurityID.
void sec_id (const std::string &sec_id)
const std::string & currency () const
 Instrument Currency.
void currency (const std::string &val)
const std::string & trader_id () const
 Originator ID.
void trader_id (const std::string &lp)
TimeInForce tif () const
 Order Time In Force.
void tif (TimeInForce time_in_force)
OrderSide side () const
 Order Side.
void side (OrderSide side)
OrderType type () const
 Order Type.
void type (OrderType type)
OrderState state () const
 Order State.
void state (OrderState state)
OrderState state_prev () const
 Previous Order State.
void state_prev (OrderState val)
bool state_is_active ()
 Returns true if order state.
void state_prev_store ()
void state_restore ()
void state_prev_clean ()
const std::string & cl_id () const
 Client Order ID.
void cl_id (const std::string &id)
const std::string & orig_cl_id () const
 Original client order ID.
void orig_cl_id (const std::string &id)
const std::string & text () const
 Text.
void text (const std::string &id)
const std::string & exchange_id () const
 Exchange Order ID.
void exchange_id (const std::string &exchange_id)
const std::string & orig_exchange_id () const
 Original Exchange Order ID.
void orig_exchange_id (const std::string &orig_exchange_id)
char exchange_char () const
 Exchange char.
void exchange_char (char val)
time_t init_time () const
 Order init time.
void init_time (time_t t)
time_t last_time () const
 Last order update time.
void last_time (time_t t)
time_t effective_time () const
 Effective time (valid for Good Till Date orders).
void effective_time (time_t t)
const std::string & account () const
 Account.
void account (const std::string &account)
const std::string & sender_sub_id () const
 Sender Sub ID.
void sender_sub_id (const std::string &sender_sub_id)
const std::string & cl_ordid_in_cancel () const
 Client Order ID in Cancel.
void cl_ordid_in_cancel (const std::string &cl_ordid_in_cancel)
replace_order_type_t replace_order_type () const
 Replace order Type.
void replace_order_type (replace_order_type_t type)
ExchangeType exchange_type () const
 get exchange profile info.
void exchange_type (ExchangeType type)
const std::string & exchange_name () const
 Exchange Name.
void exchange_name (const std::string &id)
std::string market_exchange_name () const
 Market Exchange Name (valid if there are several destination).
void market_exchange_name (std::string val)
std::string security_sub_type () const
 Security Sub Type.
void security_sub_type (const std::string &sst)
int denominator () const
 Instrument Denominator.
void denominator (const int denominator)
const std::string & root_exchange_id ()
 Root Exchange Order ID (for chain of replaces).
void root_exchange_id (const std::string &value)
const std::string & underlying_symbol ()
 Underlying Symbol.
void underlying_symbol (const std::string &value)
void max_show (int val)
 The MaxShow field.
int max_show () const
bool is_automated_trading_system ()
 Automated Trading System originator indicator.
void is_automated_trading_system (bool val)
const std::string & trader_location ()
 Trader location Code.
void trader_location (const std::string &value)

Protected Attributes

std::string security_sub_type_
std::string adapter_name_
std::string exchange_name_
std::string market_exchange_name_
 destination name for clients
ExchangeType exch_type_
 destination id on market if adapter is multi-address
CoreModeType exch_mode_
std::string trader_id_
std::string cl_id_
std::string orig_cl_id_
std::string exchange_id_
std::string orig_exchange_id_
char exchange_char_
OrderType type_
TimeInForce time_in_force_
OrderState state_
OrderState state_prev_
OrderSide side_
replace_order_type_t replace_type_
int price_
int stop_price_
int last_price_
int original_qty_
int remaining_qty_
int last_qty_
int total_fill_qty_
time_t init_time_
time_t last_time_
time_t effective_time_
std::string text_
std::string sender_sub_id_
std::string on_behalf_of_comp_id_
std::string cl_ordid_in_cancel_
std::string account_
std::string symbol_
std::string sec_id_
std::string currency_
int denominator_
std::string root_exchange_id_
std::string underlying_symbol_
int max_show_
bool is_automated_trading_system_
std::string trader_location_

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 7 15:51:19 2011 for RTAPI by  doxygen 1.6.3