Table of Contents

Class QuandlMessageAdapter

Namespace
StockSharp.Quandl
Assembly
StockSharp.Quandl.dll

The message adapter for StockSharp.Quandl.

[MessageAdapterCategory(MessageAdapterCategories.US|MessageAdapterCategories.Stock|MessageAdapterCategories.History|MessageAdapterCategories.Free|MessageAdapterCategories.Candles|MessageAdapterCategories.Futures)]
[MediaIcon("Quandl_logo.svg")]
public class QuandlMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ITokenAdapter
Inheritance
QuandlMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

QuandlMessageAdapter(IdGenerator)

Initializes a new instance of the QuandlMessageAdapter.

public QuandlMessageAdapter(IdGenerator transactionIdGenerator)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

Properties

AllTimeFrames

Possible time-frames.

public static IEnumerable<TimeSpan> AllTimeFrames { get; }

Property Value

IEnumerable<TimeSpan>

DatabaseCode

The database Quandl identifier.

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

Property Value

string

Token

Token.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Str3451", Description = "AccessToken", GroupName = "Str174", Order = 0)]
public SecureString Token { get; set; }

Property Value

SecureString

Methods

GetTimeFrames(SecurityId, DateTimeOffset?, DateTimeOffset?)

Get possible time-frames for the specified instrument.

protected override IEnumerable<TimeSpan> GetTimeFrames(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)

Parameters

securityId SecurityId

Security ID.

from DateTimeOffset?

The initial date from which you need to get data.

to DateTimeOffset?

The final date by which you need to get data.

Returns

IEnumerable<TimeSpan>

Possible time-frames.

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