- can i get upstox-api/live/feed data if i subscribed only OHLC plan
- How many api request of upstox-api/live/feed can i placed in one minute ?
1) can i get upstox-api/live/feed data if i subscribed only OHLC plan
2) How many api request of upstox-api/live/feed can i placed in one minute ?
Please develop multiple feed in one request call, this would be great help.
Thanks for reply, can you please tell me how to connect websocket in php, it would be great help.
Thanks in advance.
I want to know how can i get multiple stocks LTP in one requst without using websocket. Please develope a module like zerodha did, you can see zerodha's api https://kite.trade/docs/connect/v3/market-quotes/#retrieving-ltp-quotes
Please give positive solution on this.
Thank you, its working now.
Upstox has really good support staff, which are providing quick response and accurate solution.
I have another error can you please resolve this one, when i requsest OHLC data for NIFTY JUL FUT data its show error
'XXXXXXaccess_tokenxxxxxxxx' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer XXXXXXaccess_tokenxxxxxxxx'
Here is my code snipet:
$data = array(); $header = array(); $header = 'Authorization: Bearer ' . UPSTOX_ACCESS_TOKEN; $header = 'Content-Type: application/json'; $header = 'x-api-key: ' . UPSTOX_API_KEY; $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data) ); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $returndata = curl_exec($ch); $errordata = curl_error($ch); curl_close($ch);
Looks like your connection to Upstox Forum was lost, please wait while we try to reconnect.