Thank you @Matti for responding.
But I don't know if you see the contradictions in your response.
KiteConnect is an API. It is a specialized Software Product that allows a Software Developer to connect to the Broker's, Zerodha's, Servers.
As a …
Thanks @themohammedfaisal.
That is indeed very helpful.
@sujith yet another gap in your documentation. A field is left with incorrect documentation. VWAP and Average Price are very different things.
I know that @sujith !
I asked a very specific question about SHORT overnight positions that is not covered in your documentation.
This is an opportunity for you to answer that question and improve your product documentation.
Please co…
Thanks.
Basic Trading Questions? Broker specific Terminology and String Literals used in code?
I know my way around Kite Web. I scoured it again to look for instances where NRML appears in the UI. What I did not do is drop in to Browser …
The reason I ask this is because the "Convert Position" API requires a value for transaction_type (BUY / SELL).
Each Position returned by the Positions API is the consolidated transactions for a Single (Unique) Instrument. It is easy to determine …
@sujith
Average Price is available in Positions payload only for Open Positions, right? If the position is currently closed (buy quantity = sell quantity and quantity = 0) then the payload carries average_price = 0 as per documentation page sample…
@hrp
Open, High Low, and close coming same value for each tick
Open, High, Low, Close values in a WebSocket Tick will remain the same for the entire Trading Session (Day) as they are the OHLC values of the previous Trading Session (Day). You must…
@sujith
Confused between CNC and NRML. Are they interchangeable?
/** Product types. */
public static final String PRODUCT_MIS = "MIS";
public static final String PRODUCT_CNC = "CNC";
public static final String PRODUCT_NRML = "NRML";
@sujith
From this list of values for Exchange, are we to assume that all Currency Instruments are under CDS?
/** Exchanges. */
public static final String EXCHANGE_NSE = "NSE";
public static final String EXCHANGE_BSE = "BSE";
public sta…
How to determine is an Instrument is of a particular type:
Equity Stock -> segment = "equity"
Equity Future -> Segment = "futures"
Equity Options?
Index Future -> Segment = "futures". No way to determine that this is an Index Future an…
Trying to make sure I understand this completely.
As far as the API is concerned, this will apply to all the following, right?
Place Order (all types, including GTT?)
Modify Order
Cancel Order
Convert Position
Also, this is an API Order Cou…
Okay. If I understand your comment correctly, the decision to have these values as double is a legacy decision and they will be changed to int in a future release. Is that correct or have I misunderstood your comment?
And the Instrument Master API does not return any data to differentiate between tradable Instruments and Indices like NIFTY, BANKNIFTY, SENSEX, etc. Is that correct?
Thanks @sujith
My question wasn't clear I suppose.
On further study, I understand that the current design of KiteConnect Java API uses a single Tick class for all subscription modes. The LTP & Quote classes are not used in the context of th…
Heartily seconded @sam_zerodha
LTP Mode also lacks Volume information. So, that mode is useless - no timestamp and volume.
Quote mode lacks timestamp. Otherwise useful data in this mode.
To build Candles properly I am forced to use Full Mode and…
My mistake. The "int32" is the size in Bytes (4 bytes) of the field in the Binary Payload, right? But why is the lastTradedQuantity field a double in Java Tick class?
And @rakeshr , the very fact that you have these FAQ pages in your Developer's forum shows that you are depending on a discovery process by your users to document these hidden gems that rightly belong to the core documentation!
You are wasting our …
Thanks @rakeshr
I had gone through those FAQs and lost this piece in all the clutter.
Why is Zerodha's documentation in such poor state? No self respecting professional setup can be directing users to random Forum posts, even when they are organi…
@rakeshr @sujith Confirmed that the 1 Minute Historical Data API has a 60 Day Limit set.
When called with a 61 day window:
And when called with a 60 day window,
Is this documented somewhere? What are the limits on the other time frames?
For…
@rakeshr @sujith Is there a limit of 60 (Calendar) Day limit set on the 1 Minute Historical Data API? Are there similar limits on the other time frames?
If there are, then this call will only work for a 60 day difference between "From" and "To". I …
Two issues here:
1. The Historical Data API is returning only 3 months of 1 Minute Candles
2. It is throwing an error if a date prior to 3 months is given as input instead of just returning the data that is actually present.
Or, am I missing somet…
Testing for 1 Minute Data on 2021.06.29:
Called with 2021, 4, 30
Called with 2021, 4, 29
So, you have only 3 months of 1 Minute Data for NSE Stocks? I am calling for Token "738561"
The screen shot above is from the CSV file retrieved from the…
@rakeshr @sujith
I am having problems with the Historical Data API. Just started testing it today. And I have access to it and accessing it using the Instrument Token retrieved from the Kite Connect Instrument API. There should not be any problems…
Kite Ticker Responses for Each Mode
Actual responses from the Kite Connect Ticker API using the different modes available.
Mode LTP
Mode: ltp, Tradeable? true, Token: 6191105, Last Traded Price: 2827.0,
High: 0.0, Low: 0.0, Open: 0.0, Close: 0.0,…
Ticks WebSocket Timestamps
Tick Timestamp and Last Traded Time are both returned at second resolution.
From KiteTicker.java
long lastTradedtime = convertToLong(getBytes(bin, 44, 48)) * 1000;
if(isValidDate(lastTradedtime)) {
…
Holdings
Call to KiteConnect getHoldings() method.
Account Id is always NULL.
Overnight Futures do not show up under Holdings. They are only visible in Net Positions.
Holdings sold today will show up in the Holdings list but with Price = null, Quan…
The idea behind this thread is to document what I am seeing while working with the Kite Connect Java Client in terms of how it behaves. That is what values it is returning under different conditions.
Would request all users to add their observatio…
@sujith That is an unfortunate position to take by Zerodha since you have publicly positioned the Kite Connect Java Library as the "The official Java client for communicating with Kite Connect API."
The Java library is amateurish at best. There ar…
Realize this is a old thread.
I am new to Kite Connect and am building my own system in Java. Just at the point of picking a Time Series DB for the Tick data. I looked at InfluxDB but realized that their Windows 10 support is still in Beta. And sin…