Skip to main content

Latest data

GET 

/v1/ohlcv/exchange-symbol/:exchange_id/:symbol_id/latest

Get OHLCV latest timeseries data returned in time descending order. Data can be requested by the period and for the specific symbol eg BITSTAMP_SPOT_BTC_USD, if you need to query timeseries by asset pairs eg. BTC/USD, then please reffer to the Exchange Rates Timeseries data

info

OHLCV Latest endpoint is just the shortcut to the OHLCV Historical endpoint with substituted time_start and time_end parameters. The OHLCV Historical endpoint data can be delayed a few seconds. Use OHLCV real-time data stream to get data without delay.

Request

Path Parameters

    exchange_id stringrequired

    Exchange identifier of requested timeseries (from the Metadata -> Exchanges)

    symbol_id stringrequired

    Symbol identifier of requested timeseries (from the Metadata -> Symbols)

Query Parameters

    period_id stringrequired

    Identifier of requested timeseries period (e.g. 5SEC or 2MTH)

    limit int32

    Default value: 100

    Amount of items to return (mininum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)

Responses

successful operation

Schema

  • Array [

  • time_period_start date-time

    Gets or sets the start time of the time period.

    time_period_end date-time

    Gets or sets the end time of the time period.

    time_open date-timenullable

    Gets or sets the time when the price opened.

    time_close date-timenullable

    Gets or sets the time when the price closed.

    price_open doublenullable

    Gets or sets the opening price.

    price_high doublenullable

    Gets or sets the highest price during the time period.

    price_low doublenullable

    Gets or sets the lowest price during the time period.

    price_close doublenullable

    Gets or sets the closing price.

    volume_traded double

    Gets or sets the total volume traded during the time period.

    trades_count int64

    Gets or sets the number of trades executed during the time period.

  • ]

Loading...