Class QuikServerFixDialect
- Namespace
 - StockSharp.Fix.Dialects
 
- Assembly
 - StockSharp.Fix.dll
 
QUIK server FIX protocol dialect.
[MediaIcon("quik_logo.svg")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "QuikServer", GroupName = "Russia")]
public class QuikServerFixDialect : BaseFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter
  - Inheritance
 - 
      
      
      
      
      
      QuikServerFixDialect
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
QuikServerFixDialect(IdGenerator)
Initializes a new instance of the QuikServerFixDialect.
public QuikServerFixDialect(IdGenerator transactionIdGenerator)
  Parameters
transactionIdGeneratorIdGeneratorTransaction id generator.
Properties
FeatureName
Feature name.
public override string FeatureName { get; }
  Property Value
PossibleSupportedMessages
Possible supported by adapter message types.
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
  Property Value
SupportedOrderBookDepths
Available options for MaxDepth.
public override IEnumerable<int> SupportedOrderBookDepths { get; }
  Property Value
Methods
FromSecurityTradingStatus(int?)
Convert SecurityTradingStatus to SecurityStates value.
protected override SecurityStates? FromSecurityTradingStatus(int? status)
  Parameters
statusint?SecurityTradingStatus value.
Returns
- SecurityStates?
 SecurityStates value.
IsLogoutError(string)
Check Logout contains error message.
protected override bool IsLogoutError(string text)
  Parameters
textstringText message.
Returns
OnRead(IFixReader, string, Action<Message>)
Read next message from FIX protocol.
protected override bool? OnRead(IFixReader reader, string msgType, Action<Message> messageHandler)
  Parameters
readerIFixReaderThe reader of data recorded in the FIX protocol format.
msgTypestringMessage type.
messageHandlerAction<Message>Message handler.
Returns
- bool?
 true, if the messages was read successfully, false to skip unknown message, null to break connection.
OnWrite(IFixWriter, Message)
Write the specified message into FIX protocol.
protected override string OnWrite(IFixWriter writer, Message message)
  Parameters
writerIFixWriterThe recorder of data in the FIX protocol format.
messageMessageThe message.
Returns
- string
 FixMessages value.
ProcessSecurityDefinition(FixTags, IFixReader, SecurityMessage)
Process SecurityDefinition message.
protected override bool ProcessSecurityDefinition(FixTags tag, IFixReader reader, SecurityMessage message)
  Parameters
tagFixTagsTag.
readerIFixReaderThe reader of data recorded in the FIX protocol format.
messageSecurityMessageA message containing info about the security.
Returns
- bool
 Processing result.
ReadOrderCondition(IFixReader, FixTags, Func<OrderCondition>)
Read order condition.
protected virtual bool ReadOrderCondition(IFixReader reader, FixTags tag, Func<OrderCondition> getCondition)
  Parameters
readerIFixReaderThe reader of data recorded in the FIX protocol format.
tagFixTagsTag.
getConditionFunc<OrderCondition>Condition.
Returns
- bool
 Result.