As you suggested ,I tried with below code .
def on_ticks(ws, ticks):
# Callback to receive ticks.
but thread is not closing even after that ,but I can see its not trying to connect a…
@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…
See if you can use the below function which I had written for my use:
Close=[k['close'] for k in his]
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…
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) ?…
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 ?
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.
I''m able to modify bracket orders .
Below are all parameters Im passing .
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…
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
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.
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.
@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 ?
@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
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.