Okay then we will build our own SDK for that, all i want is to know how to subscribe to tokens. I am able to connect to websocket as per the urls and headers provided in API documents. Could you please share a sample/example of what exactly to be sent over a websocket to get subscribed to any token. Just a syntax with real data which i can copy and paste and send it to websocket and then start receiving the data over it that would be really appreciated. Thanks!
dlmandalia
@dlmandalia
Best posts made by dlmandalia
-
RE: Not able to get ticks from WebSocket using both Postman and .Net SDK
Latest posts made by dlmandalia
-
RE: Not able to get ticks from WebSocket using both Postman and .Net SDK
Okay then we will build our own SDK for that, all i want is to know how to subscribe to tokens. I am able to connect to websocket as per the urls and headers provided in API documents. Could you please share a sample/example of what exactly to be sent over a websocket to get subscribed to any token. Just a syntax with real data which i can copy and paste and send it to websocket and then start receiving the data over it that would be really appreciated. Thanks!
-
Not able to get ticks from WebSocket using both Postman and .Net SDK
I have 2 queries. First is the generic issue i have been facing while connecting to websocket for live feeds. I have using the web socket url from the API docs. in Postman along with all required headers. And i am also able to connect to that socket but when i am sending the
Json request as per the docs. i.e.{
"correlationID": "abcde12345",
"action": 1,
"params": {
"mode": 1,
"tokenList": [
{
"exchangeType": 1,
"tokens": [
"10626",
"5290"
]
},
{
"exchangeType": 5,
"tokens": [
"234230",
"234235",
"234219"
]
}
]
}
}I don't receive any ticks only receive binary data only 2 times that are almost blank. Kindly request you to please let me know where exactly i am wrong in the process of doing this.
My 2nd issue is with the .Net SDK, this outdated SDK is using totally different approach of subscribing to tokens and different socket url. here also i am facing the same issue and also there is no documentation to it. Please help me with this also.
Thanks!!