Sanity check on sharpe ratio calculation please

Discussion in 'Strategy Building' started by nooby_mcnoob, Nov 15, 2018.

  1. 1) Intraday - go home flat, no overnight
    2) Last trade
    3) No overnight
     
    #31     Nov 16, 2018
  2. tradrjoe

    tradrjoe

    #2 could potentially be bad. Entering at last trade price is not realistic. Does your backtest still look good if you lag the signal by one candlestick?
     
    #32     Nov 16, 2018
  3. I have the impression that @nooby_mcnoob is not interested in having his backtest being critiqued. But only whether his Sharpe ratio is correctly calculated.
     
    #33     Nov 16, 2018
  4. I welcome critiques, actually. Just starting to get back into the system development since I was distracted by a somewhat large income opportunity which has now concluded. I'm sure I'll start posting to my journal again soon.

    I just haven't responded to tradrjoe because in order for me to lag by one candlestick, I'd have to do a lot of modifications to my backtesting code and right now, I'm still testing the idea and not stress testing my backtest.
     
    #34     Nov 17, 2018
  5. rvince99

    rvince99

    Any measure that uses variance has the problem of time frame. A Sharpe ratio using months will be less than one using years. It's a ratio that, the longer the time period used as input, the better it looks.

    How many 3 sd days are there as a percentage of all days? How about weeks, months, years?

    When was the last 3sd day in equities? When was the last year?
     
    #35     Nov 17, 2018
  6. All good points. I'm sure you can game each metric individually, but you probably can't game a combination of them.
     
    #36     Nov 17, 2018
  7. tradrjoe

    tradrjoe

    If you are trading intraday and are using last trade price to enter into positions in your backtest, any mean reversion signal would look very nice on paper purely from the bid/ask bounce. But those are fictional returns because you wouldn't be able to enter into those prices in real trading.
     
    #37     Nov 17, 2018
  8. My entries and exits are generally hours apart, and note that I am only making 1-2 trades per day. Would that still be relevant?
     
    #38     Nov 17, 2018
  9. sle

    sle

    There have been at least 10 3-SD days last month alone :p
     
    Last edited: Nov 17, 2018
    #39     Nov 17, 2018
  10. tradrjoe

    tradrjoe

    If your strategy is mean reverting, then it would bias you to often enter a buy at the bid and a sell at the ask within a backtest using last prices. In real life, this would not be realistic obviously. So it could potentially be the bulk of the outperformance shown in the backtest.
     
    #40     Nov 17, 2018