FixSession

StockSharp.Server.Fix

Session settings.

Inherits: BaseLogReceiver

Implements: IMessageListenerSession, ILogReceiver, ILogSource, IDisposable

Constructors

FixSession()

Initializes a new instance of the FixSession.

Properties

Address : EndPoint

Server address.

DateParser : FastDateTimeParser

Date parser.

DateTimeParser : FastDateTimeParser

Date and time parser.

Dialect : Type

The FIX dialect. The default is DefaultFixDialect.

Encoding : Encoding

The encoding used for data transmission.

HeartBeat : TimeSpan

The interval of the connection availability check. The default is 1 minute.

IncrementalDepthUpdates : bool

To send changes by the order book. If disabled, the order book is sent entirely. The default is enabled.

IsConnected : bool

Get connection status.

IsEnabled : bool

Enabled.

MaxReadBytes : int

Gets and sets the maximum allowed bytes per read.

MaxWriteBytes : int

Gets and sets the maximum allowed bytes per write.

ReadTimeout : TimeSpan

The timeout of reading data. The default value is Zero.

SenderCompId : string

Sender ID.

TargetCompId : string

Target ID.

TimeParser : FastTimeSpanParser

Time parser.

WriteTimeout : TimeSpan

The timeout of sending data. The default value is Zero.

YearMonthParser : FastDateTimeParser

Year and month parser.

Methods

IncreaseBytesSent(int)

Increase BytesSent.

count
Value.
IncreaseErrorCount()

Increase ErrorCount.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
ResetErrorCount()

Reset ErrorCount.

Save(SettingsStorage)

Save settings.

storage
Settings storage.