Class HistoryItemTick
Represents historical data tick item
Namespace: TradingPlatform.BusinessLayer
Syntax
public sealed class HistoryItemTick : HistoryItem, IHistoryItem, ICloneable
Constructors
HistoryItemTick()
Creates HistoryItemBar instance with default Ask/AskSize/Bid/BidSize = TradingPlatform.BusinessLayer.Utils.Const.DOUBLE_UNDEFINED
Declaration
public HistoryItemTick()
Properties
Ask
Defines Ask price
Declaration
public double Ask { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
AskSize
Defines Ask size
Declaration
public double AskSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
AskTickDirection
Declaration
public TickDirection AskTickDirection { get; set; }
Property Value
Type | Description |
---|---|
TradingPlatform.BusinessLayer.TickDirection |
Bid
Defines Bid price
Declaration
public double Bid { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
BidSize
Defines Bid size
Declaration
public double BidSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
BidTickDirection
Declaration
public TickDirection BidTickDirection { get; set; }
Property Value
Type | Description |
---|---|
TradingPlatform.BusinessLayer.TickDirection |
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]