How to fetch Historical data via Historical API (Nifty and BankNifty -Options data)

I need collect data from broker for (Bank Nifty, Finnifty, Nifty),

Kindly provide the piece of code

So that i can you for backtest purpose

Comments

  • To obtain chart history data, you can utilize the CubePlus Rest API provided. Here's a step-by-step guide:

    1. SDK Download:

    • Visit our API documentation [link] to access the SDK download section (located in the top right corner).
    • Download the SDK for your preferred programming language.

    2. CubePlus Rest API: 

    • Once you have the SDK, you can integrate it into your application.
    • CubePlus Rest API can be utilized to place orders, retrieve order book, order history, positions & limits, etc..,
    • For chart data, you can use the following endpoint [link]. This endpoint allows you to retrieve interval chart data, helping you obtain one-minute historical data for up to 30 days.

    3. CubePlus Quote / Prices:

    • You can also explore how to integrate SDK to fetch live prices from "CubePlus Quote or Prices section" here


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!