Hi Mohit,
Login automation is not allowed by exchange. So we don't allow users to automate fetching request token.
Request token is valid for 5 minutes.
I tried this and it works,
Map param10 = new HashMap(){
{
put("quantity", "1");
put("order_type", "LIMIT");
put("price", "276.8");
put("transaction_type", "BUY");
…
Hi,
Product can be only MIS or CNC for equity and MIS or NRML for F&O contracts. Kite considers MIS as intraday and CNC as delivery. BO is a order variety not product. All BO are MIS which means it will be squared off by 3:20 PM. Order variety c…
Hi @sameer,
Our data team has some technical reasons for which they choose to keep time so and it is not 9:15:01 always, for some scrips it can go up to 9:15:03 also. So I would suggest you to ignore seconds(as it is minute candle) or write work aro…
Hi @RK2245,
You can do it by creating two different apps from same user on Kite.trade and login manually everyday on both computers. But make sure to give separate client Ids while creating apps.
Hi @sameer,
Kite.trade will not reflect your funds from Zerodha account.
During renewal, we just check if user has enough credits on Kite.trade, if not we will check and deduct from Zerodha account. If you don't have enough funds in Zerodha accoun…
Hi @ferdinand.sousa,
You don't need another account.
You can create a new app and specify your second account number while creating new app.
Once you create app, 2000 credits will be deducted and it is valid for 30 days. If you create app on 16 N…
Hi @rktheinvestor1,
You can get list of all orders you have placed in a day with KiteConnect.getOrders(). If you are looking for particular order's details like various stages of order lifecycle in the system like open pending, open, modification …
Hi @Gyan.Sikdar,
Yes you get bid and ask data (market depth) from websocket. You have to subscribe for a token and then set mode to mode full.
OHLC in websocket corresponds to day's data whereas OHLC in historical data corresponds to time inter…
Hi @ahsan,
Once you subscribe for tokens, you get ticks in the following method,
def on_tick(tick, ws):
print tick
Inside this method you can write to your database and use the same for analysis.
Hi @amitsingh,
You need to open this url https://kite.trade/connect/login?api_key=(api_key) and enter credentials, after successful login, you will be redirected to registered redirect url with request token. Use that request url for making api cal…
Take a look at example params for BO,
Map param = new HashMap(){
{
put("quantity", "1");
put("order_type", "LIMIT");
put("price", "1.4");
put("transaction_type", "BUY");
…
Hi @hhemanth,
Once you place BO, only one order is placed which is limit(first leg), once first leg is executed then other two are placed. So when you place BO and fetch orderbook, it will have only one order entry.
Hi,
Open interest is not available in webscokets as of now. We will be providing it in future.
PS: You can make 1 request per second for getQuote not minute.
Hi @sameer, platform charges breakup is as follows,
order execution platform is Rs2000 and for candle api it is Rs2000. Checkout pricing section in this https://kite.trade/individuals
Hi Abhishek,
Access token is valid till next trading session. It will be invalid only if you use some other platform like Kite or Pi. You can keep using same access token till next trading session.
Checkout documentation here https://kite.trade/docs/connect/v1/#introduction apart from this, it is available in dotnet and java.
KiteConnect is just a bunch of http requests and responses. You can implement it in any programming language.
Hi Pradeep,
I got your point. Here is what I would suggest, once you get your
request token. You can use it to get access token. After you get access token, store it in DB or any other storage. Reuse the same access token till it expires. Don…
Hi @dummydost,
You have to fetch all orders and separate orders by checking status.
We check if order status is not rejected, cancelled or complete then it is pending order.
Hi,
It means, value for stoploss_value, squareoff_value are not same as price value. Consider a scenario where LTP of a scrip is 100 and you want to put stoploss at 98.5 and square off at 102, then your stoploss value should be 1.5 and square off va…
Hi, It looks like there was some error in the system. So even after stoploss is executed, square-off order was open. It is now taken care by our RMS team. If you have more queries please email to [email protected]
Hi @chintanvhparmar,
I think this scrip is not traded today. Checkout on NSE site, it shows same data https://www.nseindia.com/live_market/dynaContent/live_watch/get_quote/GetQuote.jsp?symbol=AHLWEST&illiquid=0&smeFlag=0&itpFlag=0
Hi @snikam,
Tick over websocket is not time based. If you have subscribed for multiple tokens, there can be multiple tick per second also. Server broadcasts tick whenever there is change in data. It broadcasts even when there is change in only mark…
Hi @Ofek,
You have to get login url with loginUrl() method and open browser and manually login. After successful login you will be redircted to registered redirect url with request token. Use the same for getting access token. For more information,…
Hi @mckchenthil,
For current day's data also you have to subscribe for historical data. On contrary, you can implement a websocket connection with which you can fetch data and store it in your database.
@ashishsharma04
You must use same client Id with which you have signed up. Your app doesn't have multi user access.
Just copy paste code from Test of KiteConnect Java. It is working fine.