Can Zerodha Streak backtest on the underlying and execute trades on Futures or Options?

Is it possible in Zerodha Streak to create a strategy where the backtesting logic is applied on the underlying instrument (e.g., NIFTY spot or equity), but the actual trades are executed on its Futures or Options contracts?

For example:

  • Indicators and conditions are calculated using NIFTY spot
  • When conditions are met, the strategy places orders on NIFTY Futures or selected Options

I want to understand whether Streak natively supports this kind of cross-instrument strategy, or if there is any recommended workaround.

Thanks in advance.

1 Like

Hi @tatvamsi

You can refer the below link for your requirements:

1 Like

Thanks a lot! This is what I was looking!

Dear @Streak
Somehow I do not find ‘INDICES_NIFTY 50’ in the the symbol function. I tried searching with many keywords, such as 50, IND, NIFTY, etc; but no luck. Could you please help me to find.

@tatvamsi

Please ensure that your cursor is placed within the Symbol function before searching for the index, as shown below.
image

For further queries, write to [email protected] and the team shall assist you.

Hope this helps.

1 Like

Thank you for quick help !