Class OrderProfile
  
  
  
  
  
  
  Assembly: tt-net-api.dll
  Syntax
  
    public class OrderProfile : IDisposable
   
  Constructors
  
  OrderProfile(Instrument, bool)
  
  
  Declaration
  
    public OrderProfile(Instrument instrument, bool isStagedOrder = false)
   
  Parameters
  
  
  OrderProfile(Instrument, Instrument)
  
  
  Declaration
  
    public OrderProfile(Instrument instrument, Instrument algoInstrument)
   
  Parameters
  
  Properties
  
  Account
  
  
  Declaration
  
    public Account Account { get; set; }
   
  Property Value
  
  
  AccountName
  
  
  Declaration
  
    public string AccountName { get; set; }
   
  Property Value
  
  
  Action
  
  
  Declaration
  
    public OrderAction Action { get; set; }
   
  Property Value
  
  
  ApplicationId
  
  
  Declaration
  
    public string ApplicationId { get; }
   
  Property Value
  
  
  BestMarketPrice
  
  
  Declaration
  
    public Price BestMarketPrice { get; set; }
   
  Property Value
  
  
  BuySell
  
  
  Declaration
  
    public BuySell BuySell { get; set; }
   
  Property Value
  
  
  ClearingAccountOverride
  
  
  Declaration
  
    public string ClearingAccountOverride { get; set; }
   
  Property Value
  
  
  ClientOrderId
  
  
  Declaration
  
    public ulong ClientOrderId { get; }
   
  Property Value
  
  
  CoLocation
  
  
  Declaration
  
    public MarketId CoLocation { get; set; }
   
  Property Value
  
  
  DisclosedQuantity
  
  
  Declaration
  
    public Quantity DisclosedQuantity { get; set; }
   
  Property Value
  
  
  ExchangeClOrderId
  
  
  Declaration
  
    public string ExchangeClOrderId { get; }
   
  Property Value
  
  
  ExpireDate
  
  
  Declaration
  
    public ulong ExpireDate { get; set; }
   
  Property Value
  
  
  GiveUp
  
  
  Declaration
  
    public string GiveUp { get; set; }
   
  Property Value
  
  
  Instrument
  
  
  Declaration
  
    public Instrument Instrument { get; }
   
  Property Value
  
  
  InstrumentDetails
  
  
  Declaration
  
    public InstrumentDetails InstrumentDetails { get; }
   
  Property Value
  
  
  IsAutomated
  
  
  Declaration
  
    public bool IsAutomated { get; set; }
   
  Property Value
  
  
  IsOnHold
  
  
  Declaration
  
    public bool IsOnHold { get; set; }
   
  Property Value
  
  
  IsQueueHolder
  
  
  Declaration
  
    public bool IsQueueHolder { get; set; }
   
  Property Value
  
  
  IsSniper
  
  
  Declaration
  
    public bool IsSniper { get; set; }
   
  Property Value
  
  
  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
  
  
  LimitPrice
  
  
  Declaration
  
    public Price LimitPrice { get; set; }
   
  Property Value
  
  
  MinimumQuantity
  
  
  Declaration
  
    public Quantity MinimumQuantity { get; set; }
   
  Property Value
  
  
  OrderQuantity
  
  
  Declaration
  
    public Quantity OrderQuantity { get; set; }
   
  Property Value
  
  
  OrderStimulusTime
  
  
  Declaration
  
    public ulong OrderStimulusTime { get; set; }
   
  Property Value
  
  
  OrderTag
  
  
  Declaration
  
    public string OrderTag { get; set; }
   
  Property Value
  
  
  OrderTagDefaults
  
  
  Declaration
  
    public OrderTagDefaults OrderTagDefaults { get; set; }
   
  Property Value
  
  
  OrderTagDefaultsName
  
  
  Declaration
  
    public string OrderTagDefaultsName { get; set; }
   
  Property Value
  
  
  OrderType
  
  
  Declaration
  
    public OrderType OrderType { get; set; }
   
  Property Value
  
  
  Organization
  
  
  Declaration
  
    public string Organization { get; }
   
  Property Value
  
  
  OriginalOrder
  
  
  Declaration
  
    public Order OriginalOrder { get; }
   
  Property Value
  
  
  PositionEffect
  
  
  Declaration
  
    public PositionEffect PositionEffect { get; set; }
   
  Property Value
  
  
  PriceRecvTime
  
  
  Declaration
  
    public ulong PriceRecvTime { get; set; }
   
  Property Value
  
  
  ReverseSpread
  
  
  Declaration
  
    public ReverseSpread ReverseSpread { get; set; }
   
  Property Value
  
  
  SenderLocation
  
  
  Declaration
  
    public string SenderLocation { get; }
   
  Property Value
  
  
  Side
  
  
  Declaration
  
    public OrderSide Side { get; set; }
   
  Property Value
  
  
  SiteOrderKey
  
  
  Declaration
  
    public string SiteOrderKey { get; }
   
  Property Value
  
  
  StagedOrderMessage
  
  
  Declaration
  
    public string StagedOrderMessage { get; set; }
   
  Property Value
  
  
  StopPrice
  
  
  Declaration
  
    public Price StopPrice { get; set; }
   
  Property Value
  
  
  SubUserId
  
  
  Declaration
  
    public string SubUserId { get; set; }
   
  Property Value
  
  
  Text
  
  
  Declaration
  
    public string Text { get; set; }
   
  Property Value
  
  
  TextA
  
  
  Declaration
  
    public string TextA { get; set; }
   
  Property Value
  
  
  TextB
  
  
  Declaration
  
    public string TextB { get; set; }
   
  Property Value
  
  
  TextC
  
  
  Declaration
  
    public string TextC { get; set; }
   
  Property Value
  
  
  TextTT
  
  
  Declaration
  
    public string TextTT { get; set; }
   
  Property Value
  
  
  TimeInForce
  
  
  Declaration
  
    public TimeInForce TimeInForce { get; set; }
   
  Property Value
  
  
  TimeSent
  
  
  Declaration
  
    public DateTime TimeSent { get; }
   
  Property Value
  
  
  TradingStrategy
  
  
  Declaration
  
    public TradingStrategy TradingStrategy { get; set; }
   
  Property Value
  
  
  TriggerPrice
  
  
  Declaration
  
    public Price TriggerPrice { get; set; }
   
  Property Value
  
  
  UserDisconnectAction
  
  
  Declaration
  
    public UserDisconnectAction UserDisconnectAction { get; set; }
   
  Property Value
  
  
  UserName
  
  
  Declaration
  
    public string UserName { get; }
   
  Property Value
  
  
  UserParameters
  
  
  Declaration
  
    public IReadOnlyDictionary<string, object> UserParameters { get; set; }
   
  Property Value
  
  
  UserTag
  
  
  Declaration
  
    public string UserTag { get; set; }
   
  Property Value
  
  Methods
  
  CreateNewOrderProfile()
  
  
  Declaration
  
    public OrderProfile CreateNewOrderProfile()
   
  Returns
  
  
  Dispose()
  
  
  Declaration
  
  
  FinalizeCancelMsg(ref string)
  
  
  Declaration
  
    public bool FinalizeCancelMsg(ref string errorMsg)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | errorMsg |  | 
    
  
  Returns
  
  
  FinalizeChangeMsg(ref string)
  
  
  Declaration
  
    public bool FinalizeChangeMsg(ref string errorMsg)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | errorMsg |  | 
    
  
  Returns
  
  
  FinalizeNewOrderSingleMsg(ref string)
  
  
  Declaration
  
    public bool FinalizeNewOrderSingleMsg(ref string errorMsg)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | errorMsg |  | 
    
  
  Returns
  
  
  FinalizeSPQMsg(ref string)
  
  
  Declaration
  
    public bool FinalizeSPQMsg(ref string errorMsg)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | errorMsg |  | 
    
  
  Returns
  
  
  LegAccount(int)
  
  
  Declaration
  
    public Account LegAccount(int legIdx)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | legIdx |  | 
    
  
  Returns
  
  
  LegPositionEffect(int)
  
  
  Declaration
  
    public PositionEffect LegPositionEffect(int legIndex)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | legIndex |  | 
    
  
  Returns
  
  
  ResetOrderId()
  
  
  Declaration
  
    public string ResetOrderId()
   
  Returns
  
  
  SetLegAccount(int, Account)
  
  
  Declaration
  
    public void SetLegAccount(int legIdx, Account ai)
   
  Parameters
  
  
  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
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
  Overrides
  
  Implements