Table of Contents

Interface IFixDialect

Namespace
StockSharp.Fix.Dialects
Assembly
StockSharp.Fix.Core.dll

The interface describing the dialect of the FIX protocol.

public interface IFixDialect : IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter
Inherited Members
Extension Methods

Properties

Accounts

Accounts associated with FIX login.

string Accounts { get; set; }

Property Value

string

CancelOnDisconnect

Cancel On Disconnect.

bool CancelOnDisconnect { get; set; }

Property Value

bool

ClientCode

Client code assigned by the broker.

string ClientCode { get; set; }

Property Value

string

ClientVersion

Client app version.

string ClientVersion { get; set; }

Property Value

string

CurrentCounter

Counter.

long CurrentCounter { get; set; }

Property Value

long

DateParser

Date parser.

FastDateTimeParser DateParser { get; set; }

Property Value

FastDateTimeParser

DoNotSendAccount

Do not send Account.

bool DoNotSendAccount { get; set; }

Property Value

bool

Encoding

Encoding.

Encoding Encoding { get; set; }

Property Value

Encoding

ExchangeBoard

Board, where securities are traded.

string ExchangeBoard { get; set; }

Property Value

string

Format

FIX protocol format.

FixFormats Format { get; }

Property Value

FixFormats

IsResetCounter

Should the sequence counter be reset.

bool IsResetCounter { get; set; }

Property Value

bool

Login

Login.

string Login { get; set; }

Property Value

string

OverrideExecIdByNative

Override ExecId by native identifier (if present in FIX message).

bool OverrideExecIdByNative { get; set; }

Property Value

bool

Password

Password.

SecureString Password { get; set; }

Property Value

SecureString

Reader

The reader of data recorded in the FIX protocol format.

IFixReader Reader { get; }

Property Value

IFixReader

SenderCompId

Sender ID.

string SenderCompId { get; set; }

Property Value

string

SupportLicensing

Support of licensing features.

bool SupportLicensing { get; }

Property Value

bool

SupportUnknownExecutions

Support executions processing, generated by third-party software.

bool SupportUnknownExecutions { get; set; }

Property Value

bool

TargetCompId

Target ID.

string TargetCompId { get; set; }

Property Value

string

TimeParser

Time parser.

FastTimeSpanParser TimeParser { get; set; }

Property Value

FastTimeSpanParser

TimeStampParser

Time stamp parser.

FastDateTimeParser TimeStampParser { get; set; }

Property Value

FastDateTimeParser

TimeZone

Information about the time zone where the exchange is located.

TimeZoneInfo TimeZone { get; set; }

Property Value

TimeZoneInfo

Version

FIX version.

string Version { get; }

Property Value

string

Writer

The recorder of data in the FIX protocol format.

IFixWriter Writer { get; }

Property Value

IFixWriter

YearMonthParser

Year and month parser.

FastDateTimeParser YearMonthParser { get; set; }

Property Value

FastDateTimeParser

Methods

Init(IFixWriter, IFixReader, EndPoint)

Initialize dialect.

void Init(IFixWriter writer, IFixReader reader, EndPoint address)

Parameters

writer IFixWriter

The recorder of data in the FIX protocol format.

reader IFixReader

The reader of data recorded in the FIX protocol format.

address EndPoint

Server address.

Read(Action<Message>)

Read next messages from FIX protocol.

bool? Read(Action<Message> messageHandler)

Parameters

messageHandler Action<Message>

Message handler.

Returns

bool?

true if incoming messages was processed successfully, otherwise, false.

TryParseNextMsqSeqNum(string)

Try extract expected MsgSeqNum from the specified error message.

long? TryParseNextMsqSeqNum(string errorMessage)

Parameters

errorMessage string

Error message.

Returns

long?

MsgSeqNum or null.