15 #ifndef TSA_TRANSACTION__INCLUDED 16 #define TSA_TRANSACTION__INCLUDED 52 bool m_virtually_closes_position;
58 void virtually_closes_open_position(
bool flag);
59 bool virtually_closes_open_position(
void)
const;
60 bool incurred_slippage(
void)
const;
61 void incurred_slippage(
bool flag);
62 void post_transaction_position(
position_t position)
const;
63 position_t post_transaction_position(
void)
const;
78 bool is_valid(
void)
const;
91 bool defined(
void)
const;
126 double price(
void)
const;
194 bool relates(
const order_ref& order_ref)
const;
202 bool partially_fills(
const order_ref&
order)
const;
208 void print(std::ostream& stream)
const;
217 std::ostream& operator<< (std::ostream& stream,
const transaction& t);
type
Order type.
Definition: TSAOrder.h:101
Class order is the library's internal order representation. Users are not intended to interact with t...
Definition: TSAOrder.h:49
Namespace for the 'Trading System API' library.
Definition: original1.TSA3Core.cpp:20
int64_t quantity_t
Definition: TSATypeDef.h:444
Represents a reference to an internally managed order object. Working with class order directly is no...
Definition: TSAOrder.h:422
Parent class for many library classes.
Definition: TSATypeDef.h:462
Represents a transaction that occurred on an exchange or as part of a simulation when an order is fil...
Definition: TSATransaction.h:40
action
Order action.
Definition: TSAOrder.h:94
Class representing a gregorian-date and time-of-day combination. The time component has microsecond r...
Definition: TSATime.h:428
int64_t identifier_t
type for ID's
Definition: TSATypeDef.h:117
int64_t position_t
Definition: TSATypeDef.h:447
exec_interval
The order 'execution interval' determines when an order will be executed. Note: By default market ord...
Definition: TSAOrder.h:118
Class instrument represents a tradeable security such as a stock, option, futures contract...
Definition: TSAInstrument.h:64