IFixDialect
The interface describing the dialect of the FIX protocol.
Implements: IMessageAdapter, IMessageTransport, IPersistable, ILogReceiver, ILogSource, IDisposable, ICloneable<IMessageAdapter>, ICloneable, IDemoAdapter
Properties
public string Accounts { get; set; }
value = iFixDialect.Accounts
iFixDialect.Accounts = value
Accounts associated with FIX login.
public bool CancelOnDisconnect { get; set; }
value = iFixDialect.CancelOnDisconnect
iFixDialect.CancelOnDisconnect = value
Cancel On Disconnect.
public string ClientCode { get; set; }
value = iFixDialect.ClientCode
iFixDialect.ClientCode = value
Client code assigned by the broker.
public string ClientVersion { get; set; }
value = iFixDialect.ClientVersion
iFixDialect.ClientVersion = value
Client app version.
public long CurrentCounter { get; set; }
value = iFixDialect.CurrentCounter
iFixDialect.CurrentCounter = value
Counter.
public FastDateTimeParser DateParser { get; set; }
value = iFixDialect.DateParser
iFixDialect.DateParser = value
Date parser.
public bool DoNotSendAccount { get; set; }
value = iFixDialect.DoNotSendAccount
iFixDialect.DoNotSendAccount = value
Do not send Account.
public Encoding Encoding { get; set; }
value = iFixDialect.Encoding
iFixDialect.Encoding = value
Encoding.
public string ExchangeBoard { get; set; }
value = iFixDialect.ExchangeBoard
iFixDialect.ExchangeBoard = value
Board, where securities are traded.
public bool IsResetCounter { get; set; }
value = iFixDialect.IsResetCounter
iFixDialect.IsResetCounter = value
Should the sequence counter be reset.
public bool OverrideExecIdByNative { get; set; }
value = iFixDialect.OverrideExecIdByNative
iFixDialect.OverrideExecIdByNative = value
Override ExecId by native identifier (if present in FIX message).
public SecureString Password { get; set; }
value = iFixDialect.Password
iFixDialect.Password = value
Password.
public IFixReader Reader { get; }
value = iFixDialect.Reader
The reader of data recorded in the FIX protocol format.
public string SenderCompId { get; set; }
value = iFixDialect.SenderCompId
iFixDialect.SenderCompId = value
Sender ID.
public bool SupportLicensing { get; }
value = iFixDialect.SupportLicensing
Support of licensing features.
public bool SupportUnknownExecutions { get; set; }
value = iFixDialect.SupportUnknownExecutions
iFixDialect.SupportUnknownExecutions = value
Support executions processing, generated by third-party software.
public string TargetCompId { get; set; }
value = iFixDialect.TargetCompId
iFixDialect.TargetCompId = value
Target ID.
public FastTimeSpanParser TimeParser { get; set; }
value = iFixDialect.TimeParser
iFixDialect.TimeParser = value
Time parser.
public FastDateTimeParser TimeStampParser { get; set; }
value = iFixDialect.TimeStampParser
iFixDialect.TimeStampParser = value
Time stamp parser.
public TimeZoneInfo TimeZone { get; set; }
value = iFixDialect.TimeZone
iFixDialect.TimeZone = value
Information about the time zone where the exchange is located.
public IFixWriter Writer { get; }
value = iFixDialect.Writer
The recorder of data in the FIX protocol format.
public FastDateTimeParser YearMonthParser { get; set; }
value = iFixDialect.YearMonthParser
iFixDialect.YearMonthParser = value
Year and month parser.
Methods
public void Init(IFixWriter writer, IFixReader reader, EndPoint address)
iFixDialect.Init(writer, reader, address)
Initialize dialect.
- writer
- The recorder of data in the FIX protocol format.
- reader
- The reader of data recorded in the FIX protocol format.
- address
- Server address.
public IAsyncEnumerable<Message> ReadAsync(CancellationToken cancellationToken)
result = iFixDialect.ReadAsync(cancellationToken)
Read next messages from FIX protocol.
- cancellationToken
- CancellationToken
Returns: The sequence of messages.
public long? TryParseNextMsqSeqNum(string errorMessage)
result = iFixDialect.TryParseNextMsqSeqNum(errorMessage)
Try extract expected MsgSeqNum from the specified error message.
- errorMessage
- Error message.
Returns: MsgSeqNum or .