The question is not about the availability of instruments. It is about the contract naming convention.
If the June contract name is BANKNIFTY24J1651000PE, will the July contract name also be BANKNIFTY24J1651000PE? Because the month is denoted by j…
You're right. debug arg is true in KiteConnect(). However, after I set stdout = sub.DEVNULL in the above code snippet, twisted logs disappeared.
I did not understand "event logging at the program level". How to set or unset this?
Check your cookies settings and look up the internet for optimal settings. Which browser?
Zerodha's support never satisfied me. Usually, they only give standard copy-paste answers, but never specific answers. Don't depend on them.
I have been successfully using both Kite Web, Kite Connect, and Kite Android app simultaneously. There are two methods:
In the first method, login into Kite Web first, and in the same web browser perform the Kite Connect login flow. These both wi…
Ok... now I am redirected to https://kite.zerodha.com/connect/login?v=3&api_key=xxx
{
status: "error",
message: "Invalid `api_key`.",
data: null,
error_type: "InputException"
}
Thanks.
My mistake. https://mysite.in is not actually my site. Think of it as example.com.
I assume your app is active (not expired)?
If you want I can DM the actual URL.
DB is not essential. I maintain candlesticks in an in-memory list of lists. See my comment above. The in-memory DB is pickled to a file before exiting.
Is this still a problem today? Because, I face no problems whatsoever while I'm logged in simultaneously in Kite Web, Kite Connect, and the Android Kite app.
When you do:
kws.connect(threaded=True)
a new thread is started, and the original thread returns to the caller. All registered callbacks are invoked in the WebSocket's context.
Although in Python, multi-threading is not truly multi, because of the…
@rakeshr @sujith
"Brokers shall also deploy suitable technological tools to ensure that appropriate checks are in place to prevent unauthorized altering/tweaking of algos." (6.3)
Can Zerodha comment on their ability? Is it really possible to track…
Well, I just read the proposal, and it is quite backward. The proposal does not differentiate between an individual developer/algo-trader managing her own risks vs. a third party (an entity) providing algorithm-based services. The entire purpose o…
@rakeshr , Thanks for deleting my private data.
I may have logged in about 20 times today, but that doesn't help.
@rakeshr , I have just IM'ed an order executed by the app. All APIs work, it is just that the WS connection fails every time, and …
@rakeshr I understand the logic of you haven't made any changes. It applies to me as well: I haven't made any change at all. This has been smooth for >2 years!
Why connection requested is being rejected now, after the upgrade? Give me a clue…
@rakeshr
Please let me know if you need more data. You may appreciate my urgency. I have also tried connect(threaded = True, disable_ssl_verification = True) without success.
Thank you...
@rakeshr
I just upgraded to 4.0.0, but this 403 problem still persists.
2021-11-29 13:06:13+0530 [-] OPT trades are disabled
2021-11-29 13:06:13+0530 [-]
2021-11-29 13:06:13+0530 [-]
2021-11-29 13:06:13+0530 [-] failing WebSocket opening hands…
@rakeshr
then order basket is just a UI wrapper around the list of orders.
Does RMS let basket orders (say, buy & sell orders) be placed on Kite Web pass if the fund margin is availabled? Meaning, for hedged positions margin reduces. So, if …
This won't be exact behavior as in the Kite Web with respect to F&O margin requirements.
In the Kite Web, the margin is precalculated and you can initiate orders with lesser margin, whereas for the same order built by KiteConnect, you may req…
@sujith
I read the article. It holds true for intraday charts. My query is on the monthly chart. Compare the two links I provided above. There's a huge difference!
@rakeshr
From this post:
3. In addition, we are revising the 3000 subscription limit over maximum 3 WebSocket connections to 4000 instruments over 3 WebSocket connections
I always wondered on how to create more than one websocket connection. Is t…
@rakeshr
Your suggested solution of storing these at my end is sub-optimal for reasons we all know: network bandwidth/disruption. These data won't be as reliable as the historical. Locally collected data will also be out of sync with bhavcopy.
So going forward, historical data for these indices can be expected? I also remember you have a data vendor. So, can these not be collected from them and make available?
I need is an approximate timeline on:
When the data is available, how far …
I never considered a need to store candles/ticks into a formal database (SQL). I do not consider a third-party DB to be an efficient approach in a real-time scenario.
Create an in-memory database using list or dictionary per token for incoming tic…
Thank you, @rakeshr
You can check under github package releases section here.
I meant to know how to check the current version installed in my system so that I can revert back to it as mentioned in the last statement. However, I found out that I …
This particular order is a LIMIT buy order, which was not executed. At the time of cancelling, it was still in OPEN PENDING state, because buy had not been executed yet. The SL LIMIT order was also - I think - in TRIGGER PENDING.
I had cancel_ord…
Does instruments() API return instrument list only for enabled segments of the user?
F&O is not enabled for me, and I don't see these in the returned list. How do I subscribe to F&O ticks since I don't know instrument_tokens of these?
I retrieve instruments only during weekends. I did not encounter any problems so far, although I currently trade only in equities. But for F&O, you might want to consider expiry date to determine if a new retrieval is required.
Hi @sujith ,
Please check https://kite.zerodha.com/chart/ext/tvc/INDICES/NIFTY ALPHA 50/265993
For 1D/1W/1M periods, there's only one candle; whereas, for lower periods candles are shown from past (6 months and more).
Similarly, historical_data()…
1. buy_quantity and sell_quantity are summation of 5-level market depth. It says at a given point, how many top 5 buyers and sellers exist.
2. Not entirely, only volume is cumulative.
3. buy_quantity and sell_quantity increase or decrease based o…
So can exchange field of holdings change multiple times between NSE and BSE during the day? Therefore, in order to determine the exchange at run-time , do I need to fetch holdings just before placing the sell order?
Okay!! So, is this not arbitration?
So, do I calculate my trading cost as per https://zerodha.com/charges#tab-equities ? There are no additional charges buying on one exchange and selling on another?
I could see Subscribe button in Internet Explorer, but not in Firefox and Chrome. Both Firefox and Chrome has AdBlocker plugins installed. Once I disabled, I could see the 'Subscribe' button. Thank you.
@sathik
Use round(value, 1) so that the price are rounded to the nearest one-tenth. 100.12 is incorrect price, where round(100.12, 1), which is 100.1, is correct.
Bracket orders are multi-legged. There will be more than one orders. Can you…