Interface ICandlesSourceProvider
Represents a provider of candle collections for some set of securities.
Namespace: FancyCandles
Assembly: FancyCandles.dll
Syntax
public interface ICandlesSourceProvider
Properties
| Improve this Doc View SourceSecCatalog
Gets the list of securities for which this ICandlesSourceProvider can provide the candle collection.
Declaration
IList<ISecurityInfo> SecCatalog { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ISecurityInfo> | The list of securities for which this ICandlesSourceProvider can provide the candle collection. |
SupportedTimeFrames
Gets the list of supported time frames.
Declaration
IList<TimeFrame> SupportedTimeFrames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TimeFrame> |
Remarks
You can get candle collections of supported time frames only.
Methods
| Improve this Doc View SourceGetCandlesSource(String, TimeFrame)
Returns the collection of candles of one security.
Declaration
ICandlesSourceFromProvider GetCandlesSource(string secID, TimeFrame timeFrame)
Parameters
Type | Name | Description |
---|---|---|
System.String | secID | The unique identifier of the security to get the candle collection of. |
TimeFrame | timeFrame | The time frame of the candle collection to get. |
Returns
Type | Description |
---|---|
ICandlesSourceFromProvider |
GetSecFromCatalog(String)
Returns the information about one security from SecCatalog.
Declaration
ISecurityInfo GetSecFromCatalog(string secID)
Parameters
Type | Name | Description |
---|---|---|
System.String | secID | The unique identifier of the security to get the information about. |
Returns
Type | Description |
---|---|
ISecurityInfo |