TT CORE SDK
0.1
TT CORE SDK documentation
|
POD definition of an order to provide when submitting. More...
#include <orders.hpp>
Public Attributes | |
std::shared_ptr< Instrument > | instrument |
order_type | type |
order_side | side |
time_in_force | tif |
uint64_t | account = 0 |
uint64_t | user_id = 0 |
uint64_t | broker_id = 0 |
double | price = std::numeric_limits<double>::quiet_NaN() |
double | trigger_price = std::numeric_limits<double>::quiet_NaN() |
int32_t | quantity = 0 |
int32_t | display_quantity = 0 |
POD definition of an order to provide when submitting.
Profiles can be cached and re-used; all fields are copied on submission. Only the fields for a particular order type must be populated.
Definition at line 31 of file orders.hpp.
uint64_t tt_core_sdk::order_profile::account = 0 |
Definition at line 37 of file orders.hpp.
uint64_t tt_core_sdk::order_profile::broker_id = 0 |
Definition at line 39 of file orders.hpp.
int32_t tt_core_sdk::order_profile::display_quantity = 0 |
Definition at line 43 of file orders.hpp.
std::shared_ptr<Instrument> tt_core_sdk::order_profile::instrument |
Definition at line 33 of file orders.hpp.
double tt_core_sdk::order_profile::price = std::numeric_limits<double>::quiet_NaN() |
Definition at line 40 of file orders.hpp.
int32_t tt_core_sdk::order_profile::quantity = 0 |
Definition at line 42 of file orders.hpp.
order_side tt_core_sdk::order_profile::side |
Definition at line 35 of file orders.hpp.
time_in_force tt_core_sdk::order_profile::tif |
Definition at line 36 of file orders.hpp.
double tt_core_sdk::order_profile::trigger_price = std::numeric_limits<double>::quiet_NaN() |
Definition at line 41 of file orders.hpp.
order_type tt_core_sdk::order_profile::type |
Definition at line 34 of file orders.hpp.
uint64_t tt_core_sdk::order_profile::user_id = 0 |
Definition at line 38 of file orders.hpp.