☰
Login
Signup
Home
›
.Net API client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
999
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2019
tonystark
February 2019
ZZ4687
January 2019
sujith
Receiving tick data for all the instrument even though i am not subscribe for .
ZZ4687
January 2019
in
.Net API client
Hi Team,
I am only subscribing for 168 stock but i am getting data for other stock too which i have not subscribed for .Pasting the code i am using to subscribe
ticker.Subscribe(Tokens: subscribelist);
ticker.SetMode(Tokens: subscribelist, Mode: Constants.MODE_FULL);
here subscribelist collection simple contain the instrument token of 168 stock for which i want data.
But i am getting data for instrument which is not there in list to.
Tagged:
tick data
.Net Client with ticker
sujith
January 2019
Can you paste your complete code here?
ZZ4687
January 2019
Hi Sujith please find the code pasted below.
ticker = new Ticker(MyAPIKey, MyAccessToken);
Console.WriteLine("In Init Ticker");
ticker.OnTick += OnTick;
ticker.OnReconnect += OnReconnect;
ticker.OnNoReconnect += OnNoReconnect;
ticker.OnError += OnError;
ticker.OnClose += OnClose;
ticker.OnConnect += OnConnect;
ticker.OnOrderUpdate += OnOrderUpdate;
ticker.EnableReconnect(Interval: 5, Retries: 50);
ticker.Connect();
GetStockList();
ticker.Subscribe(Tokens: subscribelist);
ticker.SetMode(Tokens: subscribelist, Mode: Constants.MODE_FULL);
ZZ4687
January 2019
GetStockList() reads the instrument token of 168 stocks from CSV file
sujith
January 2019
Can you attach the source csv here?
ZZ4687
February 2019
Hi Sujith Please find the source CSV file from the below path
http://technotriangle.co.in/images/instrument.csv
ZZ4687
February 2019
Also adding the generated folder structure -More than 7000 folder are created
folder.JPG
71.8K
ZZ4687
February 2019
and here is the response i received for instrumentToken(29) even though i have not subscribe for this tokan.
"{\"Mode\":\"full\",\"InstrumentToken\":29,\"Tradable\":true,\"LastPrice\":29527925.76,\"LastQuantity\":0,\"AveragePrice\":0,\"Volume\":0,\"BuyQuantity\":0,\"SellQuantity\":0,\"Open\":28689072.64,\"High\":0.05,\"Low\":36406559.01,\"Close\":0,\"Change\":16777216.29,\"Bids\":null,\"Offers\":null,\"LastTradeTime\":null,\"OI\":0,\"OIDayHigh\":0,\"OIDayLow\":0,\"Timestamp\":\"03-04-2058 05:38:32\"}"
tonystark
February 2019
We tried this at our end for 4-5 hours and we couldn't reproduce it. Can you give us more details on how to reproduce this issue?
Sign In
or
Register
to comment.
ticker = new Ticker(MyAPIKey, MyAccessToken);
Console.WriteLine("In Init Ticker");
ticker.OnTick += OnTick;
ticker.OnReconnect += OnReconnect;
ticker.OnNoReconnect += OnNoReconnect;
ticker.OnError += OnError;
ticker.OnClose += OnClose;
ticker.OnConnect += OnConnect;
ticker.OnOrderUpdate += OnOrderUpdate;
ticker.EnableReconnect(Interval: 5, Retries: 50);
ticker.Connect();
GetStockList();
ticker.Subscribe(Tokens: subscribelist);
ticker.SetMode(Tokens: subscribelist, Mode: Constants.MODE_FULL);
http://technotriangle.co.in/images/instrument.csv
Also adding the generated folder structure -More than 7000 folder are created
"{\"Mode\":\"full\",\"InstrumentToken\":29,\"Tradable\":true,\"LastPrice\":29527925.76,\"LastQuantity\":0,\"AveragePrice\":0,\"Volume\":0,\"BuyQuantity\":0,\"SellQuantity\":0,\"Open\":28689072.64,\"High\":0.05,\"Low\":36406559.01,\"Close\":0,\"Change\":16777216.29,\"Bids\":null,\"Offers\":null,\"LastTradeTime\":null,\"OI\":0,\"OIDayHigh\":0,\"OIDayLow\":0,\"Timestamp\":\"03-04-2058 05:38:32\"}"