Recent Activity

  • ARUN001, gautam21, rksingh, sam92, vijaysmuley and 10 others joined.
    Welcome Aboard!
    November 2017
  • I get following exception every second time , and i have to regenerate request_token again

    Traceback (most recent call last):
    File "example.py", line 9, in
    print kite.request_access_token(request_token,api_secrete)
    File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 269, in request_access_token
    "checksum": checksum
    File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 581, in _post
    return self._request(route, "POST", params)
    File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 668, in _request
    raise(exp(data["message"], code=r.status_code))
    kiteconnect.exceptions.TokenException: Invalid session credentials
    November 2017
  • ifarhan, janakpatel, ajinkya0711, Aryan1155, chivao and 4 others joined.
    Welcome Aboard!
    November 2017
  • Welcome Aboard!
    November 2017
  • tradematic
    Hi @Botany02

    Is there any way to get number of Open positions through Kite Xl.. I know that clicking Position button will give me whole data. But i need some thing like RTD function.

    As i want to automate my trades, i need count of my open positions.

    for eg if (number of positions is < = 2 then trade else wait)

    Thanks in advance.
    November 2017
    • botany02
      botany02
      Hi @tradematic,
      This will be available soon
  • I want to create desktop app using dotnet. I don't want historical data. I need current feed(ltp or full feed). place , modify and get status of orders. get positions. get reports. Will I need to pay 2000 points monthly ...
    November 2017
  • Welcome Aboard!
    November 2017
  • Welcome Aboard!
    November 2017
  • DM2705, berly, rameshg, sbharathraja, kcrocks and 5 others joined.
    Welcome Aboard!
    November 2017
  • sachinstlko09
    With the help of below URL; I can get the 16th november historical data by the below URL.

    https://api.kite.trade/instruments/historical/779521/60minute?from=2017-11-16&to=2017-11-16&api_key=XXXXX&access_token=XXXXXX


    Example: On Monday, I need data of last opening day i.e. Friday data as Saturday and Sunday market are closed.

    In other words, I don't want to put the date here; just want last opening day DATA.


    If you have idea to get the Last Opening Market DATE, then that will be also useful.
    November 2017
  • sachinstlko09
    With the help of below URL; I can get the 16th november historical data by the below URL.

    https://api.kite.trade/instruments/historical/779521/60minute?from=2017-11-16&to=2017-11-16&api_key=XXXXX&access_token=XXXXXX


    Example: On Monday, I need data of last opening day i.e. Friday data as Saturday and Sunday market are closed.

    In other words, I don't want to put the date here; just want last opening day DATA.


    If you have idea to get the Last Opening Market DATE, then that will be also useful.
    November 2017
  • Welcome Aboard!
    November 2017
  • Welcome Aboard!
    November 2017
  • gabehcoud, shivakv, piyush, BetsyLindb, nlsh82 and 10 others joined.
    Welcome Aboard!
    November 2017
  • Welcome Aboard!
    November 2017
  • Welcome Aboard!
    November 2017
  • rejeesh31
    Hello SUjith,
    #1 my kiteXL is frequently logged out hence not able to place orders based on my automated algo...what could be the reason and how do we fix this?
    #2 also, is there a way to fully automate the loginflow? like hard coding clientID, passcode and security qns?
    #3 GetOrderStatus(A3) is returning null at times and works fine at times
    #4 GetOrderStatus acting is weird! the order is complete in kite and still showing 'Trigger Pending' when i fire getorderstatus, how do i really find if an order is complete using getorderstatus?
    November 2017
  • rejeesh31
    Hello, my kiteXL is frequently logged out hence not able to place orders based on my automated algo...what could be the reason and how do we fix this?
    November 2017
    • rejeesh31
      rejeesh31
      also, is there a way to fully automate the loginflow? like hard coding clientID, passcode and security qns?
    • rejeesh31
      rejeesh31
      GetOrderStatus(A3) is returning null. A3 contains orderID 171113000625998
    • rejeesh31
      rejeesh31
      GetOrderStatus(A3) is returning null at times and works fine at times
    • rejeesh31
      rejeesh31
      GetOrderStatus acting is weird! the order is complete in kite and still showing 'Trigger Pending' when i fire getorderstatus
    • rejeesh31
      rejeesh31
      how do i really find if an order is complete using getorderstatus?
    • botany02
      botany02
      @rejeesh31
      #1 This may be due to Temp Files/Cookies/Cache, most of the time this issue caused by system, so you have to dig out. You may try the below;
      1. Delete Temp Files/Cookies/Cache
      2. Try running KiteXL in other Laptop/PC, see whether the issue continues o not

      #2 'GetOrderStatus' will return order status from the stored value. KiteXL is not fetching the status from Kite Server, this is so because to prevent users from getting 429 error and for fast performance, otherwise if fetching from Kite Server for multiple orders will lead to system instability and 429 error.

      when you place a order, KiteXL stores the order id in a key with initial status as Null and starts a thread to fetch order status in a loop with interval of 10 sec and exits the loop once the order status changes to 'COMPLETE', 'REJECTED' or 'CANCELLED' and stores the Final order status in the Key. This is so because, since the order status is sent via post-back that needs a domain and the domain should be connected to user KiteXL via some communication mechanism like TCP/IP, so we implemented thread for checking the order status.
      This will work fine until you have limited number of orders or the order type is Market (The loop will exit immediately as your order will be COMPLETE with Market order type).
      But when you place more order with order type as LIMIT or SL or SL-M, more threads are created, all threads keep on running (as LIMIT or SL or SL-M order) and all threads simultaneously trying to fetch order status in a loop with interval, thus leads to 429 error and system instability.When a thread experience a 429 error, it exits the loop, so leaving the order status to NULL forever till you reopen the KiteXL or Fetch order Book.

      This is the known issue as we don't have any other option (as post-back is the only way to get order updates and that requires domain and integration with KiteXL)

      We are updating the KiteXL, which will be released soon with Post-back support.
      This version will give user more flexible than ever, you will get each and every data and updates.
      You have more control over your system and increased stability, lot more functions to manipulate orders, symbols and positions, options to login in chrome and use the access token in Excel(can ignore IE).

      (If Order updates through web-sockets is implemented by Zerodha, then it's bonus, we no need to rely on post-back which requires additional head ache to initiate a communication between KiteXL and the domain.dates)

      We recommend, you wait for our release.
    • botany02
      botany02
      @rejeesh31
      #1 This may be due to Temp Files/Cookies/Cache, most of the time this issue caused by system, so you have to dig out. You may try the below;
      1. Delete Temp Files/Cookies/Cache
      2. Try running KiteXL in other Laptop/PC, see whether the issue continues o not

      #2 'GetOrderStatus' will return order status from the stored value. KiteXL is not fetching the status from Kite Server, this is so because to prevent users from getting 429 error and for fast performance, otherwise if fetching from Kite Server for multiple orders will lead to system instability and 429 error.

      when you place a order, KiteXL stores the order id in a key with initial status as Null and starts a thread to fetch order status in a loop with interval of 10 sec and exits the loop once the order status changes to 'COMPLETE', 'REJECTED' or 'CANCELLED' and stores the Final order status in the Key. This is so because, since the order status is sent via post-back that needs a domain and the domain should be connected to user KiteXL via some communication mechanism like TCP/IP, so we implemented thread for checking the order status.
      This will work fine until you have limited number of orders or the order type is Market (The loop will exit immediately as your order will be COMPLETE with Market order type).
      But when you place more order with order type as LIMIT or SL or SL-M, more threads are created, all threads keep on running (as LIMIT or SL or SL-M order) and all threads simultaneously trying to fetch order status in a loop with interval, thus leads to 429 error and system instability.When a thread experience a 429 error, it exits the loop, so leaving the order status to NULL forever till you reopen the KiteXL or Fetch order Book.

      This is the known issue as we don't have any other option (as post-back is the only way to get order updates and that requires domain and integration with KiteXL)

      We are updating the KiteXL, which will be released soon with Post-back support.
      This version will give user more flexible than ever, you will get each and every data and updates.
      You have more control over your system and increased stability, lot more functions to manipulate orders, symbols and positions, options to login in chrome and use the access token in Excel(can ignore IE).

      (If Order updates through web-sockets is implemented by Zerodha, then it's bonus, we no need to rely on post-back which requires additional head ache to initiate a communication between KiteXL and the domain.dates)

      We recommend, you wait for our release.
  • Hey Guys, please let me know if we have to pay any subscription charges on a monthly basis for Kite Connect?
    November 2017
  • rejeesh31
    Hello, I'm trying to configure KiteXL and i'm getting this error when I press the Login button - "ActiveX component can't create object. I have referred to earlier threads on this topic and completed install_notes as specified. My windows is 64bit and Excel is 32bit. Please advise
    October 2017
    • rejeesh31
      rejeesh31
      Can we add Reference manually via VBA editor?
    • botany02
      botany02
      Yes rajeesh31,
      You can add reference Menu --> Tools --> Add Reference --> Select 'COM Library for KiteConnect API of Zerodha'.
      Also you need to change the binding in the module. Right-now, it is late binding
    • rejeesh31
      rejeesh31
      Thanks that was helpful!
  • velms, reksambi, Som, kolmil1, ayushmancreations and 16 others joined.
    Welcome Aboard!
    November 2017
    • shekharstock
      shekharstock
      Hi, please let me know if we have to pay any subscription charges on a monthly basis for Kite Connect?
  • mrudul123
    Could you Please post in forum regarding Exiting Cover order .

    Fetching parent orderid and exiting it.

    It would be of great help.Thanks
    November 2017
  • mrudul123
    Bro please help regarding exiting Cover Orders.
    Seems like you figured it out.
    November 2017
  • Nelsonjp86, sriram, SKRaman, innovwelt, uday and 8 others joined.
    Welcome Aboard!
    November 2017
  • ncjanardhan
    @sujith .. thanks for the solution
    November 2017
  • sauravkedia
    I think, we should speak and get to know each other personally. Interacting through forums, though sometimes it benefits a lot of bystanders, can become very time-consuming at times. Whats app me on 9810438524.
    November 2017
  • kawadiwale changed their profile picture.
    Thumbnail
    November 2017
  • kawadiwale changed their profile picture.
    Thumbnail
    November 2017
  • varaprasady
    Dear Sir,
    Second time I tried and I got AccessToken
    Thanks
    November 2017
  • varaprasady
    Dear Sir,
    Today also getting same error in getting accessToken....
    {"status":"error","message":"Invalid session credentials","error_type":"TokenException"}
    PostbackURL:
    http://www.astropulse.in/Screener.aspx?status=success&request_token=br7shwy95gjajmnk3c286l8z73z0g4rf

    User user = kite.RequestAccessToken(requestToken, MySecret);
    Please look at the issue...
    November 2017