Navigation

    Quantiacs Community

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

    Q20 contest results

    News and Feature Releases
    5
    26
    1911
    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.
    • support
      support @TheFlyingDutchman last edited by

      @theflyingdutchman said in Q20 contest results:

      I tried, perhaps not very clearly, to indicate this problem in my post of Nov 10, 2022 about the zipline pipeline functionality. Better risk and diversification requirements may be needed for strategies in future competitions

      You are absolutely correct, we agree and are working on criteria which will allow better risk and diversification as you say.

      1 Reply Last reply Reply Quote 0
      • D
        dark.pidgeot @support last edited by

        @support said in Q20 contest results:

        Hand-picking of stocks allows to easily game the contest, for example by submitting 15 long only trading systems on single stocks chosen in a discretionary way. The purpose of these contests is to develop systems which are working on stocks and are free from survivo

        Hello,

        if there's a hint of manual stock selection,
        how do you rule on disqualification?
        thanks in advance

        support 1 Reply Last reply Reply Quote 0
        • support
          support @dark.pidgeot last edited by

          @dark-pidgeot

          If a user selects stocks dynamically, we expect to see some kind of output, namely a large data structure with several empty columns, as some stocks will never be traded, and others partially traded.

          We are already contacting the users and getting from them the details on the way stocks were selected.

          D 1 Reply Last reply Reply Quote 0
          • D
            dark.pidgeot @support last edited by

            @support said in Q20 contest results:

            W
            Hi,
            thank you for these answers. So the disqualification will depend on how the user selected the actions?

            support 1 Reply Last reply Reply Quote 0
            • support
              support @dark.pidgeot last edited by

              @dark-pidgeot The correct way to load stocks, free from survivorship bias, is:

              data = qndata.stocks.load_ndx_data(min_date="2005-06-01")

              Later you can select index members dynamically as:

              is_liquid = data.sel(field="is_liquid")
              weights = weights * is_liquid

              assuming that you computed your weights.

              Survivorship bias follows from loading a specific hand-picked set of stocks in the load function. Or selecting specific stocks later by indicating explicitely their name.

              D 2 Replies Last reply Reply Quote 0
              • D
                dark.pidgeot @support last edited by

                @support Am I disqualified if I do this?

                data = qndata.stocks.load_ndx_data(min_date="2005-06-01", assets=["NAS:AAPL", "NAS:AMZN", "NAS:MRNA", "NAS:MSFT"])

                I select a few stocks, it's not a dynamic selection

                T 1 Reply Last reply Reply Quote 0
                • D
                  dark.pidgeot @support last edited by

                  @support I don't really understand, if I have a strategy that works on 10 stocks for example, to be eligible for the price, I absolutely have to trade all the stocks?

                  support 1 Reply Last reply Reply Quote 0
                  • T
                    TheFlyingDutchman @dark.pidgeot last edited by

                    @dark-pidgeot I would think it would be fair if the criteria were that the strategy added value somewhere. In the period from January 2005 to now, additional value should have been created compared to a long-only investment in those four shares.

                    support D 2 Replies Last reply Reply Quote 1
                    • support
                      support @dark.pidgeot last edited by

                      @dark-pidgeot No, you can trade 10 stocks, you do not have to trade all of them. For example you can load all the stocks, then select dynamically the liquid ones, then sort them according to some criterion (example: trade at each point in time only the top 10 in terms of inverse volatility) and that is fine.

                      But if you choose by hand 10 stocks, then you incur into survivorship bias, as you are selecting 10 stocks which are alive (and most likely successful if you go long only) now, and are using future information (now) to make your selection (hand-picking these 10 stocks at the beginning of the simulation).

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

                        @theflyingdutchman That is also a good observation. In general, we would like a long-only system with low turnover to beat the Nasdaq index for example. But still, we see a lot of problems with hand-picking stocks and survivorship-bias affected systems.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dark.pidgeot @support last edited by

                          @support I always ask myself the question, when we look at the winners of other competitions, there are some who trade just 5 stocks. can we consider this to be hand-picking?

                          support 1 Reply Last reply Reply Quote 0
                          • D
                            dark.pidgeot @support last edited by

                            @support said in Q20 contest results:

                            That is also a good observation. In general, we would like a long-only system with low turnover to beat the Nasdaq index for example. But still, we see a lot of problems with hand-picking stocks and survivorship-bias affected systems.

                            if I understand correctly

                            if I initially select 10 stocks, and even if I have a good sharpe ratio, my strategy can make long and short positions. I could be disqualified

                            B support 2 Replies Last reply Reply Quote 0
                            • D
                              dark.pidgeot @TheFlyingDutchman last edited by

                              @theflyingdutchman it seemed to me that strategies should be able to open long and short positions

                              support 1 Reply Last reply Reply Quote 0
                              • B
                                buyers_are_back @dark.pidgeot last edited by buyers_are_back

                                @dark-pidgeot said in Q20 contest results:

                                @support said in Q20 contest results:

                                That is also a good observation. In general, we would like a long-only system with low turnover to beat the Nasdaq index for example. But still, we see a lot of problems with hand-picking stocks and survivorship-bias affected systems.

                                if I understand correctly

                                if I initially select 10 stocks, and even if I have a good sharpe ratio, my strategy can make long and short positions. I could be disqualified

                                That's my understanding too. If you initially select 10 stocks, that already implies survivorship-bias, and is in fact "forward looking" because in for instance year 2010 you could not foresee which 10 stocks would still exist in the index in 2024.

                                support 1 Reply Last reply Reply Quote 1
                                • support
                                  support @buyers_are_back last edited by

                                  @buyers_are_back Yes, that is the forward looking associated to survivorship bias. In order to avoid that, the dataset includes also stocks which were part of the index but have been delisted at some point. These stocks should be taken potentially in consideration by any algorithm, which does not happen by hand-picking stocks.

                                  One can reverse the logic and conclude the same for stocks which "should" have been shorted in the pasted because of observing an a posteriori delisting.

                                  1 Reply Last reply Reply Quote 0
                                  • support
                                    support @dark.pidgeot last edited by

                                    @dark-pidgeot that is fine

                                    1 Reply Last reply Reply Quote 0
                                    • support
                                      support @dark.pidgeot last edited by

                                      @dark-pidgeot yes, ybut ou can start from the full index, and selec dynamically 10 according to some criteria, and then take long and short positions.

                                      1 Reply Last reply Reply Quote 0
                                      • support
                                        support @dark.pidgeot last edited by

                                        @dark-pidgeot It is possible unfortunately, and we are trying to improve the way we detect these potential cases.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          dark.pidgeot @support last edited by

                                          @support Hi,
                                          I would like to know how the classification is done in context. you only look at the shape ratio over the out-o-sample period?

                                          support 1 Reply Last reply Reply Quote 0
                                          • support
                                            support @dark.pidgeot last edited by

                                            @dark-pidgeot sorry for the delay, yes (see answer in other thread)

                                            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