I am able to connect the WS and it returns
Received market_info tick: %Com.Upstox.Marketdatafeederv3udapi.Rpc.Proto.MarketInfo{segmentStatus: %{"BCD_FO" => :NORMAL_CLOSE, "BSE_EQ" => :CLOSING_END, "BSE_FO" => :NORMAL_CLOSE, "BSE_INDEX" => :CLOSING_END, "MCX_FO" => :NORMAL_OPEN, "MCX_INDEX" => :NORMAL_OPEN, "NCD_FO" => :NORMAL_CLOSE, "NSE_COM" => :NORMAL_OPEN, "NSE_EQ" => :CLOSING_END, "NSE_FO" => :NORMAL_CLOSE, "NSE_INDEX" => :CLOSING_END}, __unknown_fields__: []}
Now after this i subscribe to
{guid: "2bd60160-3037-48df-b9b5-9fdaae40d8dc",
method: "sub",
data: %{mode: "ltpc", instrumentKeys: ["MCX_FO|438425", "MCX_FO|426468"]}}
Binary Representation sent is
<<10, 36, 50, 98, 100, 54, 48, 49, 54, 48, 45, 51, 48, 51, 55, 45, 52, 56, 100, 102, 45, 98, 57, 98, 53, 45, 57, 102, 100, 97, 97, 101, 52, 48, 100, 56, 100, 99, 18, 3, 115, 117, 98, 26, 36, 10, 4, 108, 116, 100, 99, 18, 13, 77, 67, 88, 95, 70, 79, 124, 52, 51, 56, 52, 50, 53, 18, 13, 77, 67, 88, 95, 70, 79, 124, 52, 50, 54, 52, 54, 56>>
which is converted to binary by FeedRequest.encode(msg) & than sent.
Says okay but not receiving any updates or further response.
@Anand_Sajankar
Is there a way i can debugg why i dont receive the response ?