|
TT CORE SDK 2.0.2.1
TT CORE SDK documentation
|
Definition of an order to provide when submitting. More...
#include <order.h>
Public Types | |
| enum class | Instruction { Work = 0 , Hold = 1 } |
Public Attributes | |
| uint64_t | request_id = 0 |
| uint64_t | price_subscription_id = 0 |
| OrderType | type = OrderType::NotSet |
| uint64_t | expire_date = 0 |
| OrderSide | side = OrderSide::NotSet |
| TimeInForce | tif = TimeInForce::NotSet |
| uint64_t | account_id = 0 |
| uint32_t | order_tag_default_id = 0 |
| char | clearing_acct_override [128] = {0} |
| double | price = NAN |
| double | trigger_price = NAN |
| double | quantity = NAN |
| double | display_quantity = NAN |
| double | minimum_quantity = NAN |
| char | text [128] = { 0 } |
| char | text_a [128] = { 0 } |
| char | text_b [128] = { 0 } |
| char | text_c [128] = { 0 } |
| char | text_tt [128] = { 0 } |
| char | sender_sub_id [128] = { 0 } |
| bool | leave_on_restart = true |
| ttsdk::UserDisconnectAction | user_disconnect_action = ttsdk::UserDisconnectAction::NotSet |
| ttsdk::MarketId | colocation = ttsdk::MarketId::NotSet |
| colocation value for algo orders | |
| std::vector< ttsdk::UserParameter > | params |
| specific parameters to set on outgoing algo orders | |
| std::vector< uint64_t > | leg_account_ids |
| Specific for ASE spreads to set accounts on different legs. The accounts are set sequentially as provided in the vector. | |
| Instruction | instruction = Instruction::Work |
| uint64_t | server_price_time = 0 |
| Price Server timestamp (mdrc_recv_time);. | |
| uint64_t | order_stimulus_received = 0 |
| User listener timestamp (order_stimulus_receieved_oc). | |
|
strong |
| ttsdk::MarketId ttsdk::OrderProfile::colocation = ttsdk::MarketId::NotSet |
| Instruction ttsdk::OrderProfile::instruction = Instruction::Work |
| bool ttsdk::OrderProfile::leave_on_restart = true |
indicator to the SDK whether or not to cancel this order if it is working when the SDK restarts. applicable only if the TTSDKOptions.sdkInstanceId is set when the SDK is initialize the TTSDKOptions.sdk_instance_id needs to remain the same from run to run to remove the orders placed by the previous run
| std::vector<uint64_t> ttsdk::OrderProfile::leg_account_ids |
| uint64_t ttsdk::OrderProfile::order_stimulus_received = 0 |
| std::vector<ttsdk::UserParameter> ttsdk::OrderProfile::params |
| uint64_t ttsdk::OrderProfile::server_price_time = 0 |
| OrderSide ttsdk::OrderProfile::side = OrderSide::NotSet |
| TimeInForce ttsdk::OrderProfile::tif = TimeInForce::NotSet |
| OrderType ttsdk::OrderProfile::type = OrderType::NotSet |
| ttsdk::UserDisconnectAction ttsdk::OrderProfile::user_disconnect_action = ttsdk::UserDisconnectAction::NotSet |