I used the positions API to get the net positons. Currently I had 2 trades which were closed with net loss of 1230. In net positions it showed me
Why is it showing these numbers in unrealised instead of realised as the trades are closed and profit/…
Hi @nagavenij ,
How can I get the average price from ticker? Is it the average price for the duration of the candle.
I dont need average price for the day, but only for the selected interval/candle e.g. 1 minute, 3 minute, 5 minute etc.
Regards
Vivek
Hi @nagavenij ,
That thread talks about the VWAP.
VWAP is different. I am looking for average price of candle. In case candle is 1 minute, I want to know the average price for that candle, which I expect will be between the high and low values of t…
VWAP is different. I am looking for average price of candle. In case candle is 1 minute, I want to know the average price for that candle, which I expect will be between the high and low values of that candle.
Similarly in case of 5minute candle, ne…
Hi @sujith , there was no Exception raised. I have captured the exception.
Hi @Nivas , please suggest how can I capture the raw error response from the order placement API. Below is the code for placing order which is getting rejected:
kite.pla…
I also get this exception very frequently though I am not making several API calls. I even get this exception on single call for kite.ltp for last price of single token.
This is making our code execution unreliable. After execution of trade, difficu…
@vaibhavsharma13 , in function for greeks calculation, you are already dividing days by 365. Below code line is there in the function:
S0,X,σ,r,q,t = float(S0),float(X),float(σ/100),float(r/100),float(q/100),float(t/td)
Here, td is 365, the defau…
Hi @vaibhavsharma13
I tried calculating the IV for the option NIFTY2581424400CE today.
The input is option_value = 170, S=24432, K = 24400, T = 7, type = 'call', r=7
The result is 5.99999499338889
On groww website, it was showing iv value of 10.65 …
Hi @vaibhavsharma13
These greeks values seems theoretical as it takes input of Strike price, spot price, IV, rate and dividend yield.
Based on these values, we calculate theoretical options values too, but they are different then the market values …
I am calculating greeks values but this seems theoretical value as it takes input of Strike price, spot price, IV, rate and dividend yield.
Based on these values, we calculate theoretical options values too, but they are different then the market va…
Thanks @nagavenij , @vaibhavsharma13 . Actually that needed manually changing the configuration file daily to make the application work, that's why.
Or is there a way, if we have manually connected to kite web, the robot can check and get it authent…
Please note, I am taking the datetime data from the value I received from date column of historical data of nifty index for a particular date range. For a particular row/date of values of nifty, I need the price data of some option, for which I iden…
Hi,
I need the price of an option at specific time. In real time, I use kite.ltp for last traded price. For backtest I need historical data and using as below with instrument_token.
my trade date for which I need data is '2025-06-20 11:45:00'
calcul…
Thanks for the response. So that means for backtesting, I need to download the historical data and code to do the backtesting my strategy.
Will it be similar way I need to code if I need to run my strategy in demo mode on live data (without real tr…