Kite Connect developer forum ☰
LoginSignup
Home › Search

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register
  1. kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None)

    rakeshr
    by rakeshr · May 2020
    Your code looks correct. on_ticks ticker method should be called properly. But,we feel as it's continous while loop print("i am from main -> after kws.connect(threaded=True)"
  2. Connection error: 1006

    CE7727
    by CE7727 · February 2020
    My code is as follows. def on_ticks(ws, ticks):<br /># Callback to receive ticks.<br />#print(ticks)<br />insert_tick(ticks)<br />return<br />def on_connect(ws, response)
  3. 15 min candle capture

    vippin_nair
    by vippin_nair · January 2020
    />#print(single_company,name)<br />temp[single_company['timestamp']] = single_company<br />df = pd.DataFrame.from_dict(temp, orient='index')<br />ohlc = df['last_price'].resample
  4. 15minute opening range breakout strategy in python

    Amit Ghosh
    by Amit Ghosh · December 2019
    #print(zapp.iloc[-1,-1])
  5. How you find the list of FNO companies?

    Amit Ghosh
    by Amit Ghosh · December 2019
    #print(response)
  6. Couldn't find that `order_id

    Pijus
    by Pijus · December 2019
    #print("Time after receiving order Id", datetime.now())
  7. Python script getting failed in between while fetching the data

    VinayAkuthota
    by VinayAkuthota · August 2019
    ##print(ticks)
  8. Connection Error 1006

    rakeshr
    by rakeshr · July 2019
    We tried same your above code and it's working fine at our end.Can you recheck if processing tick operation of check_entry is not throwing any local error? May be test check_entry method operation sep
  9. Getting error : Connection error: 1006 - connection was closed uncleanly (None)

    sagarneo
    by sagarneo · November 2018
    = j + 1<br />t1 = time.time()<br />#print (&quot;t1-t0:&quot;, t1-t0)<br />print (j)<br />if j&gt;300:<br />'''<br />30 rows of pandas dataframe logic&
  10. Limit Orders using ltp

    Imran
    by Imran · October 2018
    />#print(EMA1_curr,&quot;\t:\t&quot;,EMA2_curr,&quot;\t:\t&quot;,candle['date'])<br />EMA1_prev = EMA1_curr<br />EMA2_prev = EMA2_curr<br />EMA2_prev_l = EMA2_cur
  11. Help with Data Handling in Python

    heyitsabi
    by heyitsabi · August 2018
    />for j in t[i].keys():<br />#print(j,t[i][j])<br />if j == 'ohlc':<br />for k in t[i][j].keys():<br />if k not in columns:<br />columns.append(k)<br />values.a
  12. EXCEL ORDERBOOK CONVERT TO KITE ORDERS

    Imran
    by Imran · August 2018
    #print(company_data)
  13. program to convert tick data into ohlc data

    Imran
    by Imran · August 2018
    #printing last candle<br />print(&quot;------------------------------------------------------------------\n&quot;)<br />#making ohlc for new candle<br />ohlc[company_data['i
  14. sample project

    Imran
    by Imran · July 2018
    #print(company_data)
  15. algo to place order from excel

    Imran
    by Imran · June 2018
    in ticks:<br />try:<br />#print(company_data)<br />do_buy_sell(company_data['instrument_token'],company_data);<br />except Exception as e:<br />pass;<br />def on_c
  16. Unable to save data into csv

    Sashank_Chittipeddi
    by Sashank_Chittipeddi · March 2018
    #print("This is main thread. Will change webosocket mode every 5 seconds.")
  17. Invalid Session

    piyushk921
    by piyushk921 · October 2017
    def on_tick(tick, ws):<br />#print tick<br />#sys.exit(0)<br />with open(&quot;C:\\Python27\\COMMAND.txt&quot;,'r') as file:<br />buff = file.read()<br />if &
  18. How to store tick data into a dataframe without loosing data due to overwriting before appending

    DS4769
    by DS4769 · July 2017
    />def on_tick(ticks, ws):<br />#print(ticks)<br />for tick in ticks:<br />quote[tick[&quot;instrument_token&quot;]] = tick[&quot;last_price&quot;]<br />#pri
  19. How to reconnect websocket on disconnect or on close

    gautam_s60
    by gautam_s60 · April 2017
    #print("b4",r_reset)
  20. Live Stream Data every minute

    beast123
    by beast123 · March 2017
    #print(WebSocket)
Previous Next

Zerodha Member of NSE & BSE — SEBI Registration no.: INZ000031633 | CDSL: Depository services through Zerodha Securities Pvt. Ltd. - SEBI Registration no.: IN-DP-100-2015 | Commodity Trading through Zerodha Commodities Pvt. Ltd. MCX: 46025 | NCDEX : 1138. SEBI Registration no.: INZ000038238 | Registered Address: Zerodha, #153/154, 4th Cross, Dollars Colony, Opp. Clarence Public School, J.P Nagar 4th Phase, Bangalore - 560078, Karnataka, India

DISCLAIMER: Capital markets, trading, and investments have inherent risks. Please make sure you understand the risks involved and carefully read the Risk Disclosure Document as prescribed by SEBI | ICF before participating in the markets — Read terms & conditions

Operated by Zerodha Technology Pvt. Ltd. © 2015-2025