MCX Metals Data

UH2917
Dear We want MCX live data like open,close,low,high,bid,ask,ltp etc., pl. guide how to implement on linux server with php. we read all forum and documents but there is no any help from that
Tagged:
  • rakeshr
    We want MCX live data like open,close,low,high,bid,ask,ltp etc., pl
    You have to use Websocket streaming, to fetch these values in real time.
    Guide how to implement on linux server with php
    Our PHP lib doesn't support WebSocket streaming out of the box. So, either you will have to build this at your end or use Quote API call at a specific interval or use another language official lib that supports Websocket streaming out of the box.
  • UH2917
    In every doc we find only examples and guide for NSE, BSE only not for MCX rates
  • rakeshr
    You have to use same combination of exchange:tradingsymbol for exchange contract to fetch Quote data, same for Websocket streaming as well, use instrument token. You can get trading symbols and instrument token detail from the instrument list.
Sign In or Register to comment.