Skip to content

Commit

Permalink
Add introduction for workflow_by_code.py (microsoft#1186)
Browse files Browse the repository at this point in the history
* Update workflow_by_code.py

* Update workflow_by_code.py
  • Loading branch information
you-n-g committed Jul 8, 2022
1 parent 4c8e6f9 commit 51b490f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/workflow_by_code.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
"""
Qlib provides two kinds of interfaces.
(1) Users could define the Quant research workflow by a simple configuration.
(2) Qlib is designed in a modularized way and supports creating research workflow by code just like building blocks.
The interface of (1) is `qrun XXX.yaml`. The interface of (2) is script like this, which nearly does the same thing as `qrun XXX.yaml`
"""
import qlib
from qlib.constant import REG_CN
from qlib.utils import init_instance_by_config, flatten_dict
Expand Down

0 comments on commit 51b490f

Please sign in to comment.