Navigation

    Quantiacs Community

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

    Max exposure

    Support
    2
    2
    21
    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 @support,

      The JupyterLab run of new strategies for Q23 contest is giving the message below regarding max exposure:

      Check max exposure for index stocks (nasdaq100, s&p500)…
      ERROR! The max exposure is too high.
      Max exposure: [0.10520976 0.10536531 0.1051576 ... 0.09200489 0.09211786 0.09212628] Hard limit: 0.1
      Use qnt.output.cut_big_positions() or normalize_by_max_exposure() to fix.

      However, the strategy already cuts the abs(weight) if above 0.10.

      Besides, module 'qnt.output' has no attribute 'cut_big_positions'.

      Thanks!

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

        @sun-73 Hi,

        sorry for late answer, this has been fixed, please use the latest qnt library version. Thanks, that's correct, there is a typo in check() function, it will be changed in next update - cut_big_positions() is function from qnt.exposure module.

        Best regards

        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