How to get PRESENT/PREVOUS minute Matket Depth values for EQ/F&O contracts ...

Dear FYERS Team,

I am using VBA http protocol to get Market Depth values of PREVIOUS MINUTE (not real-time) for MCX:SILVER24DECFUT.

Upon request, with the below url

https://api-t1.fyers.in/data/depth?symbol=MCX:SILVER24DECFUT&ohlcv_flag=1

your V3 API sends below data.

{"d":{"MCX:SILVER24DECFUT":{"totalbuyqty":597,"totalsellqty":464,"ask":[{"price":91041,"volume":2,"ord":2},{"price":91042,"volume":3,"ord":3},{"price":91044,"volume":1,"ord":1},{"price":91046,"volume":2,"ord":2},{"price":91047,"volume":3,"ord":3}],"bids":[{"price":91018,"volume":1,"ord":1},{"price":91017,"volume":1,"ord":1},{"price":91014,"volume":2,"ord":2},{"price":91012,"volume":1,"ord":1},{"price":91010,"volume":2,"ord":2}],"o":91003,"h":91640,"l":90704,"c":91269,"chp":-0.28,"tick_Size":1,"ch":-251,"ltq":1,"ltt":1731327342,"ltp":91018,"v":6667,"atp":91071.2,"lower_ckt":87619,"upper_ckt":94919,"expiry":"1733423100","oi":23234,"oiflag":true,"pdoi":23220,"oipercent":0.06}},"message":"Success","s":"ok"}

When checked its LTT, it is showing irrelevant time-stamp as 5:45pm where the request was sent at 630pm.

Could you please assist on how to get previous minute Market Depth values?

Please guide thru on the same..

Regards,
-- Krish
Investor

1 reply