Class SuperDerivativesFixDialect
- Namespace
- StockSharp.Fix.Dialects
- Assembly
- StockSharp.Fix.dll
SuperDerivatives FIX protocol dialect.
[MediaIcon("SuperDerivatives_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "SuperDerivatives", GroupName = "Stock")]
public class SuperDerivativesFixDialect : BaseFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter- Inheritance
- 
      
      
      
      
      
      SuperDerivativesFixDialect
- Implements
- Inherited Members
- Extension Methods
Constructors
SuperDerivativesFixDialect(IdGenerator)
Initializes a new instance of the SuperDerivativesFixDialect.
public SuperDerivativesFixDialect(IdGenerator transactionIdGenerator)Parameters
- transactionIdGeneratorIdGenerator
- Transaction 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
Methods
GetSecurityType(string)
Convert string to SecurityTypes value.
protected override SecurityTypes? GetSecurityType(string type)Parameters
Returns
- SecurityTypes?
- SecurityTypes value. 
GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)
Get supported by adapter message types.
public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)Parameters
- securityIdSecurityId
- fromDateTimeOffset?
- Start date for request. If null, then all available messages will be returned. 
- toDateTimeOffset?
- End date for request. If null, then all available messages will be returned. 
Returns
- IEnumerable<DataType>
- Supported by adapter market data types. 
OnRead(IFixReader, string, Action<Message>)
Read next message from FIX protocol.
protected override bool? OnRead(IFixReader reader, string msgType, Action<Message> messageHandler)Parameters
- readerIFixReader
- The reader of data recorded in the FIX protocol format. 
- msgTypestring
- Message 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
- writerIFixWriter
- The recorder of data in the FIX protocol format. 
- messageMessage
- The message. 
Returns
- string
- FixMessages value.