Class SpreadLegDetails
Inheritance
SpreadLegDetails
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
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(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
SetRuleCustomVariable(string, string, object)
Declaration
public void SetRuleCustomVariable(string ruleName, string varName, object varValue)
Parameters