How to get LTP for more than one stock ?
-
How to get LTP for more than one stock ? The api seems like allowing only one stock at a time, where I can see other brokers allows upto 500 stocks in one go.
-
HI @mukul-ietlucknow we appreciate your patience in case of 500 scripts you can use our web socket our team is currently working on web socket we will update you once fixed.
-
@admin this is not the right way to do that for getting ltp of 500 stocks then it will take lot of time. And few strategy might require this type of feature.
If you say make web socket api so shall one person should make 500 web socket connection to get ltp.
What will be the impact on machine.Zerodha has this feature where it provides ltp of multi ple stocks in one go.
You guys charge some amount but give good and needy features
- topic:timeago_earlier,2 months
-
Hi @jmkvalangai you need to convert tick data into candle data then convert it into desired time frame by resampling it.
another option is insert sleep of few m second to avoid breaching limits. -
@admin If I have get live quotes for 50+ stocks then it hit the API limits (per second) right ?
- topic:timeago_earlier,11 days
-
Dear @jmkvalangai API will always return data for single stock you need to develop piece of code to get multiple stock ltp.
prepare a list of stock and loop all stocks.