Fetching the market data

Modify the get_spot_price function to correctly access the last_traded_price based on the actual response structure.

@NIRAJ_28267924 Could you please clarify which API you are referring to? I’m not sure about the context of the get_spot_price function.

I want to scan all the option premium prices and filter it according to my criterion at a giver time frame.

@NIRAJ_28267924 It seems you are looking for this one