Table of Contents

Class TrueFXMessageAdapter

Namespace
StockSharp.TrueFX
Assembly
StockSharp.TrueFX.dll

The message adapter for StockSharp.TrueFX.

[MediaIcon("TrueFX_logo.png")]
[MessageAdapterCategory(MessageAdapterCategories.FX|MessageAdapterCategories.History|MessageAdapterCategories.Free|MessageAdapterCategories.Candles|MessageAdapterCategories.Level1)]
public class TrueFXMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ILoginPasswordAdapter
Inheritance
TrueFXMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

TrueFXMessageAdapter(IdGenerator)

Initializes a new instance of the TrueFXMessageAdapter.

public TrueFXMessageAdapter(IdGenerator transactionIdGenerator)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

Properties

Login

Login.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Login", Description = "LoginDot", GroupName = "Str174", Order = 0)]
public string Login { get; set; }

Property Value

string

Password

Password.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Password", Description = "PasswordDot", GroupName = "Str174", Order = 1)]
public SecureString Password { get; set; }

Property Value

SecureString

Methods

GetHistoryStepSize(DataType, out TimeSpan)

public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)

Parameters

dataType DataType
iterationInterval TimeSpan

Returns

TimeSpan

IsAllDownloadingSupported(DataType)

Is for the specified dataType all securities downloading enabled.

public override bool IsAllDownloadingSupported(DataType dataType)

Parameters

dataType DataType

Data type info.

Returns

bool

Check result.

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnSendInMessage(Message)

Send message.

protected override bool OnSendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string