Navigation

    Quantiacs Community

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

    Selecting liquid cryptos

    Support
    2
    2
    132
    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.
    • N
      Nikos84 last edited by

      In the rules for the current contest I read:

      "The strategy can trade only the top 10 cryptocurrencies in terms of market capitalization according to the provided filter function."

      Can you give me some help? How can I define the top10 cryptos in terms of marketcap? Should I use my own data? Please help!!

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

        @nikos84 Hi, no, you should not provide your own data for defining the top10 cryptocurrencies according to market capitalization. Each asset for this contest has a field called "is_liquid" which gets values 0 (not in the top 10 according to market capitalization) or 1 (in the top 10 according to market capitalization). You can read it using:

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

        When you define allocation weights later you can simply apply the filter as follows:

        weights  = weights * is_liquid 
        

        where "weights" are the allocation weights. The filter will set to zero weights for assets which do not belong to the top 10 according to market capitalization at a specific point in time.

        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