Kline

The Kline type represents a K-line, more commonly known in the financial world as a candlestick chart.

interface Kline {
  start_ts: number;
  end_ts: number;
  opening_price: string;
  closing_price: string;
  highest_price: string;
  lowest_price: string;
  volume: string;
}

Properties

  • start_ts: number

    • The start timestamp of a candlestick.

  • end_ts: number

    • The end timestamp of a candlestick.

  • opening_price: string

    • The opening price of an asset for the trading period.

  • closing_price: string

    • The closing price of an asset for the trading period.

  • highest_price: string

    • The highest price of an asset for the trading period.

  • lowest_price: string

    • The lowest price of an asset for the trading period.

  • volume: string

    • The volume of an asset traded during the trading period.

Last updated