Yes @anuragroy11 Had I anticipated kite would give me duplicate records, I'd have kept checks in place (which I did now), but it was a surprise. I just wanted to know what happened now that never happened before.
Thank you @rakeshr for the quick response. As a sub query, can I connect a websocket only for receiving order updates, ie without subscribing with any instruments for receiving ticks?
Ok.
So as a work around, if I assign a unique value to the Tag of an order, can it be retrieved every time i fetch order details? Or is there a catch here as well?
Hi @rakeshr ,
Never mind. They say, it bites where it hurts the most .
When I said, "I know the exchange name parameter is passed in alright.", I was dead wrong. I found during debugging that I forgot to change the default param value in the inte…
Hi @rakeshr,
The following is the snippet that calls for list of instruments:
public async Task GetInstrumentsAsync(string exchangeName = KiteConstants.EXCHANGE_NFO)
{
if (!InitializeBroker())
{
…
Yes. I'm aware of this @sujith .
To be more specific, my requirement is to
1) stamp every instrument with the last trade time, to ensure it is being traded today, and
2)to update the circuit limits for the day,
at the beginning of…
Hi @sujith
Just watch today's opening 5m candle for DMart for Zerodha and TradingView. One is bullish while the other one is bearish. Wondering how divergent can the data be!
Hi @trade_then
I'm glad to inform that the ticks are processed just fine. It was the android environment that is killing the websocket connection. I have subscribed to 660 instruments today and concluded this in two ways:
by switching the UI to …
Hi @trade_then
So basically the issue is about tracking too many ticks for the processing power available? I thought my smartphone is more powerful than my laptop.
Ok, will check it out and revert.
Thanks for your kind support. Thumbs up!
Hi @trade_then,
Thanks for your patient reply.
So what happened when you tried this code?
I'm able to receive the ticks, but after a few minutes, the UI freezes, with or without async execution. That's why I'm trying to optimize the code and examin…
@trade_then, thanks for the comments.
Yeah, exactly my thoughts too...
Asynchronous tasking becomes all the more important when we try to build candles from the ticks and run strategies on them, all at the same time, and periodically too.
I'm sti…
Mmm... upon close scrutiny, I have to admit I was wrong. The api returns response with all the quotes in one binary message. However, the KiteConnect client api provides interface for dealing with one Tick per instrument at a time.
I wonder it woul…
@sujith
This is for personal use only.
So, if I get market quotes at, say, 8:00 am in the morning, can I assume I get the market quotes (OHLCV data as per bhavcopy) of previous trading day?
@tonystark
Thanks for the quick response.
1) Why even a localhost url? Can't I just use something like "https://xyz.abc.com/" (fictitious) and catch the redirect? Apologize if I sound too naive.
2) Got it.