Class HistoryItemLast
Represents historical data trade item
Namespace: TradingPlatform.BusinessLayer
Syntax
public sealed class HistoryItemLast : HistoryItem, IHistoryItem, ICloneable
Constructors
HistoryItemLast()
Creates HistoryItemLast instance
Declaration
public HistoryItemLast()
Properties
AggressorFlag
Defines trade operation side as aggressor flag
Declaration
public AggressorFlag AggressorFlag { get; set; }
Property Value
Type | Description |
---|---|
TradingPlatform.BusinessLayer.AggressorFlag |
Item[PriceType]
Gets price by indexing PriceType
Declaration
public override double this[PriceType priceType] { get; }
Parameters
Type | Name | Description |
---|---|---|
PriceType | priceType |
Property Value
Type | Description |
---|---|
System.Double |
Overrides
TradingPlatform.BusinessLayer.HistoryItem.Item[TradingPlatform.BusinessLayer.PriceType]
Price
Defines price value
Declaration
public double Price { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TickDirection
Declaration
public TickDirection TickDirection { get; set; }
Property Value
Type | Description |
---|---|
TradingPlatform.BusinessLayer.TickDirection |
Volume
Defines volume value
Declaration
public double Volume { get; set; }
Property Value
Type | Description |
---|---|
System.Double |