Table of Contents

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 IdGenerator

Transaction id generator.

Properties

AllTimeFrames

Possible time-frames.

[Browsable(false)]
public static IEnumerable<TimeSpan> AllTimeFrames { get; }

Property Value

IEnumerable<TimeSpan>

ExtraSetup

The adapter requires extra setup.

public override bool ExtraSetup { get; }

Property Value

bool

Name

The source name.

public override string Name { get; }

Property Value

string

OrderConditionType

Type of OrderCondition.

public override Type OrderConditionType { get; }

Property Value

Type

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

IEnumerable<MessageTypeInfo>

SupportedMarketDataTypes

Supported by adapter market data types.

public override IEnumerable<DataType> SupportedMarketDataTypes { get; set; }

Property Value

IEnumerable<DataType>

TimeFrames

Possible time-frames.

protected override IEnumerable<TimeSpan> TimeFrames { get; }

Property Value

IEnumerable<TimeSpan>

Methods

IsAllDownloadingSupported(DataType)

Is for the specified dataType all securities downloading enabled.

public override bool IsAllDownloadingSupported(DataType dataType)

Parameters

dataType DataType

Data 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 IFixReader

Data reader.

tag FixTags

Tag.

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 IFixWriter

FIX data writer.

condition OrderCondition

Order condition (e.g., stop- and algo- orders parameters).