Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Issue with the In-sample Sharpe

    Support
    4
    9
    515
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sun-73 last edited by

      Hi there,

      I submitted a strategy named Sun73_Q15_Futures_2a #1356718 and I got the following message: “Not eligible send to contest. In-Sample Sharpe must be larger than 1”.

      However, when building such strategy in JupyterLab the in-sample Sharpe was above 1.

      Indeed, by checking at the graph below I noticed the reported in-sample sharpe is 0.92, but the sharpe ratio considering the same (in-sample) period is 1.96 (which is close to the one I obtained in JupyterLab).

      Is this issue related to the ongoing Futures data revision? How can I proceed, since new strategies will probably have the same issue?

      Many thanks!

      9782c9e1-0c03-477b-a37e-861d736d6bdd-image.png

      S support 2 Replies Last reply Reply Quote 0
      • S
        Sheikh @Sun-73 last edited by

        @support
        Happens for crypto too actually.
        And the Sharpe Ratio I get in the Quantiacs online Jupyter notebook is 2.4
        But the strategy is rejected when I submit it.
        Pls see screenshots below.
        srstats.PNG
        spstats.PNG

        support 1 Reply Last reply Reply Quote 0
        • support
          support @Sun-73 last edited by

          @sun-73 thanks for the detailed report, we are checking

          1 Reply Last reply Reply Quote 0
          • support
            support @Sheikh last edited by

            @sheikh thanks, but what is the second plot referring to? If the strategy is rejected, there should be no plot. Is it another strategy?

            In this case, we see 0.93 in the global statistics, and 1.18 in the "sliced" statistics. Are you selecting with the slice the exact IS period? The difference is tiny, as bitcoin is very volatile and a few days can induce a huge difference in mean returns.

            S 1 Reply Last reply Reply Quote 0
            • S
              Sheikh @support last edited by Sheikh

              @support
              Sorry if I was not clear.
              So when I run the strategy in the online Jupyter, I get SR = 2.4
              I then submit the strategy to the crypto competition.
              It is accepted to be sent for submission. 'Strategy sent successfully'
              But after the 'filter' checks have finished running (btw this took more than a day to complete), it is then 'Not eligible to send to contest because the IS Sharpe must be larger than 1'.
              See screenshot below for that from my account.
              When I click on the chart thumbnail under 'Preview', the chart plot I get is the one I sent you previously above that you are asking about.
              Hope that's clearer 🙂 🕵
              It is possible that this might be related to an imported function that I am using which I pip installed in the Jupyter init module but the live system might not be catching. (I emailed the code to you).
              comp.PNG

              S 1 Reply Last reply Reply Quote 0
              • S
                Sheikh @Sheikh last edited by Sheikh

                @support
                Ok, I submitted it again and it got through to the crypto competition. Looks like it was able to catch the imported library this time.
                I still don't understand why there are two different SR calculations (1.72 and 2.41) at the time of submission though? That's quite puzzling. Is it really catching the imported function?
                Anyway, I'm just glad it got into the competition.
                Thanks.

                stat2.PNG

                support 1 Reply Last reply Reply Quote 0
                • support
                  support @Sheikh last edited by

                  @sheikh thanks a lot for the details, let us check the issue. The results have to be the same within a reasonable tolerance, we need to see what is happening.

                  1 Reply Last reply Reply Quote 0
                  • support
                    support last edited by

                    @Sheikh @Sun-73

                    Hello.

                    Both of these issues have been resolved. Briefly, the cause was in the trading days number.

                    Regards.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sun-73 @support last edited by

                      @support Thank you once again. You guys are the best!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB | Contributors
                      • Documentation
                      • About
                      • Career
                      • My account
                      • Privacy policy
                      • Terms and Conditions
                      • Cookies policy
                      Home
                      Copyright © 2014 - 2021 Quantiacs LLC.
                      Powered by NodeBB | Contributors