Recent Activity

  • Sudhanshu2314
    Bro,
    Even I deleted the app and not able to create new for lack of credit. Whats the update on your issue, did Kite Connect reply back to you?
    June 2020
  • Sudhanshu2314
    Hi Sujit,
    I am new to Algo and API. Yesterday I paid Rs 2000 for creating a new app to onnect my Tradeton Account to Zerodha Acount. Created the App but the there was some issue in connection. So i wanted to edit the App to change some settings and by mistake deleted the app. Now when I want to create new app, it is again asking for Rs 2000 whereas my previous app is still valid for one month. Whats the solution. Have written mail to Support team but no reply. Plz help
    June 2020
  • tfKamran, ravi_csit, aasimenator, VZ0275, gmhoolageri and 14 others joined.
    Welcome Aboard!
    June 2020
  • ZA1608, krishnam7, ReapingProfits, dhari77, Visshnu and 13 others joined.
    Welcome Aboard!
    June 2020
  • hi143tcs

    hi

    i m solanki from nagaur raj i need your help about troubleshooting in my programme

    Respected Sir,
    https://dpaste.org/5gwx
    this code is
    my macd crossover strategy get error after place buy order this error showing

    biltins.AttributeError: None type object has no attribute 'append'


    please troubleshoot if possible
    June 2020
    • hi143tcs
      hi143tcs
      any one can solve this
  • Welcome Aboard!
    June 2020
  • holla, manojromina, svguru, mpoorna, ayush219 and 7 others joined.
    Welcome Aboard!
    May 2020
  • Welcome Aboard!
    May 2020
  • vvn_78, NL9072, akkaash, aadhithbose, yashbb3 and 6 others joined.
    Welcome Aboard!
    May 2020
  • kasinatha, sumit011, NareshIT, oodeyaa, ycfunet and 8 others joined.
    Welcome Aboard!
    May 2020
  • while getting tick by tick data for different stocks their ohlc values are getting mixed. I tried using instrument tokens but still the same.
    May 2020
  • SA1937, Dalips, BIJUTHOMAS, akshaymehara, shanalx and 7 others joined.
    Welcome Aboard!
    May 2020
  • Welcome Aboard!
    May 2020
  • Recently made a photo shoot with India's best Saree brand who has its specialization in Pure hand loom brands. Their name is BharatSThali and they are working towards building Indian hand loom to the world level. Its always delight me to make photo shoot for ethnic women wear brand and BharatSthali has fulfilled my dream for taking soft silk sarees shoot in Chandigarh.
    May 2020
  • CIDM is the best SEO training institute in Chandigarh and SEO experts in Bangalore. As a top SEO agency, We offer the best SEO Services in Bangalore to help all sorts of business
    visit: search engine optimization in Chandigarh
    May 2020
  • intuissup, Thippeswamy, XP1203, ANANDVSHETH, ed3308 and 16 others joined.
    Welcome Aboard!
    May 2020
  • pca, suhas2686, zidbeck, ramnmadhu, MickieYeo9 and 3 others joined.
    Welcome Aboard!
    May 2020
  • a4arjun
    when i am going throuh generate session method ..it is showing this

    DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
    DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "POST /session/token HTTP/1.1" 200 None

    do you know how to fix this
    July 2019
    • a4arjun
      a4arjun
      @imran can you pls fix this issue
    • Imran
      Imran
      Hii Arjun send me your contact number.. I will fix this through anydesk.
    • RameshKVeeramalai
      RameshKVeeramalai
      Hi Imran, Hi Arjun,
      I am also facing the same issue. Could you kindly help me to fix this?
      Thank you in advance.
    • RameshKVeeramalai
      RameshKVeeramalai
      I am able to get the access token but when I added "logging.basicConfig(level=logging.DEBUG)". I am getting below error

      DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
      DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "POST /session/token HTTP/1.1" 403 None
      Can someone guide me?

      Thank you
  • kulguru
    yes
    May 2020
  • nag3288, apoorav7599, Ishvam, devpreet_13, XI1500 and 18 others joined.
    Welcome Aboard!
    May 2020
  • Welcome Aboard!
    May 2020
  • arthite
    sir i tried this, but while exporting data to excel its showing me dates and variable names not values.
    this is the code :
    from kiteconnect import KiteConnect
    from kiteconnect import KiteTicker
    import pandas as pd
    import numpy as np
    from numpy import array
    import datetime,time,os,random
    import pdb
    from openpyxl import Workbook
    from pandas.io.json import json_normalize
    import xlwings as xw
    import talib


    kws = ""
    kite = ""

    api_k = "xgzzqisbd6vil8cn" # api_key
    api_s = "e1e1acyzv5hrgawjsnq5oc4kidadcg78" # api_secret
    access_token = "mR48QhHegwehw1o4OrPuSCaCkqSiNAlN"
    trd_portfolio = {'PCJ': {'token': 315393},'ACC': {'token': 5633}}
    #trd_portfolio = {738561:"PCJ",5633:"ACC",40193:"APPOLO"}

    def get_login(api_k, api_s): # log in to zerodha API panel
    global kws, kite
    kite = KiteConnect(api_key=api_k)

    #print("[*] Generate access Token : ", kite.login_url())
    #request_tkn = input("[*] Enter Your Request Token Here : ")
    #data = kite.generate_session(request_tkn, api_secret=api_s)
    kite.set_access
    May 2020
  • mails4vimal
    Hi,
    pls. send your excel trading workbook to my mail. ([email protected])
    Thanks and regards
    Durai
    May 2020
  • Ayush_R, kitir99, mg3914697, LW3868, glossnglass and 17 others joined.
    Welcome Aboard!
    May 2020
  • sameeer
    Hi Sujith,
    Thanks for your prompt replies...I have very important question

    I am not sure if I am doing something wrong or its how NSE works

    I am testing my program for partially filled orders so I am placing BUY order for SUNTECK from Kite and selling SUNTECK from my upstox account... I see that as soon as I place sell order from SUNTECK, my buy order from Kite becomes invisible from market depth

    Does that mean NSE tracks orders at PAN card level and hence NSE doesnt allow simultaneous BUY and SELL orders(from different brokers like Kite, Upstox, Sharekhan, etc) for same stock from same PAN card?
    If its not TRUE, then I understand my conclusion sounds funny but that has been my observation for last 10-15 trades

    For example,
    if market depth : bid 100 and ask 110
    Now i place bid from KITE at 105 so market depth: bid 105 and ask 110
    Now if I place MKT SELL from upstox, my execution price is 100 and I dont see 105 in market depth
    My quantities in Kite still 0
    May 2020
  • arthite
    I am new, pls can anyone help me out with getting live tick by tick ohlc data into excel
    May 2020
    • Imran
      Imran
      Hii arthite

      see the below video for reference.

      1. https://www.youtube.com/watch?v=z1sleBSX8w0&t=963s
      2. https://www.youtube.com/watch?v=B1jjo0zcE6g&t=354s
      3. https://www.youtube.com/watch?v=UTRbPkUJNXM
    • arthite
      arthite
      sir i tried this, but while exporting data to excel its showing me dates and variable names not values.
      this is the code :
      from kiteconnect import KiteConnect
      from kiteconnect import KiteTicker
      import pandas as pd
      import numpy as np
      from numpy import array
      import datetime,time,os,random
      import pdb
      from openpyxl import Workbook
      from pandas.io.json import json_normalize
      import xlwings as xw
      import talib


      kws = ""
      kite = ""

      api_k = "xgzzqisbd6vil8cn" # api_key
      api_s = "e1e1acyzv5hrgawjsnq5oc4kidadcg78" # api_secret
      access_token = "mR48QhHegwehw1o4OrPuSCaCkqSiNAlN"
      trd_portfolio = {'PCJ': {'token': 315393},'ACC': {'token': 5633}}
      #trd_portfolio = {738561:"PCJ",5633:"ACC",40193:"APPOLO"}

      def get_login(api_k, api_s): # log in to zerodha API panel
      global kws, kite
      kite = KiteConnect(api_key=api_k)

      #print("[*] Generate access Token : ", kite.login_url())
      #request_tkn = input("[*] Enter Your Request Token Here : ")
      #data = kite.generate_session(request_tkn, api_secret=api_s)
      kite.set_access_token(access_token)
      kws = KiteTicker(api_k, access_token)
      #print('access_token')

      # # pdb.set_trace()
      # kite.set_access_token('4tN29CKS89i71siZyLsL0rSc3EcJvccY')
      # kws = KiteTicker(api_k, '4tN29CKS89i71siZyLsL0rSc3EcJvccY')
      # print(data['access_token'])


      get_login(api_k, api_s)


      # pdb.set_trace()

      ticks_storage = pd.DataFrame()
      timeframe = 1
      temp = {}


      name = 'ACC'

      wb = xw.Book('Tick Data1.xlsx')
      sht = wb.sheets['ACC']
      row_no = 2

      def on_ticks(ws, ticks):
      global row_no



      for name in trd_portfolio:
      token = trd_portfolio[name]['token']
      for single_company in ticks:
      if single_company['instrument_token'] == token:

      temp[single_company['timestamp']] = single_company
      #dt = datetime_withtimezone.replace(tzinfo=None)
      df = pd.DataFrame.from_dict(temp,orient='index')
      ohlc = df['last_price'].resample(str(timeframe)+'Min').ohlc()

      #pdb.set_trace()
      #time = ticks[0]['timestamp']
      #open1 = ohlc.open.values
      #high1 = ohlc.high.values
      #low1 = ohlc.low.values
      #close1 = ohlc.close.values
      ohlc.to_excel('Tick Data1.xlsx')
      print(ohlc)
      #pdb.set_trace()
      sht.range('A' + str(row_no)).value = ohlc
      #sht.range('B' + str(row_no)).value = time


      row_no = row_no + 1










      #print(low1)

      #print(high1)
      #print(open1)
      #print(close)
      #print(ohlc)
      # pdb.set_trace()


      subscribe = [315393]


      def on_connect(ws, response):
      ws.subscribe(subscribe)
      ws.set_mode(ws.MODE_FULL, subscribe)


      kws.on_ticks = on_ticks
      kws.on_connect = on_connect
      kws.connect()
    • arthite
      arthite
      moreover sir ,when i am trying to add more instrument codes, open high low close values are getting mixed up
  • Digimark is the best SEO Company in Bangalore and SEO experts in Bangalore. As a top SEO agency, We offer the best SEO Services in Bangalore to help all sorts of business
    visit: search engine optimization in bangalore
    May 2020
  • ameyasd007, seema, absk_1234, CX2959, KR9481 and 6 others joined.
    Welcome Aboard!
    May 2020
  • arthite
    I am new, pls can anyone help me out with getting live tick by tick ohlc data into excel
    May 2020
  • arthite
    I am new, pls can anyone help me out with getting live tick by tick ohlc data into excel - clear
    May 2020