qlib/examples/rolling_process_data/README.md

717 B

Rolling Process Data

This workflow is an example for Rolling Process Data.

Background

When rolling train the models, data also needs to be generated in the different rolling windows. When the rolling window moves, the training data will change, and the processor's learnable state (such as standard deviation, mean, etc.) will also change.

In order to avoid regenerating data, this example uses the DataHandler-based DataLoader to load the raw features that are not related to the rolling window, and then used Processors to generate processed-features related to the rolling window.

Run the Code

Run the example by running the following command:

    python workflow.py rolling_process