Class SpreadLegDetails
Inheritance
Object
SpreadLegDetails
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Assembly: tt-net-api.dll
Syntax
public class SpreadLegDetails
Constructors
SpreadLegDetails(Instrument)
Declaration
public SpreadLegDetails(Instrument inst)
Parameters
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
ConvertQuoteToHedge
Declaration
public ConvertQuoteToHedgeType ConvertQuoteToHedge { get; set; }
Property Value
Instrument
Declaration
public Instrument Instrument { get; set; }
Property Value
InstrumentKey
Declaration
public InstrumentKey InstrumentKey { get; }
Property Value
IsHedging
Declaration
public bool IsHedging { get; set; }
Property Value
IsLeanIndicative
Declaration
public bool IsLeanIndicative { get; set; }
Property Value
MinLeanQty
Declaration
public string MinLeanQty { get; set; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
NumQtyDecimals
Declaration
public int NumQtyDecimals { get; }
Property Value
PayupTicks
Declaration
public int PayupTicks { get; set; }
Property Value
PriceMultiplier
Declaration
public decimal PriceMultiplier { get; set; }
Property Value
QueueHolderOrders
Declaration
public int QueueHolderOrders { get; set; }
Property Value
Rules
Declaration
public IReadOnlyCollection<SpreadLegRule> Rules { get; }
Property Value
SpreadRatio
Declaration
public decimal SpreadRatio { get; set; }
Property Value
TickDenominator
Declaration
public long TickDenominator { get; }
Property Value
TickNumerator
Declaration
public long TickNumerator { get; }
Property Value
Version
Declaration
public ulong Version { get; }
Property Value
Methods
AppendSpreadsRules(SpreadDetails)
Declaration
public void AppendSpreadsRules(SpreadDetails spreadDetails)
Parameters
EnableRule(Int32, Boolean)
Declaration
public void EnableRule(int ruleIdex, bool enabled)
Parameters
Type |
Name |
Description |
Int32 |
ruleIdex |
|
Boolean |
enabled |
|
EnableRule(String, Boolean)
Declaration
public void EnableRule(string ruleName, bool enabled)
Parameters
Type |
Name |
Description |
String |
ruleName |
|
Boolean |
enabled |
|
SetRuleCustomVariable(Int32, String, Object)
Declaration
public void SetRuleCustomVariable(int ruleIdex, string varName, object varValue)
Parameters
Type |
Name |
Description |
Int32 |
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 |
|