Options
All
  • Public
  • Public/Protected
  • All
Menu

A series for candlestick charts.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new StockSeries(x: (string | number)[], high: number[], low: number[], close: number[], open?: number[], volume?: number[], name?: string): StockSeries
  • Parameters

    • x: (string | number)[]

      The data for the x-axis.

    • high: number[]

      The data for the hight prices.

    • low: number[]

      The data for the low prices.

    • close: number[]

      The data for the closing prices.

    • Optional open: number[]

      The data for the opening prices. Optional.

    • Optional volume: number[]

      The data for the volumes. Optional.

    • Optional name: string

      The name of the series. Optional.

    Returns StockSeries

Properties

close

close: number[]

high

high: number[]

low

low: number[]

name

name: undefined | string

open

open: undefined | number[]

volume

volume: undefined | number[]

x

x: (string | number)[]

Methods

asDict

  • asDict(): {}
  • The dict representation of this object

    Returns {}

    dict representation of this object

    • [key: string]: string | number | boolean | {}[]

data

  • data(): {}[]

Generated using TypeDoc