Nectar SDK & API
StartRelease
v1.6
v1.6
  • Introduction
  • Quick Start
  • Installation
  • Actions
    • getAllMarkets
    • getMarket
    • getMarketByTicker
    • getAllMarket24h
    • getMarket24h
    • getChains
    • getTokens
    • getAllOrders
    • getOpenOrders
    • getChart
    • getTrades
    • getBidAsk
    • transferToTradingWallet
    • transferToFundingWallet
    • buyLimit
    • sellLimit
    • buyMarketTotal
    • sellMarketAmount
    • cancelOrder
  • Types
    • BidAsk
    • Chain
    • Contract
    • Kline
    • Market
    • MarketQuote
    • NectarTransferResult
    • Order
    • Paginated
    • Token
    • Trade
    • Transaction
  • Enums
    • ChainType
    • ContractType
    • KLineInterval
    • OrderStatus
    • OrderType
    • TokenType
    • TransactionStatus
  • API Specifications
    • Header
    • Exchange Info
    • Markets 24hr Summary
    • Market History
    • Market Trades
    • Cancel Order
    • Opened User Orders
    • All User Orders
  • Release Notes
  • License and Copyright
Powered by GitBook
On this page
  1. Types

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 1 year ago