Class PriceChartDataProvider
Поставщик данных для графика.
Namespace: StockSharp.Xaml.GridControl
Assembly: StockSharp.Xaml.dll
Syntax
public class PriceChartDataProvider : Disposable, IPriceChartDataProvider, IDisposable
Constructors
PriceChartDataProvider(IMarketDataProvider)
Создать PriceChartDataProvider.
Declaration
public PriceChartDataProvider(IMarketDataProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IMarketDataProvider | provider | Поставщик маркет-данных. |
Properties
Fields
Level1 fields.
Declaration
public Level1Fields[] Fields { get; set; }
Property Value
Type | Description |
---|---|
Level1Fields[] |
RefreshPeriod
Период обновления графика.
Declaration
public TimeSpan RefreshPeriod { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Methods
DisposeManaged()
Освободить занятые ресурсы.
Declaration
protected override void DisposeManaged()
Get(Security, Level1Fields)
Получить изменения для Security.
Declaration
public ICollection<Tuple<DateTime, Decimal>> Get(Security security, Level1Fields field)
Parameters
Type | Name | Description |
---|---|---|
Security | security | Инструмент стакана. |
Level1Fields | field | Level1 field. |
Returns
Type | Description |
---|---|
ICollection<Tuple<DateTime, Decimal>> | Коллекция цен. |