Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. buyers_are_back
    3. Topics
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 19
    • Best 1
    • Groups 0
    • Blog

    Topics created by buyers_are_back

    • B

      How to get stocks in SP500 index at a given time
      Support • • buyers_are_back

      2
      0
      Votes
      2
      Posts
      126
      Views

      S

      @buyers_are_back Hi,

      You can use is_liquid field from spx dataset to filter out weights allocated to not members of S&P500 at given point in time:

      from qnt.data import stocks_load_spx_data spx_data = stocks_load_spx_data(min_date="2006-01-01") is_liquid = spx_data.sel(field="is_liquid") final_weights = your_weights * is_liquid ### weights for given date (weights_spec) date = "2026-02-24" weights_spec = final_weights.sel(time=date)

      The number 842 represents total number of assets that have been members of S&P500 index at some point in time (from given dataset), and 658 shows number of assets that are still active on market (have OHLC prices), but only ~500 are index constituents in that point in time.

      To get the list of index members on certain date, just filter is_liquid field:

      ### liquidity field values for given date is_liquid_spec = is_liquid.sel(time=date) members_spec = is_liquid_spec.coords["asset"][is_liquid_spec == 1.0].asset.values
    • B

      Does evaluation only start from one year back?
      Support • • buyers_are_back

      7
      0
      Votes
      7
      Posts
      901
      Views

      support

      @commanderangle Dear commanderangle,

      If you use ML in your strategy but not select that option we can't guarantee for how your strategy will be evaluated and it could be filtered out.

      Regards

    • B

      Accessing both market and index data in strategy()
      Support • • buyers_are_back

      4
      0
      Votes
      4
      Posts
      628
      Views

      V

      @buyers_are_back Hello.
      Here is a new example of stock prediction using index data.
      I recommend using the single-pass version.
      https://quantiacs.com/documentation/en/data/indexes.html

    • B

      Can I reuse strategy
      Support • • buyers_are_back

      3
      0
      Votes
      3
      Posts
      849
      Views

      B

      @support

      Thank you, I noticed some changes on the rules so I have to reimplement the strategy anyway.

    • B

      Fundamental data incomplete?
      Support • • buyers_are_back

      11
      0
      Votes
      11
      Posts
      1761
      Views

      support

      @buyers_are_back Hi,
      the update was related to market_capitalization field availability and correctness, as vyacheslav_b described. Unfortunately, at the moment we cannot provide missing fundamental data, like number of ordinary shares, for some stocks (e.g. META). We are going to investigate potential new data sources in order to improve our datasets.
      Regards,

    • B

      How to get NASDAQ100 index weights?
      Strategy help • • buyers_are_back

      2
      0
      Votes
      2
      Posts
      1591
      Views

      support

      @buyers_are_back Hi, more info of course can be found here:

      https://indexes.nasdaqomx.com/docs/Nasdaq_Index_Weight_Calculations.pdf

      and here:

      https://indexes.nasdaq.com/docs/Methodology_NDX.pdf

      Pages 4 and 5 give more details on the weights and caps.

      For example, no security weight may exceed 14% of the index value.

    • B

      Is data up-to-date?
      Support • • buyers_are_back

      2
      0
      Votes
      2
      Posts
      227
      Views

      support

      @buyers_are_back Hi, yes, that is ok, data will be updated in the next days.

    • B

      Submission failed: what's wrong??
      Support • • buyers_are_back

      5
      0
      Votes
      5
      Posts
      584
      Views

      support

      @buyers_are_back We reprocessed the submission, it is formally correct and passes all the filters. Sorry for the issue, evidently on our side.

    • Documentation
    • About
    • Career
    • My account
    • Privacy policy
    • Terms and Conditions
    • Cookies policy
    Home
    Copyright © 2014 - 2021 Quantiacs LLC.
    Powered by NodeBB | Contributors