microsoft / microsoft/qlib

请问回测中默认的label是哪天的?

Open
#1,797 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
48.7k
Forks
7.7k
PR merge metrics
No merged PRs in 30d

Description

如果使用自己的pred score,直接用qlib的backtest以天为频率进行回测,请问默认的label是下一天的还是后天的?如果是中国市场我想使用下一天的return作为lable,这个参数应该在哪里设置呢?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified in the issue. Start by locating Qlib's daily backtest and label configuration documentation, then verify which label horizon is used by default and where a next-day return can be selected. Done means the behavior and configuration are documented clearly for a custom prediction score.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
fintech-quant, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.