Example of Using Price Action Backtester with JSON Formate TradeList

Open the Price Action Backtester -. Price Action Backtester - Unofficed

Now paste this -

[{"strategy": "GoldenRatio", "symbol": "NIFTY23SEPFUT", "exchange": "NFO", "quantity": 50, "entry_time": 0, "strategy_type": "sell", "entry_price": 19841.15, "target": 19444.3, "stoploss": 19940.35, "strategy_start": "21-09-2023 09:25:00", "strategy_end": "21-09-2023 15:10:00", "results": {"golden_number": 130.85}},
{"strategy": "GoldenRatio", "symbol": "NIFTY23SEPFUT", "exchange": "NFO", "quantity": 50, "entry_time": 0, "strategy_type": "buy", "entry_price": 20102.85, "target": 20504.9, "stoploss": 20002.3, "strategy_start": "21-09-2023 09:25:00", "strategy_end": "21-09-2023 15:10:00", "results": {"golden_number": 130.85}},
{"strategy": "GoldenRatio", "symbol": "BANKNIFTY23SEPFUT", "exchange": "NFO", "quantity": 15, "entry_time": 0, "strategy_type": "sell", "entry_price": 45168.65, "target": 44265.25, "stoploss": 45394.45, "strategy_start": "21-09-2023 09:25:00", "strategy_end": "21-09-2023 15:10:00", "results": {"golden_number": 388.75}},
{"strategy": "GoldenRatio", "symbol": "BANKNIFTY23SEPFUT", "exchange": "NFO", "quantity": 15, "entry_time": 0, "strategy_type": "buy", "entry_price": 45946.15, "target": 46865.05, "stoploss": 45716.4, "strategy_start": "21-09-2023 09:25:00", "strategy_end": "21-09-2023 15:10:00", "results": {"golden_number": 388.75}}]

The moment You do it, You will see a button popped up.

It is called “Update Strategy List”. Click on that.

Now you see this new button named “Backtest it”.

It will backtest each of the trades separately and will show you their data. Also, it will show a table at the end with those details in table format.

Now this will work for today only. Because the contract is expired today and it will disappear from Kite Historical Data tomorrow (Kite does not give historical intraday data for derivatives, it just gives O H L C).

Here is another strategy named Medusa which you can try →

[
    {
        "strategy": "Medusa",
        "symbol": "NIFTY23O0519600PE",
        "exchange": "NFO",
        "quantity": 50.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "sell",
        "entry_price": 0,
        "target": 0,
        "stoploss": 116.85,
        "strategy_start": "29-09-2023 09:20:00",
        "strategy_end": "29-09-2023 14:50:00",
        "results": {}
    },
    {
        "strategy": "Medusa",
        "symbol": "NIFTY23O0519600CE",
        "exchange": "NFO",
        "quantity": 50.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "sell",
        "entry_price": 0,
        "target": 0,
        "stoploss": 134.25,
        "strategy_start": "29-09-2023 09:20:00",
        "strategy_end": "29-09-2023 14:50:00",
        "results": {}
    },
    {
        "strategy": "Medusa",
        "symbol": "BANKNIFTY23O0444500CE",
        "exchange": "NFO",
        "quantity": 30.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "sell",
        "entry_price": 0,
        "target": 0,
        "stoploss": 325.95,
        "strategy_start": "29-09-2023 09:20:00",
        "strategy_end": "29-09-2023 14:50:00",
        "results": {}
    },
    {
        "strategy": "Medusa",
        "symbol": "BANKNIFTY23O0444300PE",
        "exchange": "NFO",
        "quantity": 30.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "sell",
        "entry_price": 0,
        "target": 0,
        "stoploss": 224.95,
        "strategy_start": "29-09-2023 09:20:00",
        "strategy_end": "29-09-2023 14:50:00",
        "results": {}
    },
    {
        "strategy": "Medusa",
        "symbol": "BANKNIFTY23O0444500CE",
        "exchange": "NFO",
        "quantity": 15.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "buy",
        "entry_price": 0,
        "target": 0,
        "stoploss": 304.4,
        "strategy_start": "29-09-2023 09:30:00",
        "strategy_end": "29-09-2023 14:40:00",
        "results": {}
    },
    {
        "strategy": "Medusa",
        "symbol": "BANKNIFTY23O0444300PE",
        "exchange": "NFO",
        "quantity": 15.0,
        "entry_time": "29-09-2023 09:20:00",
        "strategy_type": "buy",
        "entry_price": 0,
        "target": 0,
        "stoploss": 227.65,
        "strategy_start": "29-09-2023 09:30:00",
        "strategy_end": "29-09-2023 14:40:00",
        "results": {}
    }
]

Paste it inside Price Action Backtester

You will get this