GetMarketMessages

GetMarketMessages : Returns array of last messages (Market Messages) related to selected exchange

What is returned ?
Market Messages as received from the Exchange
Supported parameters
ExchangeString value like MCXName of supported exchange. How to get list of supported exchanges you can find here
Sample request(JavaScript)
{
MessageType: "GetMarketMessages",
Exchange: "NFO",
};
var message = JSON.stringify(request);
websocket.send(message);
Example of returned data in JSON format
{
"Request":{
"Exchange":"NFO",
"MessageType":"GetMarketMessages"
},
"Result":[
{"ServerTime":1391822398,"SessionID":2,"MarketType":"Normal Market Close","MessageType":"MarketMessagesItemResult"},
{“ServerTime”:1391822399,”SessionID”:1,”MarketType”:”Special Session Open”,”MessageType”:”MarketMessagesItemResult”} ], “MessageType”:”MarketMessagesResult” }

Was this helpful?