Hello There,
I have a ready and running algorithms based on RSI if you are interested contact me on whatsapp :- +91 9033983935 and i will modify my strategy according to your requirement
here i attach a function fro calculating rsi. If you want to create your strategy using RSI than contact me i will provide testing with backtesting.
def rsi(df, n):
"function to calculate RSI"
delta = df["close"].diff().dropna()
u = de…
If you want to fetch future and option contract than you have to write "NFO" in instrument dump instead of NSE
instrument_dump = kite.instruments("NFO")
instrument_df = pd.DataFrame(instrument_dump)