Class LuaFixDialect
QUIK Lua FIX protocol dialect.
Inherited Members
Namespace: StockSharp.Quik.Lua
Assembly: StockSharp.Quik.dll
Syntax
[MediaIcon("Quik_logo.png")]
[DisplayNameLoc("QUIK Lua")]
public class LuaFixDialect : DefaultFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
Constructors
LuaFixDialect(IdGenerator)
Initializes a new instance of the NasdaqFixDialect.
Declaration
public LuaFixDialect(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Transaction id generator. |
Properties
AllTimeFrames
Possible time-frames.
Declaration
public static IEnumerable<TimeSpan> AllTimeFrames { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TimeSpan> |
Name
The source name.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
OrderConditionType
Type of OrderCondition.
Declaration
public override Type OrderConditionType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Remarks
If the connection does not support the order type Conditional, it will be returned null.
PossibleSupportedMessages
Possible supported by adapter message types.
Declaration
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
Property Value
Type | Description |
---|---|
IEnumerable<MessageTypeInfo> |
Overrides
SupportedMarketDataTypes
Supported by adapter market data types.
Declaration
public override IEnumerable<DataType> SupportedMarketDataTypes { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<DataType> |
Overrides
TimeFrames
Possible time-frames.
Declaration
protected override IEnumerable<TimeSpan> TimeFrames { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TimeSpan> |
Overrides
Methods
IsAllDownloadingSupported(DataType)
Is for the specified dataType
all securities downloading enabled.
Declaration
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Data type info. |
Returns
Type | Description |
---|---|
Boolean | Check result. |
Overrides
ReadOrderCondition(IFixReader, FixTags, Func<OrderCondition>)
To read the order condition OrderCondition.
Declaration
protected override bool ReadOrderCondition(IFixReader reader, FixTags tag, Func<OrderCondition> getCondition)
Parameters
Type | Name | Description |
---|---|---|
IFixReader | reader | Data reader. |
FixTags | tag | Tag. |
Func<OrderCondition> | getCondition | The function returning the order condition. |
Returns
Type | Description |
---|---|
Boolean | Whether the data was successfully processed. |
Overrides
WriteOrderCondition(IFixWriter, OrderCondition)
To record data by the order condition.
Declaration
protected override void WriteOrderCondition(IFixWriter writer, OrderCondition condition)
Parameters
Type | Name | Description |
---|---|---|
IFixWriter | writer | FIX data writer. |
OrderCondition | condition | Order condition (e.g., stop- and algo- orders parameters). |
Overrides
Implements
Ecng.Common.ICloneable<>
Ecng.Serialization.IPersistable