i want to fetch ltp using websocket. is there anyway to do it? leaving sdk thing
@Abhilash7 To fetch the LTP data, you need to set the mode parameter to ltpc in websocket request.
{
"guid": "someguid",
"method": "sub",
"data": {
"mode": "ltpc",
"instrumentKeys": ["{your_instrument_key}"]
}
}
it’s recommended to refer to the detailed Upstox API documentation, please do check the Market Data Feed under the websocket section.
Hope it helps, Thanks
iam getting this error when tried and when i tested in postman iam not getting any data but it is getting connected.