sujith

About

Username
sujith
Joined
Visits
7,586
Last Active
Roles
Member, Administrator, Moderator

Activity

  • Vaibhav_singh
    Hi,
    I am trying to create apis for my mobile app in node js and i have downloaded the node js package from github and i am trying to connect my node app with kite connect via functions and i am passing my kite api_key for app. But to create session i also need request token and when i check the documentations where i see i have to login with my zerodha account to get request token. But it expires in few minutes. Is there any process or function where can i pass my parameters and get my request token from my code not from going to zerodha login dashboard process.
    October 2
  • manavparmar
    Hi Sujith,

    I have kept the instrument tokens of the recent expiry 21909, but when i pass the intrument token it does not fetch data
    September 10
  • noft
    com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 403 Forbidden

    Have been getting this error since afternoon of 31 Aug 2021. Have relogined several times and regenerated the token multiple times.
    This isnt going away. Usually it was very infrequent and went away after logging in again.
    What's to be done?
    September 2
  • rubaljhavar
    Hi Sujith , Need your help on the publisher API issue that I mentioned. It is now occurring very frequently. Need your urgent help here. It is still giving this error 'Error while fetching session. Please reload the page.' On reload of the page it goes away.
    Thanks!
    August 25
  • maheshk3176
    Maximum allowed order requests exceeded.
    how much is allowed?
    August 23
  • maheshk3176
    raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/NFO (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
    August 23
  • Kamalv
    Issue: GeneralException: Couldn't find that `order_id`.
    OrderID# 210818000157782
    CustID# KF8186
    Placing Order at 2021-08-18 09:15:32.504196 (from my end)
    August 18
  • raviteja546
    Hi Sujith, When i try to extract P&L for intraday positions, i use kite.getPostions() and filter by "day" and trying to take sum of unrealised value, but its not updating live data.. i used 5secs gap to run p&l method but its not giving live value.. Please suggest..
    August 13
  • nb007
    {"status":"error","message":"The user is not enabled for the app.","data":null,"error_type":"InputException"} , i am facing this issue i am the single user
    August 11
  • durgeshpandey215
    $kite = new KiteConnect($zerodha_apikey); // here i have api key

    try {
    $user = $kite->generateSession($zerodha_request_token, $zerodha_secret); // here i have secret key but i don't have request token
    $kite->setAccessToken($user->access_token);
    } catch(Exception $e) {
    echo "Authentication failed: ".$e->getMessage();
    throw $e;
    }

    when i run this program with proper input i do not get any response I got error
    August 7
  • rajat86
    hi sujith
    as you mentioned
    It is mandatory by the exchange that a trader has to log in at least once a day. We don't recommend automating login.

    Can I use kiteconnect python apis to automate trades across days in aws?
    If yes, can you help me with the redirect url i have to give to purchase api access keys etc. What redirect url to give for use in aws?
    June 16
  • HarshalRathore
    Hello, sujith sir
    I am in a pickle and need you'r help on this
    Now I am going to present a case in front of you
    say, that today I shorted one PE and one CE (attributes order:market, variety:RGLR, validity:day) manually with kite app. Now I want to automate the tracking of the combined premium of this trade with python and when it hits my desired SL I want to square off the trade meaning I want to close both the trade.
    so, what function to use or which method for this. provide me the solution for both cases MIS and NRML product type.
    Thank you
    May 30
  • jaymahajan999
    Hi Sujith,

    from where can I get access to console API ?
    May 18
    • sujith
      sujith
      We don't have console APIs on Kite Connect.
  • ajy
    this.kt = new K.KiteTicker({ api_key, access_token })

    this.kt.on('order_update', update => {
    console.log("order FOUND. YEAH");

    });

    sometimes it works sometimes it is not called. but the orders are executed i checked.
    May 11
  • ajy
    hi sujith,
    in my node.js program. order update callback not called, but the order is executed and shows on website positions. please help. it was working yesterday butnot today. it has a very erratic behaviour. please help me.
    May 11
  • bhasin888
    hi sujith,

    is there a way to backtest my kite connect script before i deploy it in live market?
    the only option i know is to download the ohlc data locally and perform the backtest.
    May 7
  • narunbabu
    Hi Sujit,
    I have the API account. And I'm trying to get the ticks for around 1000 instruments. But I could not succeed. My python program works for 4 or 5 instruments even on LTP mode. Can you please help me. Or there is limit for the websocket?

    Regards,
    Arun
    April 26
    • A_Ahuja
      A_Ahuja
      +1
      I am facing the same issue.
  • Kadwa_Such
    This is a kind of 100% fraud by some stock brokers. You can file complaint in consumer court against Zerodha, Upstox and you will definitely win the case and can get huge compensation also. SEBI never allowed any brokers to block any trade but still they are blocking trades with some kind of SEBI’s manipulated message which is not fair trade practice. You can file RTI also in this regard to get the answer whether they have any right to block any specific trade or not and I am sure you will get answer in your favor with the RTI copy you can go to court to win the case. If you do not want to go to court due to money crunch just forward this comments to as many traders as possible so that all will get to know the running fraud.
    April 30
  • ArjunS
    Hi Sujith,

    I'm not able to see Pledged shares using kite.holdings().. Let me know if this is supported?
    April 8
  • pavanvora
    Hi Sujith,

    I just posted a question to the forum and then did a small edit and it got removed and shows as it will get posted after Authorized or something.

    Can you please have a look and make it visible to the forum. I'm facing some serious issues with API response and it was a very long question writing it again would take so many efforts. If it is not possible to make it available very soon then please let me know.

    Awaiting your reply.

    Thank you,
    Pavan
    April 2
  • deepakyadav
    Hey Sujith,

    My client Id is F02984 and the API is 90n4srk6fnfr9o6x. Not able to authorize the app. What to do?
    March 20
  • krishnak2
    Hi Sujith,
    is there any possibility to get kiteconnect app expiry date using api?
    March 20
  • SAPANKHUNTIA
    hi Sujith,

    I am getting an error like this:
    Connection closed: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: close reason without close code)

    Can you please explain what this means and how to sort it out.
    February 17
    • SAPANKHUNTIA
      SAPANKHUNTIA
      hii sujith,
      I found the solution. actually I was calling an iterable rather than a list of stocks.

      thank you.
  • atpalgotraders
    Hi Sujuth,

    I want to trade based on candlesticks which requires todays data, Is live data enough or do we need to go for historical data?

    Best Regards,
    Rams
    December 2020
  • Mangesh
    How to get child order id OF BRAKET OR COVER ORDER ? Can you please post a sample code?
    December 2020
  • mishipal
    Can you please tell me how can i use multiple zerodha ids in single api..?
    November 2020
  • mohitjain080
    hi ... can u pls explain how i can get implied volatility
    October 2020
  • pingmanoj
    Hi,

    I am using this code in VB.net, to place a order:
    Rsp = KT.PlaceOrder(Constants.EXCHANGE_NFO, TradedInstrument, Constants.TRANSACTION_TYPE_SELL, QTY, Nothing, Constants.PRODUCT_NRML, Constants.ORDER_TYPE_MARKET)

    and this to display the order status in a datagrid:
    Rsp.ToList()
    DGV2.DataSource = Rsp.ToList

    In the data grid I see 2 returned values "Key" and "Value".
    In these I get "Status", "success" and
    "data", "System.Collections.Generic.Dictionary`2[System.String,System.Object]".

    How do I get the actual returned message from the placeorder() function, something like "insufficient funds"?
    Looking forward to hearing from you soon.

    Thanks

    Manoj
    October 2020
  • jinalpatelcsoft
    hello Sujith , can you please check my last comment and reply https://kite.trade/forum/discussion/8678/position-api-not-workig#latest

    October 2020
  • XS8910
    can you hep.....after market hours its showing correct MTM, i mean with no open position.......But when there is a open position...its showing wrong MTM figure...Kindly help me
    October 2020