Facing same issue here ... I am using dot net API and The Quote timestamp is coming as {01-01-1970 05:30:00} And Volume as Zero. This caused issues for my application... @sujith Please update on the data issue
Sorry .. I didn't realize that an additional OI Parm is provided ... I set it to true and now getting the data .. Thanks for your help and quick response .. Much appreciated !
I have run in debug mode and attached a screen for Instrument = 11530754 i-e for NIFTY20FEBFUT. You can see that the returned OI is Zero. But other values are there in Historical.
My version is 3.0.0.0. I don't see a link for the version 3.0.1.0. The link https://github.com/zerodhatech/dotnetkiteconnect/releases/download/3.0.0beta2/KiteConnect.dll available on github also has a version 3.0.0.0. Request you to please share the…
Can you please check and let me know under which condition at your end below error message is thrown -
"Error parsing instrument tokens."
We are getting this message on some occasions and on other occasion the subscription is connecting.
Dot net …
I have already referred that example !
NOTE : The query clearly deals with Array and not an individual element.
When I pass a single instrument ID the subscription is working fine and ticks are coming. The issue is coming up when an array of Ins…
Missed to clarify earlier -
SubscribeArray is an array of type uint[] and contains 20 instrumentIds.
code used is as below
_ticker.Subscribe(SubscribeArray );
_ticker.SetMode(SubscribeArray , Const…
Hi Sujith,
Does this mean that we will have to download the .Net v3 Kiteconnect dll afresh and refer that instead of earlier one OR the changes does not impact the dll ?
Here it is -
Imports System.ComponentModel
Imports System
Imports System.IO
Imports KiteConnect
Dim user As User
Public WithEvents tickerPredefined As Ticker
Public kite As Kite
Private Sub btnTestTicker_Click(sender A…
Code snippet is as below -
If tickdata.Bids.Length > 0 And tickdata.Offers.Length > 0 Then
My.Computer.FileSystem.WriteAllText("C:\Users\nandy\Desktop\OGGN-New\TickData2.txt", Now.ToString("hh:mm:ss.fff") & " " & tickdata.InstrumentT…
Hi ajinasokan,
I have tried do the array length checking before writing but still the same exception as before is coming. It's coming only when I am trying to access bids or offers and NOT on others (like volume / open / high etc.). Please check an…
Hi ajinasokan,
Thank You for the clarification. Now its working perfectly fine.
I have one more query. I have switched the Tick mode to FULL and want to get the Bids and Offers. I am using below code to access that but I am getting error. The cod…
Here it is -
Imports System.ComponentModel
Imports System
Imports System.IO
Imports KiteConnect
Dim user As User
Public WithEvents tickerPredefined As Ticker
Public kite As Kite
Private Sub btnTestTicker_Click(sender…
Hi ajinasokan,
In earlier op file Thread0 is simply an extra hardcoded string appended before writing the tick details.
As per your suggestion I have run a simple code with just ticker but still found that the events (like connect / OnTick ) are …
Hi ajinasokan,
Thank for the clarification. One more issue I am facing in Visual Basic is that the OnTick for every tick is getting called twice. I checked thoroughly if the handler is getting called twice in my code but I found that its called onl…
I tried above code and still was getting same issue as I was facing earlier. Later I added Onerror module to trap any error and found below issue during when connecting. The error message received is == >
Error While connecting. Message: The Web…
Hi ajinasokan,
I followed as per your suggestion but still the connection is not getting active. I am struggling to get through this opening piece of code for last one week. Will you please recreate the scenario at your end using below code and let…
Hi ajinasokan,
Sorry for making another quick request for your attention to my earlier post. Above section of the code is actually the front section of the logic and until it gets sorted out I am not able to make further development on my applicati…
Hi ajinasokan,
Thanks for the response. After going through your response I tried to implement my tick receival in the main class itself. My logic is as below:
1. Automatically Get the access token/public token from the server and populate that in…
Below is my code. Even though Its running fine the msgbox in sub Ontick is not showing anything(Maybe its not getting triggered?). Please suggest how can I fix this issue.
In Main Class - frmOGGNKite:
==========================
Private Sub btnStart…