@sujith
As you suggested ,I tried with below code .
def on_ticks(ws, ticks):
# Callback to receive ticks.
print(ticks)
ws.stop_retry()
ws.close()
but thread is not closing even after that ,but I can see its not trying to connect a…
@sujith I can login into any platform right ,It shouldn't revoke .And I can create multiple request access tokens and use on different scripts ,please confirm?
Regards,
@AnkitDoshi Basically if you have more data points like open,close,low ,high and other details like volume etc ,in that case we can take whatever data points required and you can store only those in lists and later we can create a dataframe with t…
Hi Ram,
See if you can use the below function which I had written for my use:
def capture_fn(his,inst):
his=kite_Accnt1.historical(int(nse_inst['Instrument_Type'][Inst]),day1,day2,'minute')
Close=[k['close'] for k in his]
…
@pivottrading.net Yes bro I was using google finance api to get minute data .But you cant use this api frequently because google will block your network IP.
Regards,
Naveen
@sameer
Im trying understand your problem because I'm in same boat too.
How many Ticks you are getting in a minute per Symbol and for how many symbols you subscribed?
And you mentioned above "our charting platform would be able to recognize onl…
@AnkitDoshi
Thanks for looking into my queries.
Below are the symbols Im streaming ,Please let me know if you are also getting same number of ticks.
['GAIL', 'BHEL', 'AMBUJACEM', 'SBIN', 'ICICIBANK', 'HINDALCO', 'TATAMOTORS', 'BHARTIARTL', 'BANKB…
@AnkitDoshi Thanks for the detailed explanation mate .
It solved few of my doubts and there is one more thing I need to confirm.
As you said will get a new tick on LTP whenever there is a change in the price ,how frequent it is (approximately) ?…
Hi All,
Could you please comment on below ?
How many ticks you are getting from websocket for each symbol in a minute?
The number of ticks we receive will vary with number of symbols we subscribed ?
Regards,
Naveen
@dheeraj_sachan I had similar problem before and after discussing with Kite team they suggested to include few other parameters to place BO.
Regards,
Naveen
Hi @Kailash
I faced this problem multiple times in a day ,last week(Even in last trading session) .whenever Im trying to retrieve all orders using Kite.orders(). I'm facing this problems.
Regards,
Naveen
Hi @dheeraj_sachan
I''m able to modify bracket orders .
Below are all parameters Im passing .
(order_id=id,parent_order_id=Parent_id,tradingsymbol=symbl,exchange="NSE",transaction_type="BUY/SELL",quantity=quantity,order_type="LIMIT",product="BO…
Hi Sameer,
Thanks for the suggestion,
Im not using 20 symbols at a time to read ,Im using 3 symbols at a time but to work with 50 symbols, Im taking overall around 30 seconds.But the main problem here is when Im reading data for 50 symbols exac…
@Kailash
Thanks for the help Sujith,but this doesn't solve our problem.
To read 50 symbols data it is taking at-least 30 to 40 sec due to this I have almost one minute delay in my logic to execute.As you mentioned if you send the empty candles ,…
@Kailash @vivek @sujith
Hi Team,
This is the common and serious problem somany people are facing .After placing orders we are not able to modify orders as per our strategy ,due to which the strategy which is working on the end of the day data,…
Thanks for your response @vivek ,
Can you help me in understanding below.
# Infinite loop on the main thread. Nothing after this will run.
# You have to use the pre-defined callbacks to manage subscriptions.
kws.connect()
Im able to see th…
@vivek thanks for your response,
The reason for not connecting is _root = "wss://websocket.kite.trade/" value in web-socket class , after updating it to _root = "ws://websocket.kite.trade/" it is working fine.
Now I'm getting the the streaming …
@vivek Can you confirm please ?,because I'm planning to buy historical API add-in to download historical data.
Already I have purchased it once and couldn't able download the data before October 2015.
Thanks,
naveen
@vivek Earlier we were getting historical data only till October 10.Are we getting full historical data now till 2011?
I'm looking for 1 minute data from 2011 to 2016, is it available to get the data in that range ?
Thanks,
Naveen
@Kailash I was able to read data with multiprocessing from few cores.For example if I have server having 15 cores,I was able to get results from 12 to 13 cores successfully remaining 2 or 3 cores failing.And also when
I'm running in simple for …
Hi @Kailash ,
Please find the below code which Im using .I'm trying to execute get_rates methode parallelly to capture stock prices.
from kiteconnect import KiteConnect
from datetime import date, timedelta as td
import multiprocessing as mp
import…
Hi Kailash,
Im unable to get historical data. I tried pulling data for TATAPOWER.
Can you help me out from this?
Note:I was able to pull the data on friday.I can get information like margins and has problem only in pulling historical data.
The be…