It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Top Gainers And Losers
is there any way of retrieving top gainers and lose from market start time to request time .
there is not a direct api call for gainer and losers...
it can be done as follows.
1. get the quotes for the group you want to find gainer and looser.
2. place them in a data structure and then sort it.
currently i am scanning last day top gainers and looser and some other new stock arises end of the day .
nse is providing top gainers in their site ,scrapping data from it is not a good practice ,im looking for ideas of obtaining those data.
: Try this json API's, for
my suggestion is to not to mess up with NSE,even scraps its data and displays as header...
Where I can find dyna connect api from nse,where did you find that json links.
Searched in google,but no results.
, thats not link which will is for humans to read..
Thats internal link for populating the tables in nse websites. Any automated calls to "that" NSE link can easily be picked up by NSE servers,their TOS states not to scrap any data from their websites.
So if we use that json file will be safe ?
not safe , use some proxy php to get json ,
From chrome developer stools ,you see all json urls ,almost all data is trough json in nse
If u r getting feed from zerodha API than y would u need top gainers and losers from NSE website? U can easily calculate tht using the code ..
: Can you plz elaborate on your above statement about how you'll calculate NSE top gainers & losers using code ?