TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
ttsdk::TTSDKOptions Struct Reference

#include <sdk_options.h>

Public Attributes

Environment environment = Environment::NotSet
 
const charapp_key_secret = nullptr
 
bool use_onload = true
 
int32_t lbm_affinity = -1
 
bool log_to_console = false
 
uint8_t num_price_threads = 2
 
uint8_t num_order_threads = 2
 
uint8_t num_algo_threads = 2
 
bool enable_pnl = false
 
bool use_indicative_pnl = false
 
bool enable_synthetics = false
 
bool spin_price_thread = true
 
int32_t spin_price_core = 1
 
int32_t price_wait_ms = 0
 
bool price_config_check = false
 
ProfitLossCalculationType pnl_calc_type = ProfitLossCalculationType::RiskWaterfall
 
bool filter_accounts = false
 
bool enable_epiq = false
 
uint64_t sdk_instance_id = 0
 
bool order_debug_logging = false
 

Detailed Description

Definition at line 24 of file sdk_options.h.

Member Data Documentation

◆ app_key_secret

const char* ttsdk::TTSDKOptions::app_key_secret = nullptr

Definition at line 28 of file sdk_options.h.

◆ enable_epiq

bool ttsdk::TTSDKOptions::enable_epiq = false

Definition at line 44 of file sdk_options.h.

◆ enable_pnl

bool ttsdk::TTSDKOptions::enable_pnl = false

Definition at line 35 of file sdk_options.h.

◆ enable_synthetics

bool ttsdk::TTSDKOptions::enable_synthetics = false

Definition at line 37 of file sdk_options.h.

◆ environment

Environment ttsdk::TTSDKOptions::environment = Environment::NotSet

Definition at line 27 of file sdk_options.h.

◆ filter_accounts

bool ttsdk::TTSDKOptions::filter_accounts = false

Definition at line 43 of file sdk_options.h.

◆ lbm_affinity

int32_t ttsdk::TTSDKOptions::lbm_affinity = -1

Definition at line 30 of file sdk_options.h.

◆ log_to_console

bool ttsdk::TTSDKOptions::log_to_console = false

Definition at line 31 of file sdk_options.h.

◆ num_algo_threads

uint8_t ttsdk::TTSDKOptions::num_algo_threads = 2

Definition at line 34 of file sdk_options.h.

◆ num_order_threads

uint8_t ttsdk::TTSDKOptions::num_order_threads = 2

Definition at line 33 of file sdk_options.h.

◆ num_price_threads

uint8_t ttsdk::TTSDKOptions::num_price_threads = 2

Definition at line 32 of file sdk_options.h.

◆ order_debug_logging

bool ttsdk::TTSDKOptions::order_debug_logging = false

Definition at line 56 of file sdk_options.h.

◆ pnl_calc_type

Definition at line 42 of file sdk_options.h.

◆ price_config_check

bool ttsdk::TTSDKOptions::price_config_check = false

Definition at line 41 of file sdk_options.h.

◆ price_wait_ms

int32_t ttsdk::TTSDKOptions::price_wait_ms = 0

Definition at line 40 of file sdk_options.h.

◆ sdk_instance_id

uint64_t ttsdk::TTSDKOptions::sdk_instance_id = 0

Definition at line 52 of file sdk_options.h.

◆ spin_price_core

int32_t ttsdk::TTSDKOptions::spin_price_core = 1

Definition at line 39 of file sdk_options.h.

◆ spin_price_thread

bool ttsdk::TTSDKOptions::spin_price_thread = true

Definition at line 38 of file sdk_options.h.

◆ use_indicative_pnl

bool ttsdk::TTSDKOptions::use_indicative_pnl = false

Definition at line 36 of file sdk_options.h.

◆ use_onload

bool ttsdk::TTSDKOptions::use_onload = true

Definition at line 29 of file sdk_options.h.


The documentation for this struct was generated from the following file: