Class BitalongMessageAdapter
The message adapter for StockSharp.Bitalong.
Inherited Members
Namespace: StockSharp.Bitalong
Assembly: StockSharp.Bitalong.dll
Syntax
[OrderCondition]
[MediaIcon("Bitalong_logo.png")]
[DisplayNameLoc("Bitalong")]
[CategoryLoc("Cryptocurrency")]
[DescriptionLoc("Str1770", "Bitalong")]
[MessageAdapterCategory]
public class BitalongMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, IKeySecretAdapter, IAddressAdapter<string>
Constructors
BitalongMessageAdapter(IdGenerator)
Initializes a new instance of the BitalongMessageAdapter.
Declaration
public BitalongMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Transaction id generator. |
Properties
Address
Server address.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
String |
BalanceCheckInterval
Balance check interval. Required in case of deposit and withdraw actions.
Declaration
public TimeSpan BalanceCheckInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
FeatureName
Feature name.
Declaration
public override string FeatureName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Key
Key.
Declaration
public SecureString Key { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
Secret
Secret.
Declaration
public SecureString Secret { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
Methods
IsAllDownloadingSupported(DataType)
Is for the specified dataType
all securities downloading enabled.
Declaration
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Data type info. |
Returns
Type | Description |
---|---|
Boolean | Check result. |
Overrides
Load(SettingsStorage)
Load settings.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
OnSendInMessage(Message)
Send message.
Declaration
protected override bool OnSendInMessage(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message | Message. |
Returns
Type | Description |
---|---|
Boolean | true if the specified message was processed successfully, otherwise, false. |
Overrides
Save(SettingsStorage)
Save settings.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Implements
Ecng.Common.ICloneable<>
Ecng.Serialization.IPersistable