Class LuaFixDialect
- Namespace
- StockSharp.Fix.Quik.Lua
- Assembly
- StockSharp.Fix.dll
QUIK Lua FIX protocol dialect.
[Display(ResourceType = typeof(LocalizedStrings), Name = "QuikLua", GroupName = "Russia")]
[MediaIcon("Quik_logo.svg")]
public class LuaFixDialect : DefaultFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter
- Inheritance
-
LuaFixDialect
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
LuaFixDialect(IdGenerator)
Initializes a new instance of the LuaFixDialect.
public LuaFixDialect(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Properties
AllTimeFrames
Possible time-frames.
[Browsable(false)]
public static IEnumerable<TimeSpan> AllTimeFrames { get; }
Property Value
ExtraSetup
The adapter requires extra setup.
public override bool ExtraSetup { get; }
Property Value
Name
The source name.
public override string Name { get; }
Property Value
OrderConditionType
Type of OrderCondition.
public override Type OrderConditionType { get; }
Property Value
Remarks
If the connection does not support the order type Conditional, it will be returned null.
PossibleSupportedMessages
Possible supported by adapter message types.
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
Property Value
SupportedMarketDataTypes
Supported by adapter market data types.
public override IEnumerable<DataType> SupportedMarketDataTypes { get; set; }
Property Value
TimeFrames
Possible time-frames.
protected override IEnumerable<TimeSpan> TimeFrames { get; }
Property Value
Methods
IsAllDownloadingSupported(DataType)
Is for the specified dataType
all securities downloading enabled.
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
dataType
DataTypeData type info.
Returns
- bool
Check result.
ReadOrderCondition(IFixReader, FixTags, Func<OrderCondition>)
To read the order condition OrderCondition.
protected override bool ReadOrderCondition(IFixReader reader, FixTags tag, Func<OrderCondition> getCondition)
Parameters
reader
IFixReaderData reader.
tag
FixTagsTag.
getCondition
Func<OrderCondition>The function returning the order condition.
Returns
- bool
Whether the data was successfully processed.
WriteOrderCondition(IFixWriter, OrderCondition)
To record data by the order condition.
protected override void WriteOrderCondition(IFixWriter writer, OrderCondition condition)
Parameters
writer
IFixWriterFIX data writer.
condition
OrderConditionOrder condition (e.g., stop- and algo- orders parameters).