Backtest of Banknifty and Nifty historical data

Job ID: 32245478

Budget: ₹600 – ₹1,500 INR

Hello,

Looking for python code to backtest banknifty and nifty short straddle and strangle combination strategy, with following variable:

1) any number of combination of banknifty and nifty ATM and ATM +/- CE and PE strike price
2) Date for which back test to be done
2) Entry time
3) %Stop loss (1-min time frame) (per strike)
4) % target (1-min time frame)
5) Exit time

Result for the same should be saved in CSV file.

Format of CSV

1)Include Date
2)Bank Nifty spot price (Entry time and Exit time only)
3) Nifty Spot price (Entry time and Exit time only)
4) BN Sell 1 Lot ATM PE
5) BN Sell 1 Lot ATM CE


will continue as per opted option of strike price...
Related categories: Python Data Processing Excel Statistics