Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Data

Index

Properties

change

change: number[] = []

Change (+/-) from previous interval -> TODO: maybe protected

changePercent

changePercent: number[] = []

change percentage from previous interval -> TODO: maybe protected

close

close: number[] = []

Closing (last) price of tick, main value that's displayed in area/line/bar chart

date

date: Date[] = []

Start date/time of interval, label of X

high

high: Array<number> = []

Highest price of tick

low

low: Array<number> = []

Lowest price of tick

open

open: Array<number> = []

Opening price of tick

transactionCount

transactionCount: Array<number> = []

number of transactions done -> TODO: maybe NOT neded

turnover

turnover: Array<number> = []

total turnover -> TODO: maybe NOT neded

volume

volume: number[] = []

Volume of stocks sold

Methods

getData

  • Parameters

    Returns number[]

getLoadedDataSignature

  • getLoadedDataSignature(): string
  • Returns signature dependant on which data has been loaded, at best case OHLCV, at worst only C

    Returns string

updateTick

  • updateTick(date: Date, close: number, high?: number, low?: number, open?: number, volume?: any): void
  • Parameters

    • date: Date
    • close: number
    • Default value high: number = null
    • Default value low: number = null
    • Default value open: number = null
    • Default value volume: any = null

    Returns void

Generated using TypeDoc