Show / Hide Table of Contents

Class SpreadLegDetails

Inheritance
object
SpreadLegDetails
Inherited Members
object.ToString()
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 SpreadLegDetails

Constructors

SpreadLegDetails(Instrument)

Declaration
public SpreadLegDetails(Instrument inst)
Parameters
Type Name Description
Instrument inst

SpreadLegDetails(Instrument, decimal, decimal)

Declaration
public SpreadLegDetails(Instrument inst, decimal spreadRatio, decimal spreadMultiplier)
Parameters
Type Name Description
Instrument inst
decimal spreadRatio
decimal spreadMultiplier

Properties

ActiveQuoting

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

ConvertQuoteToHedge

Declaration
public ConvertQuoteToHedgeType ConvertQuoteToHedge { get; set; }
Property Value
Type Description
ConvertQuoteToHedgeType

Instrument

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

InstrumentKey

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

IsHedging

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

IsLeanIndicative

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

MinLeanQty

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

Name

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

NumQtyDecimals

Declaration
public int NumQtyDecimals { get; }
Property Value
Type Description
int

PayupTicks

Declaration
public int PayupTicks { get; set; }
Property Value
Type Description
int

PriceMultiplier

Declaration
public decimal PriceMultiplier { get; set; }
Property Value
Type Description
decimal

QueueHolderOrders

Declaration
public int QueueHolderOrders { get; set; }
Property Value
Type Description
int

Rules

Declaration
public IReadOnlyCollection<SpreadLegRule> Rules { get; }
Property Value
Type Description
IReadOnlyCollection<SpreadLegRule>

SpreadRatio

Declaration
public decimal SpreadRatio { get; set; }
Property Value
Type Description
decimal

TickDenominator

Declaration
public long TickDenominator { get; }
Property Value
Type Description
long

TickNumerator

Declaration
public long TickNumerator { get; }
Property Value
Type Description
long

Version

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

Methods

AppendSpreadsRules(SpreadDetails)

Declaration
public void AppendSpreadsRules(SpreadDetails spreadDetails)
Parameters
Type Name Description
SpreadDetails spreadDetails

EnableRule(int, bool)

Declaration
public void EnableRule(int ruleIdex, bool enabled)
Parameters
Type Name Description
int ruleIdex
bool enabled

EnableRule(string, bool)

Declaration
public void EnableRule(string ruleName, bool enabled)
Parameters
Type Name Description
string ruleName
bool enabled

SetRuleCustomVariable(int, string, object)

Declaration
public void SetRuleCustomVariable(int ruleIdex, string varName, object varValue)
Parameters
Type Name Description
int ruleIdex
string varName
object varValue

SetRuleCustomVariable(string, string, object)

Declaration
public void SetRuleCustomVariable(string ruleName, string varName, object varValue)
Parameters
Type Name Description
string ruleName
string varName
object varValue
In this article
Back to top