sujith

About

Username
sujith
Joined
Visits
11,845
Last Active
Roles
Member, Administrator, Moderator

Activity

  • 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
  • santhoshkurian
    Hi Sujith,

    When I place multiple orders using kite publisher buttons integrated to my html page using plain html codes, often fails to place SL orders others go through kite publisher api. Kindly look at this page in your time and advise me what went wrong.

    https://www.meero.org/tr2s.html

    (The whole purpose of doing this page was to place entry, target and SL orders at once, I often loose trade because not placing either SL or target, get distracted by day job).

    Thanks
    October 2017
  • sahilsingh
    October 2017
  • santhoshkurian
    Hi Sujith,
    Kite publisher - orders opens in new webpage instead as it was in pop-up window.
    Is there any way to open list of orders as pop-up window. instead opening in new page.
    Kindly suggest a workaround.
    (I just started with kite publisher suddenly fun part over, when list of orders opened in new page...!!!)

    Thanks
    Santhosh
    October 2017
  • sgatpalli
    i want to subscribe only historical api
    before trading i want to learn python programming
    is this possible please guide me
    October 2017
    • sujith
      sujith
      Hi,
      You need a live Kite Connect App to use historical data. You will have to subscribe to use it.
      Instead, you search online for historical data sample and that should be fine to start learning.
  • zeeshan
    Hi,

    I am using the kitxl, to place cover orders. i am able to successfully place cover orders, but while exiting a cover order, i am not able to do it, as i am unable to fetch parentorderid, to exit the co.

    i can see the parentorderid, in the order book, after i update it, but its difficult for me, to fetch it from there, and then use it to exitco function, as per my sell triggers.

    please help me out with it.

    Thank you,
    November 2017
  • nikhlesh_lipl
    Hello Sujith,

    I am using html button for kite login when i am using bse cash it is working fine ,but when i am trying to send script of MCX or index option or stock option getting error

    error_type "InvalidDataError"
    message "No valid order entries found in the JSON payload"
    status "error"

    can you please send me list for post params for button for different different exchnage
    September 2017
  • narasimha
    Hello Sujit, require your help i am trying to place market order in java client but getting message as . I have sufficient amount to buy the shares .

    REJECTED--170816000728903--RMS:Field Not Found 63002
    August 2017
  • madan
    Hi Sujith,

    When I get order details by id, one Order object received which internally contains 5 orders with different status COMPLETE
    OPEN
    OPEN PENDING
    VALIDATION PENDING
    PUT ORDER REQ RECEIVED

    By taking latest order and if its status is 'COMPLETE' can I assume that my order is executed ? I hope open means order is placed but not yet executed. And also above status are same for all buy/sell orders or status varies for buy/sell ? What are other status available REJECTED, CANCELLED ? If there is any documentation on order status please share me link.

    Thank you.
    July 2017
    • madan
      madan
      One more thing, Margin Available & Account Value - Which amount should be considered while placing order.
  • madan
    Hi Sujith,

    A small doubt, do we need to place sell order and stop loss sell orders separately ?

    If yes, when sell order is executed what happens to stop loss sell order? Will it be cancelled by system or we need to do it? Otherway - when stop loss sell order is executed first, what about sell order? Cancelled by system or we need to do it?

    Ex Situation.,
    Baught Reliance shares 100 @123/-
    I would like to sell them @130/- with stop loss@120/-

    Thank you,
    July 2017
    • sujith
      sujith
      Hi @madan,
      Is this about bracket order?
    • madan
      madan
      Sorry I dont know about bracket order. Talking about regular Intraday orders (MIS)
    • sujith
      sujith
      If you are using regular order then, you will have to handle everything at your end. For example, you take a long position and put a target sell order and stop-loss order, once a target is hit you will have to cancel the stop-loss order by yourself.

      As an alternate, you can use bracket order which exactly does the same thing what you are looking for. To know more about bracket order check out this blog post https://zerodha.com/z-connect/tradezerodha/zerodha-trader-software-version/bracket-orders-trailing-stoploss-sl

      An additional advantage is you can get more leverage also.
    • madan
      madan
      Thank you sujith.
  • Srik
    Hi Sujith,
    I need some information on the Python client. Please help.

    I placed a regular LIMIT order to buy some strip and got it executed. When I try to place a sell order for the same quantity, it is getting rejected saying margin exceeded. May be it is trying to execute it as a sell order without prior buy. Can you please explain why it is happening.

    Basically I want to know how to exit a position when it is LIMIT order of regular type.

    Regards,
    Srikanth
    July 2017
  • makarandkokane
    Hi Sujith,

    I'm a KITE Connect API user and I figured from the forum, you are a part of that team.

    https://api.kite.trade/orders is returning [TokenException, Invalid User] since yesterday evening.
    I could place AMOs indicating my access token is valid.

    I have a large open portfolio and need to execute it during market hours.


    Is there any workaround for me till the issue is fixed?

    When would it be fixed?

    thanks,
    Makarand.
    June 2017
    • sujith
      sujith
      Hi Makarand,
      Can you try now? the issue has been resolved.
  • Raja
    Hi Sujith, i am doing app in PHP, so i need all the instrument list which support this programming or can get request in json format. can you clarify if we can not get all the stocks open high low in one request using API call or json call. i dont know the web socket programming. kindly suggest.
    June 2017
  • Pradeep
    Hello -
    I have opend an Zerodha account and i am trying to use the kite connect - procedure i used
    1. created an app and i have the API key and secreat key
    2. i tried the .net app - its getting compiled - when the app open i tried inputting the keys
    3. it opens a blank window - left top corner it shows kite - but every thing is blank
    4. i tried several times and computer restart is only way to kill teh kite app
    5. i tried java code and it is giving authentican tocken er
    August 2017
  • Santosh
    Hi Sujith,

    I have a few queries which are important to us as we are developing commercial software based on Kite API and cannot discuss on open forum like this. I tried to reach [email protected]; but even after repeated mails over two weeks I have not received any reply.

    We need to take certain decisions fast. Can you help?
    May 2017
  • prosenjitghosh
    Dear Sujith,
    Unable to cancel my order, please help. It is showing "Put Order Rest Recd".

    Please help to cancel the order.

    Order details:
    ORDER ID: 170508000206952
    VEDL17MAYFUT
    BUY / NFO
    AVG. PRICE
    ₹0.00
    FILLED QUANTITY
    0 OF 3500
    PRICE
    ₹220.90
    TRIGGER PRICE
    ₹0.00
    ORDER PLACED BY
    DP3193
    ORDER TYPE
    LIMIT
    PRODUCT / VALIDITY
    MIS / DAY
    TIME
    2017-05-08 10:26:55
    ORDER ID
    170508000206952
    EXCHANGE ORDER ID

    EXCHANGE TIME

    STATUS
    PUT ORDER REQ RECEIVED

    Thanks and regards,
    Prosenjit Ghosh
    May 2017
    • sujith
      sujith
      We are facing some internal issue, we are looking into this. We will get back to you shortly.
    • prosenjitghosh
      prosenjitghosh
      Thanks, it is cancelled now.
  • rajuppal82
    Hi Sujith - I am facing an issue of my sell orders are not being modified, cancelled.

    What is happening here? How this can be resolved?

    Since the price went up and I made an another order but that has the same case. Please adcvise what to do here?

    What will happen to these orders?
    May 2017
    • sujith
      sujith
      We are facing some internal issue, we are looking into this. We will get back to you shortly.
  • TanmayK
    Hi Sujithh,

    My orders are showing validation pending and put order request received.
    I am unable to cancle or modify it. Also its not getting executed even after hitting the price.
    Can you please check and do something..
    My order IDs are 170508000188251 & 170508000228007
    May 2017
    • sujith
      sujith
      We are facing some internal issue, we are looking into this. We will get back to you shortly.
  • dagamshiva
    Hi Sir, i am new to Kite connect. I am developing app. For that i need time data. What is the procedure for that. Please help me and thankd in advance
    May 2017
  • n4nagappan
    Hi Sujith,

    I was trying to automate the purchase of stock in a systematic way over a few months. That requires storing access tokens for a while. But, from this discussion looks like it's not possible.

    Is there any workaround for this? How do you process SIP plans for Zerodha Mutual funds without requiring login every day. Can I somehow follow the same for stocks?

    -Nagappan
    April 2017
    • sujith
      sujith
      Hi @n4nagappan,
      It is mandatory by exchange that user has to login manually at least once a day.

      We have plans of integrating mutual funds in KiteConnect. We will release it soon.
  • kivijoshi
    Hi Its regarding same question I had regarding order placement.

    So yesterday I bough 4 shares of MCX (with "MKT" and "CNC") and today I sold them (again with "MKT" and "CNC") . But in the Zerodha WEB , I still see the open position with quantity -4. So is it happens always that during counter order open position is showed till tomorrow?

    Product Instrument Qty. Avg. price LTP P&L Chg.
    CNC MCX -4 1218.85 1226 -28.6 0.005866185
    April 2017
  • Santosh
    Hi sujith,

    I am trying since yesterday and I am not able to post my issues. Can you please help?
    March 2017
  • Santosh
    Hi sujith,

    I am trying since yesterday and I am not able to post my issues. Can you please help?
    March 2017
  • keshav
    Hey man, can you tell me if I can do a short trade (sell before acquiring) using your API?
    February 2017
  • rz0052
    Hi Sujith,

    My Client ID is RZ0052 on which i would like to exeucte the orders.

    I use Eclipse and am executing it as a standalone application.

    Can you please help me understand, where I can get the api_key and complete the login process flow?

    Kind Regards,
    Ziaur Rahman
    February 2017
  • sanjeev2ryadav1988
    Hi @sujith , This is happening to me also. t1_quantity is showing but avg_price is showing as 0. can you please look into this. Thanks.

    api_key="zbtx99e1txs5ll27"
    acoount DT0957
    February 2017
  • sutolani@gmail.com
    I am using FULL mode for getting all my Scrip related Market data using Websockets. However, Index data for Nifty 50, India VIX, Nifty IT etc is not available in Full Mode. Please start sending this data in Full mode since I do not want to write a different code to get index data.
    February 2017
    • sujith
      sujith
      FULL mode will give you depth data. But indices will never have market depth because it is not traded. You can subscribe for it in mode QUOTE.
  • sr11
    Hi Sujith

    I have basic question on Trailing Stop Loss,

    In the API documentation its mentioned
    trailing_stoploss Incremental value by which stoploss price changes when market moves in your favor by the same incremental value from the entry price (optional)

    In the below example of buying 120 stocks at Rs1000, Selling at 1002.50 and SL: of 998.3. I want a Trailing stop loss of 100Rs which is ~Rs0.85/stock (120 stock). How does this work? when 1002.5 moves up by 0.85 998.3 also moves by 0.85 and holds there?

    Can you give a better example?

    Thanks a lot for your help

    -SR

    January 2017
    • Matti
      Matti
      @sr11

      Consider a simple example where you buy a stock at Rs. 100; have a target at 120 and a stoploss at Rs. 95. In this case, if your trailing stoploss is Re. 1 (we don't allow values lower that Re. 1 for trailing stoploss), when the stock moves from 100 to 101, your stoploss would move to 96 and hold there. Similarly, it would move up for every rupee movement in stock price towards your target. This would mean, at Rs. 109, your SL is at 104.

      I hope the example helps.
  • sumanthneppalli
    Hi Sujith, thanks for the info. Are you aware of any other APIs that would allow me to access real time market quotes at a reasonable price like Zerodha's?
    December 2016
    • Matti
      Matti
      Hi Sumanth, as far as I'm aware, there is no API available out there that gives you real-time market data at a low cost. The simple reason being that market data is quite expensive! Zerodha, as a broker, is allowed to provide this data to its clients, hence the low cost.