Show / Hide Table of Contents

    Class HistoryItemBar

    Represents historical data bar item

    Namespace: TradingPlatform.BusinessLayer
    Syntax
    public class HistoryItemBar : HistoryItem, IHistoryItem, ICloneable

    Constructors

    HistoryItemBar()

    Creates HistoryItemBar instance with default OHLC price = TradingPlatform.BusinessLayer.Utils.Const.DOUBLE_UNDEFINED

    Declaration
    public HistoryItemBar()

    Properties

    Close

    Defines Close price

    Declaration
    public double Close { get; set; }
    Property Value
    Type Description
    System.Double

    FundingRate

    Declaration
    public double FundingRate { get; set; }
    Property Value
    Type Description
    System.Double

    High

    Defines High price

    Declaration
    public double High { get; set; }
    Property Value
    Type Description
    System.Double

    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]

    Low

    Defines Low price

    Declaration
    public double Low { get; set; }
    Property Value
    Type Description
    System.Double

    Median

    Gets Median (High+Low)/2 price

    Declaration
    public double Median { get; }
    Property Value
    Type Description
    System.Double

    Open

    Defines Open price

    Declaration
    public double Open { get; set; }
    Property Value
    Type Description
    System.Double

    OpenInterest

    Declaration
    public double OpenInterest { get; set; }
    Property Value
    Type Description
    System.Double

    Ticks

    Defines ticks amount

    Declaration
    public long Ticks { get; set; }
    Property Value
    Type Description
    System.Int64

    TicksRight

    Defines bar's ticks count

    Declaration
    public override long TicksRight { get; set; }
    Property Value
    Type Description
    System.Int64
    Overrides
    TradingPlatform.BusinessLayer.HistoryItem.TicksRight

    TimeRight

    Gets bar's right time border

    Declaration
    public DateTime TimeRight { get; }
    Property Value
    Type Description
    DateTime

    Typical

    Gets Typical (High+Low+Close)/3 price

    Declaration
    public double Typical { get; }
    Property Value
    Type Description
    System.Double

    Volume

    Defines volume value

    Declaration
    public double Volume { get; set; }
    Property Value
    Type Description
    System.Double

    Weighted

    Gets Weighted (High+Low+Close+Close)/4 price

    Declaration
    public double Weighted { get; }
    Property Value
    Type Description
    System.Double

    Implements

    ICloneable
    Back to top Copyright QUANTOWER LLC. © 2017-2021. All rights reserved.