Show / Hide Table of Contents

Class OrderProfile

Inheritance
object
OrderProfile
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class OrderProfile : IDisposable

Constructors

OrderProfile(Instrument, bool)

Declaration
public OrderProfile(Instrument instrument, bool isStagedOrder = false)
Parameters
Type Name Description
Instrument instrument
bool isStagedOrder

OrderProfile(Instrument, Instrument)

Declaration
public OrderProfile(Instrument instrument, Instrument algoInstrument)
Parameters
Type Name Description
Instrument instrument
Instrument algoInstrument

Properties

Account

Declaration
public Account Account { get; set; }
Property Value
Type Description
Account

AccountName

Declaration
public string AccountName { get; set; }
Property Value
Type Description
string

Action

Declaration
public OrderAction Action { get; set; }
Property Value
Type Description
OrderAction

ApplicationId

Declaration
public string ApplicationId { get; }
Property Value
Type Description
string

BestMarketPrice

Declaration
public Price BestMarketPrice { get; set; }
Property Value
Type Description
Price

BuySell

Declaration
public BuySell BuySell { get; set; }
Property Value
Type Description
BuySell

ClearingAccountOverride

Declaration
public string ClearingAccountOverride { get; set; }
Property Value
Type Description
string

ClientOrderId

Declaration
public ulong ClientOrderId { get; }
Property Value
Type Description
ulong

CoLocation

Declaration
public MarketId CoLocation { get; set; }
Property Value
Type Description
MarketId

DisclosedQuantity

Declaration
public Quantity DisclosedQuantity { get; set; }
Property Value
Type Description
Quantity

ExchangeClOrderId

Declaration
public string ExchangeClOrderId { get; }
Property Value
Type Description
string

ExpireDate

Declaration
public ulong ExpireDate { get; set; }
Property Value
Type Description
ulong

GiveUp

Declaration
public string GiveUp { get; set; }
Property Value
Type Description
string

Instrument

Declaration
public Instrument Instrument { get; }
Property Value
Type Description
Instrument

InstrumentDetails

Declaration
public InstrumentDetails InstrumentDetails { get; }
Property Value
Type Description
InstrumentDetails

IsAutomated

Declaration
public bool IsAutomated { get; set; }
Property Value
Type Description
bool

IsOnHold

Declaration
public bool IsOnHold { get; set; }
Property Value
Type Description
bool

IsQueueHolder

Declaration
public bool IsQueueHolder { get; set; }
Property Value
Type Description
bool

IsSniper

Declaration
public bool IsSniper { get; set; }
Property Value
Type Description
bool

LeaveOnRestart

Applicable to Server Side SDK, this property, if set to false, will configure the order to be removed by the SDK when this application restarts. It is used in conjunction with the TTAPIOptions.SDKInstanceId to remove only the orders set be the previous instance of the application that set the LeaveOnRestart to false.

Declaration
public bool LeaveOnRestart { get; set; }
Property Value
Type Description
bool

LimitPrice

Declaration
public Price LimitPrice { get; set; }
Property Value
Type Description
Price

MinimumQuantity

Declaration
public Quantity MinimumQuantity { get; set; }
Property Value
Type Description
Quantity

OrderQuantity

Declaration
public Quantity OrderQuantity { get; set; }
Property Value
Type Description
Quantity

OrderStimulusTime

Declaration
public ulong OrderStimulusTime { get; set; }
Property Value
Type Description
ulong

OrderTag

Declaration
public string OrderTag { get; set; }
Property Value
Type Description
string

OrderTagDefaults

Declaration
public OrderTagDefaults OrderTagDefaults { get; set; }
Property Value
Type Description
OrderTagDefaults

OrderTagDefaultsName

Declaration
public string OrderTagDefaultsName { get; set; }
Property Value
Type Description
string

OrderType

Declaration
public OrderType OrderType { get; set; }
Property Value
Type Description
OrderType

Organization

Declaration
public string Organization { get; }
Property Value
Type Description
string

OriginalOrder

Declaration
public Order OriginalOrder { get; }
Property Value
Type Description
Order

PositionEffect

Declaration
public PositionEffect PositionEffect { get; set; }
Property Value
Type Description
PositionEffect

PriceRecvTime

Declaration
public ulong PriceRecvTime { get; set; }
Property Value
Type Description
ulong

ReverseSpread

Declaration
public ReverseSpread ReverseSpread { get; set; }
Property Value
Type Description
ReverseSpread

SenderLocation

Declaration
public string SenderLocation { get; }
Property Value
Type Description
string

Side

Declaration
public OrderSide Side { get; set; }
Property Value
Type Description
OrderSide

SiteOrderKey

Declaration
public string SiteOrderKey { get; }
Property Value
Type Description
string

StagedOrderMessage

Declaration
public string StagedOrderMessage { get; set; }
Property Value
Type Description
string

StopPrice

Declaration
public Price StopPrice { get; set; }
Property Value
Type Description
Price

SubUserId

Declaration
public string SubUserId { get; set; }
Property Value
Type Description
string

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
string

TextA

Declaration
public string TextA { get; set; }
Property Value
Type Description
string

TextB

Declaration
public string TextB { get; set; }
Property Value
Type Description
string

TextC

Declaration
public string TextC { get; set; }
Property Value
Type Description
string

TextTT

Declaration
public string TextTT { get; set; }
Property Value
Type Description
string

TimeInForce

Declaration
public TimeInForce TimeInForce { get; set; }
Property Value
Type Description
TimeInForce

TimeSent

Declaration
public DateTime TimeSent { get; }
Property Value
Type Description
DateTime

TradingStrategy

Declaration
public TradingStrategy TradingStrategy { get; set; }
Property Value
Type Description
TradingStrategy

TriggerPrice

Declaration
public Price TriggerPrice { get; set; }
Property Value
Type Description
Price

UserDisconnectAction

Declaration
public UserDisconnectAction UserDisconnectAction { get; set; }
Property Value
Type Description
UserDisconnectAction

UserName

Declaration
public string UserName { get; }
Property Value
Type Description
string

UserParameters

Declaration
public IReadOnlyDictionary<string, object> UserParameters { get; set; }
Property Value
Type Description
IReadOnlyDictionary<string, object>

UserTag

Declaration
public string UserTag { get; set; }
Property Value
Type Description
string

Methods

CreateNewOrderProfile()

Declaration
public OrderProfile CreateNewOrderProfile()
Returns
Type Description
OrderProfile

Dispose()

Declaration
public void Dispose()

FinalizeCancelMsg(ref string)

Declaration
public bool FinalizeCancelMsg(ref string errorMsg)
Parameters
Type Name Description
string errorMsg
Returns
Type Description
bool

FinalizeChangeMsg(ref string)

Declaration
public bool FinalizeChangeMsg(ref string errorMsg)
Parameters
Type Name Description
string errorMsg
Returns
Type Description
bool

FinalizeNewOrderSingleMsg(ref string)

Declaration
public bool FinalizeNewOrderSingleMsg(ref string errorMsg)
Parameters
Type Name Description
string errorMsg
Returns
Type Description
bool

FinalizeSPQMsg(ref string)

Declaration
public bool FinalizeSPQMsg(ref string errorMsg)
Parameters
Type Name Description
string errorMsg
Returns
Type Description
bool

LegAccount(int)

Declaration
public Account LegAccount(int legIdx)
Parameters
Type Name Description
int legIdx
Returns
Type Description
Account

LegPositionEffect(int)

Declaration
public PositionEffect LegPositionEffect(int legIndex)
Parameters
Type Name Description
int legIndex
Returns
Type Description
PositionEffect

ResetOrderId()

Declaration
public string ResetOrderId()
Returns
Type Description
string

SetLegAccount(int, Account)

Declaration
public void SetLegAccount(int legIdx, Account ai)
Parameters
Type Name Description
int legIdx
Account ai

SetLegAccountName(int, string)

Declaration
public void SetLegAccountName(int legIdx, string acctName)
Parameters
Type Name Description
int legIdx
string acctName

SetLegPositionEffect(int, PositionEffect)

Declaration
public void SetLegPositionEffect(int legIndex, PositionEffect positionEffect)
Parameters
Type Name Description
int legIndex
PositionEffect positionEffect

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IDisposable
In this article
Back to top