GetTopGainersLosers

GetTopGainersLosers : Returns data of top N gainers and losers for requested underlying

Supported parameters

ExchangeString value like NFOName of supported exchange. How to get list of supported exchanges you can find here
CountValue like 5, 10, 15, 20.Mandatory parameter. Supported values: 5, 10, 15, 20 ,to receive count of Top N of Gainers and Top N of Losers

What is returned ?

Exchange, InstrumentIdentifier (Symbol), LastTradeTime, ServerTime, AverageTradedPrice, BuyPrice, BuyQty, Open, High, Low, Close, LastTradePrice, LastTradeQty, OpenInterest, QuotationLot, SellPrice, SellQty, TotalQtyTraded, Value, PreOpen, PriceChange, PriceChangePercentage, OpenInterestChange, MessageType
LastTradeTime : This value is expressed as no. of seconds since Epoch time (i.e. 1st January 1970). Also known as Unix Time. Please Visit https://www.epochconverter.com/ to get formulae to convert human readable time to Epoch and vice versa (scroll to end of their home page)
Sample request(JavaScript)
function GetTopGainersLosers()
{	
     var request = 	 
		{
			MessageType: "GetTopGainersLosers",
			Exchange: "NFO",					
			Count: 10                 
		};
     doSend(request);
}

Example of returned data in JSON format.

Download GetTopGainersLosers Response

Was this helpful?