Hi ,
How to ensure that data provided by API is correct ? Following is the mismatch in high and close price of BankNifty Data of Breeze API with NSE & Trading View.
datetime | |exchange_code| | stock_code| | open | |high | |low | |close | |Source |
2021-02-24 00:00:00 | |NSE | |CNXBAN | | 35,205.40 | | 35,691.70 | | 35,060.65 | | 35,617.50 | |Breeze API (Updated |code) |
24-Feb-21 | |NSE | |CNXBAN | |35,205.40 | | 36,567.65 | | 35,060.65 | | 36,452.30 | |NSE & Trading View |
I have used following code to extarct historical data of Breeze API
breeze.get_historical_data_v2(interval="1day",
from_date= ""2021-02-01T00:00:00.000Z"",
to_date= "2023-07-13T00:00:00.000Z",
stock_code="CNXBAN",
exchange_code="NSE",
product_type="cash",
)