Class BiboxMessageAdapter
The message adapter for StockSharp.Bibox.
Inherited Members
Namespace: StockSharp.Bibox
Assembly: StockSharp.Bibox.dll
Syntax
[OrderCondition]
[MediaIcon("Bibox_logo.png")]
[DisplayNameLoc("Bibox")]
[CategoryLoc("Cryptocurrency")]
[DescriptionLoc("Str1770", "Bibox")]
[MessageAdapterCategory]
public class BiboxMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, IKeySecretAdapter
Constructors
BiboxMessageAdapter(IdGenerator)
Initializes a new instance of the BiboxMessageAdapter.
Declaration
public BiboxMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Transaction id generator. |
Properties
AdminPassword
Administrative password.
Declaration
public SecureString AdminPassword { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
AllTimeFrames
Possible time-frames.
Declaration
public static IEnumerable<TimeSpan> AllTimeFrames { get; }
Property Value
Type | Description |
---|---|
IEnumerable<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
GetHistoryStepSize(DataType, out TimeSpan)
Get maximum size step allowed for historical download.
Declaration
public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Data type info. |
TimeSpan | iterationInterval | Interval between iterations. |
Returns
Type | Description |
---|---|
TimeSpan | Step. |
Overrides
GetTimeFrames(SecurityId, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Get possible time-frames for the specified instrument.
Declaration
protected override IEnumerable<TimeSpan> GetTimeFrames(SecurityId securityId, Nullable<DateTimeOffset> from, Nullable<DateTimeOffset> to)
Parameters
Type | Name | Description |
---|---|---|
SecurityId | securityId | Security ID. |
Nullable<DateTimeOffset> | from | The initial date from which you need to get data. |
Nullable<DateTimeOffset> | to | The final date by which you need to get data. |
Returns
Type | Description |
---|---|
IEnumerable<TimeSpan> | Possible time-frames. |
Overrides
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