Multi spread back test

Forums ProRealTime English forum ProOrder support Multi spread back test

Viewing 4 posts - 1 through 4 (of 4 total)
  • #136883

    Hi,

    based on the different time of the day the buy / sell spreads can vary significantly. My objective is to improve the back test performance accuracy and I have two questions:

    1. is there a way to code different spreads applied at different time of the day and to consider them in the overall P&L strategy calculation?
    2. Is there a plan for future release to include multi-spread values in back test view (at the moment only one spread can be defined, it would be great if the spreads could be inserted in relation to different periods of the day)

    Thanks, Gaby

    #136897

    Please suggest 2 above direct to PRT using the Form below …

    https://www.prorealtime.com/en/contact?suggestion=1

     

    #136965

    Thanks GraHal, I have submitted the suggestion.

    I recall someone put some come in the forum related to this topic (multi-spread), but I am not able to find it anymore… Not sure if this option 1 is possible.

    #136967

    It was Paul I think? I’ll try and find it.

    Best you could achieve is to reduce profit / increase loss by spread values relative to Times in the code.

    Above would then give a better comparison of backtest to Real Live results.

    But then before starting on Real Live, the varying spread code would be commented out.

    As an (easier) compromise, I enter an average of best case / worst case spread in the backtest engine.

    For example, on the DJI I enter 4 for a 24 hour System. Maybe 4 is not enough as since Covid volatility as spread has not gone back to (pre Covid) market hours rate of, what was it, 1.6?? 🙂

    PS

    Ha … found it I think??

    https://www.prorealcode.com/topic/spread-indicator-for-strategy/

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login