Class Candle
Базовый класс для свечи (содержит основные параметры).
Namespace: StockSharp.Algo.Candles
Assembly: StockSharp.Algo.dll
Syntax
public abstract class Candle : Cloneable<Candle>
Constructors
Candle()
Declaration
protected Candle()
Properties
Arg
Параметр свечи.
Declaration
public abstract object Arg { get; set; }
Property Value
Type | Description |
---|---|
Object |
BuildFrom
Determines the message is generated from the specified DataType.
Declaration
public DataType BuildFrom { get; set; }
Property Value
Type | Description |
---|---|
DataType |
ClosePrice
Closing price.
Declaration
[DisplayNameLoc("ClosingPrice")]
[DescriptionLoc("Str86", false)]
public Decimal ClosePrice { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
CloseTime
Время окончания свечи.
Declaration
[DisplayNameLoc("CandleCloseTime")]
[DescriptionLoc("CandleCloseTime", true)]
public DateTimeOffset CloseTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
CloseVolume
Volume at close.
Declaration
[DisplayNameLoc("CloseVolume")]
public Nullable<Decimal> CloseVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
DownTicks
Number of down trending ticks.
Declaration
[DisplayNameLoc("TickDown")]
[DescriptionLoc("TickDownCount", false)]
public Nullable<int> DownTicks { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
HighPrice
Highest price.
Declaration
[DisplayNameLoc("HighestPrice")]
[DescriptionLoc("Str82", false)]
public Decimal HighPrice { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
HighTime
Время с максимальной ценой в свече.
Declaration
[DisplayNameLoc("CandleHighTime")]
[DescriptionLoc("CandleHighTime", true)]
public DateTimeOffset HighTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
HighVolume
Volume at high.
Declaration
[DisplayNameLoc("HighVolume")]
public Nullable<Decimal> HighVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
LowPrice
Lowest price.
Declaration
[DisplayNameLoc("LowestPrice")]
[DescriptionLoc("Str84", false)]
public Decimal LowPrice { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
LowTime
Время с минимальной ценой в свече.
Declaration
[DisplayNameLoc("CandleLowTime")]
[DescriptionLoc("CandleLowTime", true)]
public DateTimeOffset LowTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
LowVolume
Volume at low.
Declaration
[DisplayNameLoc("LowVolume")]
public Nullable<Decimal> LowVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
MaxPriceLevel
PriceLevels с максимальным TotalVolume.
Declaration
public Nullable<CandlePriceLevel> MaxPriceLevel { get; }
Property Value
Type | Description |
---|---|
Nullable<CandlePriceLevel> |
MinPriceLevel
PriceLevels с минимальным TotalVolume.
Declaration
public Nullable<CandlePriceLevel> MinPriceLevel { get; }
Property Value
Type | Description |
---|---|
Nullable<CandlePriceLevel> |
OpenInterest
Open interest.
Declaration
[DisplayNameLoc("OI")]
[DescriptionLoc("OpenInterest", false)]
public Nullable<Decimal> OpenInterest { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
OpenPrice
Opening price.
Declaration
[DisplayNameLoc("Str79")]
[DescriptionLoc("Str80", false)]
public Decimal OpenPrice { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
OpenTime
Время начала свечи.
Declaration
[DisplayNameLoc("CandleOpenTime")]
[DescriptionLoc("CandleOpenTime", true)]
public DateTimeOffset OpenTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
OpenVolume
Volume at open.
Declaration
[DisplayNameLoc("OpenVolume")]
public Nullable<Decimal> OpenVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
PriceLevels
Ценовые уровни.
Declaration
[DisplayNameLoc("PriceLevels")]
public IEnumerable<CandlePriceLevel> PriceLevels { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<CandlePriceLevel> |
RelativeVolume
Relative volume.
Declaration
[DisplayNameLoc("RelativeVolume")]
public Nullable<Decimal> RelativeVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
Security
Инструмент стакана.
Declaration
[DisplayNameLoc("Security")]
[DescriptionLoc("Security", true)]
public Security Security { get; set; }
Property Value
Type | Description |
---|---|
Security |
SeqNum
Sequence number.
Declaration
public long SeqNum { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Remarks
Zero means no information.
State
State.
Declaration
[DisplayNameLoc("State")]
[DescriptionLoc("CandleState", true)]
public CandleStates State { get; set; }
Property Value
Type | Description |
---|---|
CandleStates |
TotalPrice
Total price size.
Declaration
[DisplayNameLoc("TotalPrice")]
public Decimal TotalPrice { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
TotalTicks
Number of ticks.
Declaration
[DisplayNameLoc("Ticks")]
[DescriptionLoc("TickCount", false)]
public Nullable<int> TotalTicks { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
TotalVolume
Общий объем.
Declaration
[DisplayNameLoc("Volume")]
[DescriptionLoc("TotalCandleVolume", false)]
public Decimal TotalVolume { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
UpTicks
Number of up trending ticks.
Declaration
[DisplayNameLoc("TickUp")]
[DescriptionLoc("TickUpCount", false)]
public Nullable<int> UpTicks { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Methods
CopyTo<TCandle>(TCandle)
Скопировать данные сообщения в destination
.
Declaration
protected TCandle CopyTo<TCandle>(TCandle destination)
where TCandle : Candle
Parameters
Type | Name | Description |
---|---|---|
TCandle | destination | Объект, в который копируется информация. |
Returns
Type | Description |
---|---|
TCandle | Объект, в который копируется информация. |
Type Parameters
Name | Description |
---|---|
TCandle | Тип свечи. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |