Data from Samco Chart and API does not match. Example: I want to get the data of BankNifty. so I have called endpoint as below https://api.stocknote.com/intraday/indexCandleData?indexName=NIFTY BANK&fromDate=2023-11-11 15:03:32&toDate=2023-12-08 14:20:00&interval=5
for candle of “dateTime”: “2023-12-08 14:20:00”, it shows values as below
“dateTime”: “2023-12-08 14:20:00”,
“open”: “47017.4”,
“high”: “47017.4”,
“low”: “46965.05”,
“close”: “46966.25”,
“volume”: “0”
but this does not match with chart , please find attached email for more information
@prasadg
The disparity between the Trade API Index Intraday Candle API value and the TradingView chart value is accurate. This divergence arises because, in TradingView, we extract values from 9:15 candles for 5-minute intervals, and for the last 1-minute calculation, we cumulatively use 5-minute candle data. In contrast, in TradeAPI, we retrieve and display values from 9:07 am onwards. We acknowledge this distinction and will ensure to align and maintain consistent values for our future development activities
When reviewing TradingView, ChartIQ, and TradeAPI, each platform has its specific method for calculating 5-minute candle data. For reliable information, it’s recommended to depend on the consistency of one-minute candle data. We’ve taken note of your inquiry for possible future modifications in TradeAPI.
If I use trade Api , and if it return some value then it will be current market price ?
example if data return from 5 min candle is 10.20, and If I place order at this price, then will get executed at this price or there is some lag in this too ? Or is there any other way by which I can get current market price along with 5 min candle data ?