Yes, you would need a complete margin amount before the margin benefits kicks in. This thread explains more.
@rakeshr how much time it takes to pass on the margin benefit?
I want to short a same strike PE & CE and lets assume margins required …
If you check the output log attached in previous reply, you can see that for entry2 , available fund is 210134
initial margin requirement per lot for the entry 2 basket is : 70667 + 1000(safety margin from my side)=71667
if you see two lots of ba…
Output of the previously used functions. Please not that i have added 3 second delay once PE/CE hedge buy is complete. other than that code remains same.
today(11th mar 2022), i tested what you said, i gave 3 second delay after PE hedges's order ID status became COMPLETE and then placed CE/PE sell order. still one of the leg got rejected.
test entry1 from snapshot: today i tried placing CE/PE with …
@rakeshr could you please elaborate your statement: you would need a complete margin amount before the margin benefits kicks in
Example , i have a basket1 in order (1. PE_hedge 2. CE_hedge, 3. PE sell, 4. CE sell)
i have another …
As per the coded logic, I bought PE hedge at :02 and when tracked the status of PE hedge order ID, it said order is COMPLETE. Then only i go ahead and placed the PE sell order. Two cases might have happened ;
1. PE hedge order ID status is COMPLETE …
I am attaching a snapshot(copying the text changes the indentation) of the function used to execute the entry2.
I used the margin API for calculating margin per lot for PE,CE,PE hedge & CE hedge. What ever is the initial and final margin req…
Thanks for the help. I will try and let you know if issue persists.
Another issue I am facing is while loading the instrument list. I am getting the following error.
Unknown Content-Type (text/html) with response: (b'\r\n502 Bad Gateway\r\n\r\n50…
@sujith Thanks for your prompt reply. I have gone through the websocket related FAQs multiple times and the issue, which i have been facing, has not been discussed as of now.
Today(25th June), I had subscribed BANKNIFTY2170135100CE and at 11:07:2…
@sujith ,
out of these 60 subscribed option contracts, 10 will be ATM or near otm and their LTP is most likely to change every second. I am consistently getting at the max 5 ticks every second.
@sujith
I have written a code where i have subscribed 20 above & below banknifty weekly contracts w.r.t. Bank nifty index . I am not doing any calculation in the main thread.
I have subscribed total 20(this week)+20(next week)+20(next to nex…
How to handle symbol subscription for these three websockets independently? For Example, I want two specific banknifty option contracts to be streamed on one websocket but other can have 100+ option contract data streaming. How can I achieve the sa…
@rakeshr Lets say i have created three KiteTicker/websocket connection using the API kye & generated Access token for the day. What happens to these 3 websocket connections if i create one more by mistake?
@rakeshr Thank you for the quick response. Can you please look at function coded in on_tick thread? Even today(22nd June), I didn't get BANKNIFTY21JUN35100PE tick data for 4 minutes at 9:30.
This has been happening consistently. I am trading sh…
There was no websocket dis-connection and it was running on google cloud. I am not performing any computation inside on_tick thread. I am storing the tick data in Deque buffers first. Any processing i am doing on these buffers.
kws =KiteTic…