Introduction

This API call is used to retrieve the On Balance Volume for the specified stock symbol up to the specified maximum date. The On Balance Volume (OBV) is a technical analysis tool that measures the cumulative flow of volume in and out of a stock over time. It is used to confirm price trends and identify potential trend reversals.

Endpoint

/on-balance-volume/:symbol/:maxDate

Parameters

  • symbol (string, required) – The stock symbol for which to retrieve the OBV.
  • maxDate (date, required) – The maximum date to include in the calculation (in the format ‘yyyy-mm-dd’).

Authentication

API key authentication is required to access this endpoint.

Example Call

Retrieve the OBV for Microsoft Corporation up to April 26, 2023:

Error Handling

If no data comes back, please check for valid input parameters. This automatically returns one year of data from the maxDate and backwards

Example Response

    {
        "quotedate":"2023-03-23T00:00:00.000Z",
        "obv":-330955766
    }