1] We don't allow Market orders for illiquid Index options. You can go through this article to know more.
-> I am trading for 200 points ITM for only NIFTY FUT .... well within the 5% limit.
Won't it be allowed as market Buy-Sell orders??
2] Al…
@rakeshr
Ohhhh, My wrong interpretation
Hmm.. I got it. A very obvious realistic possible scenario
Well that's so great to be advised!!
Thanks a lot!!!
@rakeshr , @sujith
PS. (Consider this as a part of suggestive enhancement / user's perspective)
1] Frankly speaking this "on_order_update(ws, data)" callback should return the last updated OMS data upon every connect; whether its the 1st connect o…
@rakeshr , @sujith
Thanks for your generous responses.
But regarding the rate limit criteria =>
"The rate limit is decided per API key/user level, not for specific API method calls. So, you shouldn't exceed the rate limit per second combining a…
@sujith
If upon reconnect of the websocket there is no update to be done on that order (say order is cancelled, complete etc);
does the on_order_update callback respond this last held update status?
Request your precious comments!!
@renjitharajan84
Hi,
Went through your posts in :: "kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None). " - regarding "Web sockets and subscription issues"
Seems it has worked for you.
Can you put more light …
@rakeshr
I went through your suggested all threads but frankly I am now confused!
1] I understood ===> the kws.connect() should be kws.connect(threaded=True) and outside any while loop
2] Did not understand ===> Can there be multiple same w…
@sujith
As given in the kite api documentation "Funds and margins" section; the margins(self, segment=None) api returns the funds, cash, and margin information for the user for equity and commodity segments.
But the example in that section only sh…
[All below is regarding options intraday buying only]
I would be tracking the order's status, average_price, filled & pending, cancelled qty by the "order_history" api.
Since I would be calculating the pnl (using charges list + stamp duty calcu…
@sujith
Q1] To check the order's current state what can be used?
a) Retrieving an order's history or
b) Retrieving an order's trades ?
(What is the difference between them?)
Q2] Say I have MIS BUY Options contract and now need to sell it. How wi…
Can you share a small sample of "List of Nested Dict" of instruments when below python api is used.
Eg. :: instru_data = kite.instruments(exchange=kite.EXCHANGE_NSE)
My understanding :: instru_data = [{}, {}, {}....]
Hi bsarvate,
Saw your post on 18Feb2020 about instruments list error when below api in python is used viz.
instruments_list = kite.instruments(exchange=kite.EXCHANGE_NSE)
As suggested by @Sujith its a list of dict.
Am developing a "Python code" for…
@sujith
Thanks but what happens in case of Python api with command as below;
Assume inst_lst is a list in python then;
inst_lst = kite.instruments(exchange=None)
1] A file named inst_lst.csv gets downloaded or else what??
Pls suggest.
@sujith
1] When using Python api [ kite.instruments(exchange=None) ] , does the command return "instruments' list file" in ".csv" format or an unknown file format with csv compatible data in it ?
2] Does the api returns data or a gzipped…
@sujith @Vivek
Note :: Am using python language for code development.
1] Does the heart beats (of 1 byte fixed length) received in "ticks" of websocket on_tick callback, have any fixed value? (So that corresponding handler can be written!!!)
2] If …
@prateek3211
I am developing code in python and need help!!!
1] By what method you are checking the size of "ticks" received on websockets ? (Especially imp when you have more than 1 full mode subscriptions & response tick is received only when…
@sujith One more very important thing::
1] While placing order itself;
[order_id = kite.place_order(tradingsymbol="INFY".........)]
Does every "order placement API" return an order id regardless of whether it is in Req. pending state or complete, …
@sujith ,
So is it this way ==> "def on_ticks(ws, ticks):" is Kite Connect client library API.
On callback the data is received in "ticks" and must be read from it.
"WHEN DATA IS READ FROM 'ticks' => WE DON'T HAVE TO CONVERT BUT IS ALREAD…
@rakeshr
Does this mean that;
1. The ticker response is a binary stream (e.g :: 00100111 01101001 011 )
2. Which is to be read as bytes and converted to string ==>> x.decode('utf8')
3. Then convert to "JSON" format
4. Result is the nested di…
1] Can anyone give the format with example for order updates on websockets via callback :: on_order_update ?
2] Is it in "json" format?
3] Does it return responses from order placement to its last fate viz.
PUT ORDER REQUEST RECEIVED
…
Just need to reconfirm with the margin req stuff before codifying.
Q1] Margin req. strictly for "MIS order type" for Nifty Options buying. Pls. see snapshot.
Is same calc. to be used for MIS but "WITHOUT STOPLOSS" whilst for BO & CO : SL is comp…
@xameeramir
I need to test my strategy with "Live data feeds from market WITHOUT actually placing orders (Mock testing!!)"
Q1] Will above redirect url give me "Live data feeds" in form of "Websocket streaming" for "Nifty Futures dec contract" in ma…
1] Just reconfirmation reqd. with other scenario.
a) Now No Buyers are in order book to buy that contract.
b] But 1 Short seller is ready to buy (covering) his position at the market price & I am also ready to sell at market price
c] Will this t…
1] Just reconfirmation with other scenario.
a) Now No Buyers are in order book to buy that contract.
b] But 1 Short seller is ready to buy (covering) his position at the market price & I am also ready to sell at market price
c] Will this t…
So my understanding has somewhat become like this;
1] If I BUY 1 contract, irrespective from whomsoever I get (Short seller created a new position or there was a seller who squared off his earlier bought position)
2] a) After that there are no buyer…
Although this article (indeed greatly self explanatory) ; raises one issue w.r.t Open Interest
1] Referring above ITM contract; assume that I BUY 1 contract for Rs360 @ 9:20 am approx.
2] Here my 1 contract was either a seller's short position or s…
@sujith & @autotrading
Ya. Your response certainly explains me more.
Did go through the link which cleared my doubts.
Utmost thanks for your guidance !!!
Thanks for generous answers.
Just need a little more about Open Interest. Does it indicate the number of contracts (Here Options contract) traded but not yet closed?
Say One 12100PE Options contract was Bought but wasn't Sold yet nor was expired - I…
Utmost thanks for all the generous answers. Especially with lengthy questions, but was necessary too!!
Special thanks for upfront OHLC insight which was my obvious question
All this will help me tweak my core strategy before-hand itself.
Great su…
First thanks for generous answers. But a little more is required!!!
4] The graph is actually an idea of "1min" charting timeline and Y-axis is pure assumption.
My intention was to have a 1min graph with a straight decaying line without any glitch a…
Yah! I certainly understood this n thanks for that.
My algorithm in Python is somewhat ready. (my tailored algo + Kite API's => Actual )
My Notebook is a bulky venture with all my data on it!!!
My intention was to know if anyone already using an…
@rakeshr
One last thing before closing : Any mini laptop suggestion?
(My thought is to carry it to office with dedicated wi-fi dongle!! Is this too ambitious??)
@rakeshr
Thks for valuable response. But need to know;
4] Say, if Pycharm used between 9:00 a.m till 3:30 p.m hunting all day :: advisable min. config reqd. ? Is it workable on mini laptop. Can you suggest any names?
6] Can I trade (Buy/Sell/Modif…
Hi @sujith
I understand your positions. In that case any names on fingertips?
Any idea about whether NSEpy providing free for "intraday - ticks / 1min"??
By far I see only day's OHLC. Pls direct me if possible that way.
Anyways thanks!!
Sagar@Act…
Hi
Thanks for valuable response. But it's far far too early to subscribe to APIs. I am building multiple strategies in "Python" and first need to back-test them before going for any real.
It would be a great deal of help if I get at least 1 mth/15/1…
In that case can you share "intraday tick / 1min Nifty Fut" data for Feb19 and March19 with 25Apr19 as contract expiry. Since it's current contract the "Instrument Token" is always available and since its previous months'; so would not breach regula…