Class CoincheckMessageAdapter
Адаптер сообщений для StockSharp.Coincheck.
Inherited Members
Namespace: StockSharp.Coincheck
Assembly: StockSharp.Coincheck.dll
Syntax
[OrderCondition]
[MediaIcon("Coincheck_logo.png")]
[DisplayNameLoc("Coincheck")]
[CategoryLoc("Cryptocurrency")]
[DescriptionLoc("Str1770", "Coincheck")]
[MessageAdapterCategory]
public class CoincheckMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, IKeySecretAdapter
Constructors
CoincheckMessageAdapter(IdGenerator)
Создать CoincheckMessageAdapter.
Declaration
public CoincheckMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Генератор транзакций. |
Properties
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
IsSupportOrderBookIncrements
Адаптер транслирует инкрементальные стаканы.
Declaration
public override bool IsSupportOrderBookIncrements { get; }
Property Value
Type | Description |
---|---|
Boolean |
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
GetHistoryStepSize(DataType, out TimeSpan)
Получить максимальный размер шага, доступный для скачивания истории.
Declaration
public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Тип данных. |
TimeSpan | iterationInterval | Interval between iterations. |
Returns
Type | Description |
---|---|
TimeSpan | Step. |
Overrides
IsAllDownloadingSupported(DataType)
Доступно ли для указанного dataType
загрузка всех инструментов.
Declaration
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Тип данных. |
Returns
Type | Description |
---|---|
Boolean | Результат проверки. |
Overrides
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
OnSendInMessage(Message)
Отправить сообщение.
Declaration
protected override bool OnSendInMessage(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message | Message. |
Returns
Type | Description |
---|---|
Boolean | true если переданное сообщение было обработано успешно, иначе, false. |
Overrides
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Implements
Ecng.Common.ICloneable<>
Ecng.Serialization.IPersistable