Navigation

    Quantiacs Community

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

    training, predicting and backtesting Neural Network

    Support
    2
    4
    163
    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.
    • M
      magenta.kabuto last edited by

      Hello all, I have several questions. First of all my my code:

      Bildschirmfoto 2024-02-14 um 11.10.00.png

      Bildschirmfoto 2024-02-14 um 11.10.23.png

      I guess my questions arise from the lack of understanding of the backtester, however I will start.
      First of all, is it possible to have to not load the data again when predicting, as I am predicting residuals and therefore it seems redundant to load the data twice as its computationally expensive. My next question is regarding the functioning of the backtester in general, my understanding is that: lets assume these are my settings:
      Bildschirmfoto 2024-02-14 um 11.33.21.png

      the backtester trains the model on the train_period,however it is not clear which dates these are, the latest or furthest away in the past? one the model is trained the prediction part starts, where I do not understand the purpose of lookback as the model is already trained. Thank you very much

      support 1 Reply Last reply Reply Quote 0
      • M
        magenta.kabuto last edited by

        And a question I forgot. When submitting a strategy, are the weights generated by the backtester the submission weights? As it seems counterintuitive to have have a backtester in a backtester

        support 1 Reply Last reply Reply Quote 0
        • support
          support @magenta.kabuto last edited by

          @magenta-kabuto Hi,

          1. Yes, it is enough to load the data once at the beginning.

          2. The training window in your example is huge, 30 years.....it is a rolling window, and will be used for training your model on a rolling basis. Then the window is shifted forward in time by "retrain_interval", in your case 125 days, and the model is re-trained on the new window.

          1 Reply Last reply Reply Quote 0
          • support
            support @magenta.kabuto last edited by

            @magenta-kabuto The weights generated are simply the daily allocations to the various assets.

            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