Navigation

    Quantiacs Community

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

    Q22 contest

    News and Feature Releases
    5
    11
    857
    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.
    • J
      jeppe_and @Sun-73 last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • support
        support @Sun-73 last edited by

        @sun-73 Hi, sorry for the gap, we are finalizing the new contest and will be ready in a couple of weeks.

        S 1 Reply Last reply Reply Quote 0
        • C
          captain.nidoran last edited by

          Any new about Q22? 😕

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

            Hi @support, regarding the upcoming Q22 contest on S&P500 (long-short), a couple of questions:

            • How can one upload stocks data for S&P500? For NASDAQ-100, we use qndata.stocks_load_ndx_data(tail=period)

            • Is there a maximum limit of stocks to be traded on a given day (or, in principle, one can use all available liquid stocks for that day)?

            • Is there a limit for the weights? In Q21 contest, the limit was a maximum of 10% of capital to be invested in a given stock in a given day.

            Thank you!

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

              @sun-73 Hi, there is no limit to the maximum limit to the number of stocks. The cap of 10% stays the same. Call documented in:

              https://quantiacs.com/documentation/en/data/stocks.html#stocks-s-p500

              C S 2 Replies Last reply Reply Quote 0
              • C
                Carogate @support last edited by

                @support Hi,
                is it possible to get open, high, low, and close for indexes, SPX for example?

                import qnt.data as qndata

                index_data = qndata.index.load_data(min_date='2005-01-01')

                def strategy(data):
                close_stocks = data["stocks"].sel(field="close")
                open_stocks = data["stocks"].sel(field="open")
                high_stocks = data["stocks"].sel(field="high")
                low_stocks = data["stocks"].sel(field="low")

                Many thanks

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

                  Hi @support, thank you once again!

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

                    @carogate Hi, please take a look at this example:

                    https://github.com/quantiacs/strategy-predict-NASDAQ100-use-SPX/blob/master/strategy.ipynb

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

                      @support said in Q22 contest:

                      take a look at this exam
                      Hi,

                      I tried this code
                      9661c893-c1a6-4526-a964-4756ef6a3439-image.png

                      only "close" is available. is it possible to have "open", "low" and "high"

                      Thanks

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

                        @carogate Hi, at the moment unfortunately not, sorry...

                        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