@Guhan,
If you modify first leg order, it will not change second leg orders since they are already placed.
If you modify a partially filled then it will modify existing order, the system won't place another order.
Hi @keshav,
Are these duplicate entries for only JAN 2015 or different dates?
If possible can you let us know the last recent date from where it starts? We will ask data team to look into this.
Consider you have placed a limit order and you want to check how many quantities are filled, you need to fetch order book and check the status of the order.
If it is COMPLETE then it means all the quantities are filled.
If the status is OPEN then ch…
I guess they give you trade signals after analysis. You need to use that event to make a POST request to Kite Connect to place orders.
What programming language are you comfortable with?
Kite Connect is just a set of REST-like APIs, it will just give your response to every request made. You will have to handle blocking and unblocking threads at your application level.
@avinashsringeri,
You can just store the ticks in an array and compare it.
Which Kite Connect client are you using?
PS: The OHLC value in Kite Ticker is the day's value. All the values will be almost same unless high and low changes.
@TUSH123,
Once you get access token, you can use it any number of times in that day. You just need to make sure, you don't call generat_session() method every time you run the script.
When you request for a quote data and if the server doesn't have any cached value then it will return empty JSON in response. Before you consume data, add a check for the containsKey NSE:IL&FSTRANS. I just tried and got this response
{
"status…
A couple of hundreds of order modification is fine. But if you do it more then it triggers RMS since the risk is computed for every modification. If your strategy involves modifying order every 5-15 seconds then you need to re-think your strategy.
…
You need to pass version number in the header. You can check out documentation.
Make sure to take a look at cURL examples, the request format has changed. All the auth tokens are now sent in the header.
@reddy4305,
Make sure you don't post your api_key, api secret or any tokens on public threads. You can use the private message for sending these stuff.
Check out this thread for more information about this issue.
You need to use the new login URL as mentioned in the documentation.
Please don't reveal you api_key or access token on public threads. You can write private messages for sharing these stuff.
@pannet1,
kite3.zerodha.com is still a separate channel as of now. It is a temporary setup. Once we complete migration it will be moved to kite.zerodha.com
Hi,
You can use Kite Connect API and Kite Mobile or Kite web together. You need to make sure, you don't log into Pi or NEST and make sure you don't log out of any of the platforms.
@prakash.jj,
I understand your point. Migration is a pain for everyone but it is inevitable.
Once we announce the date users will have several weeks to migrate before we kill the old setup.
The Kite Connect 3 is stable and we are using it in product…
We also use the same version of the chrome. We don't see any issue.
Can you open certificate and click on details and paste the screenshot?
It looks like this,
@pracas,
There have been multiple beta releases to this channel. Hence I am asking what is the exact kiteconnect version you are using? You need to be on the latest version of kiteconnect.
If not then, you need to do pip install kiteconnect --upgrad…
@Kousik,
We will add ISIN to the instrument dump. Kite Connect is a trading platform, ISIN is the unique identifier for that security. Users can trade the same security on NSE or BSE. Hence it is necessary to have a unique identifier for each instru…
Hi,
Yes, you need a valid access token to connect to Kite Ticker.
The access token is valid for one whole trading session. We flush all the tokens once in the morning between 7:30 to 8:30. You can login after that.
It is mandatory by the ex…
@Kousik,
The file we get from exchange doesn't contain any flag for ETFs, you will have to create a map at your end.
The instrument data for ETF is served exactly like equity.
Hi @Kousik,
There is nothing called public access token.
There are public token and access tokens which are session related tokens provided by Kite Connect.
All the Kite Connect requests are authenticated access token. Once you get access token you…
Hi,
The refresh token is only provided for exchange approved platforms and not for individual users.
PS: You seem to be using old Kite Connect which is going to be deprecated, you need to use Kite Connect 3 which is available in kite3 branch.
Is this crashing the app?
We will add the callback to the examples. But ideally, all the errors are handled and sent to the user via onErrorListener.
Can you give complete stack trace, so that we can see where is it thrown from our code?
Hi @hiralzala,
If you are using Kite Connect 3 then you can enable debugging and check for the exact error message.
The historical data API is provided for backtesting only. For live market strategies, it is recommended to generate candles at your …
You need a Kite Connect app to fetch historical data. Once you create a Kite Connect app, you will receive api key and access token.
You can go through this webinar to know more.
Let us consider you subscribed to two instruments. As soon as you subscribe, you will receive one tick for both instruments. After that, you will receive ticks as and when the data changes.
Consider you have subscribed in mode LTP, you will receive…
Hi @harikongu,
There can be hundreds of ticks in a second at the exchange, it is not possible for any trading platform to stream all of this over the internet. Check out this this thread to know more.
You can expect up to one tick per second for a …
Hi,
An access token is valid for one whole day. Once you get access token, you don't have to request for it again unless you are logged out.
A request token is valid for a couple of minutes and can be used only once. You should not request for acces…
Hi,
You can fetch underlying instrument data from the quote API or Kite Ticker.
OMS doesn't provide any API to square off positions, we will still have to place a counter order to close the position. This logic should ideally be in client and not o…
Hi,
You can use this formula for calculating P&L,
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
In this, multiplier takes care of lot_size things.
Hi,
A close price in Kite Ticker corresponds to the previous day's close price.
The last traded price is the price at which last trade has happened which denotes that the latest trade took place at this price.