Skip to content

Conversation

@you-n-g
Copy link
Collaborator

@you-n-g you-n-g commented Sep 16, 2020

typo

Copy link
Collaborator Author

@you-n-g you-n-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this part optional and put it at last.
image

Make it possible that user could leave the model.score not implemented.
Maybe a try catch NotImplement can solve the problem
image

====================

Users can get stock data by Qlib, the following are some examples.
Users can get stock data by ``Qlib``. Following examples will demonstrate the basic user interface.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will only provide csi300 and all stock pool in our demo. Please change this tutorial

feature_label_config: /data/qlib/feature_config/feature_config.yaml
The class `SomeDataHandler` should be in the module `custom_data_handler`, and Qlib could parse the `module_path` to load the class.
The class `SomeDataHandler` should be in the module `custom_data_handler`, and ``Qlib`` could parse the `module_path` to load the class.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test feature_label_config ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deletefeature_label_config



User can specify `trainer` through the configuration file:
Users can specify `trainer` through the configuration file:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yaml will not accept such style of comments

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trt?
image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

To Know more about ``Data Handler``, please refer to `Data Framework&Usage <data.html>`_.

About training
Trainer Field
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trainer section maybe better for such title

---------------
Users can use APIs in ``qlib.data`` to retrieve data, please refer to `Data Retrieval <../start/getdata.html>`_.

Filter
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put the Filter behind feature.
Feature is Much more important

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Cache
==========

Local Cache
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spli the memory cache and disk cache into two sub-sections in Cache section

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to split the Cache? what's the disk cache?

backtest:
normal_backtest_args:
verbose: False
limit_threshold: 0.095
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhupr
Please add limit_threshold=0.0095 as the default option in China Stock market setting

To know more about backtesting with specific strategy, please refer to `Strategy <strategy.html>`_.

Score File
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename all the content like Score XXX which indicates the predction of model to Prediction.
Such consistant name will help user understand the doc

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

sub_cost mean 0.000718
std 0.004694
annual 0.181003
ir 2.428964
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bxdd Only the docs are changed. The code is not changed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhupr It seems to have been fixed by Pengrong

mdd -0.072977
- `sub_bench`
Income without deduction of fees
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Income -> returns of the portfolio

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Interday Model: Model Training & Prediction <component/model.rst>
Interday Strategy: Portfolio Management <component/strategy.rst>
Intraday Trading: Model&Strategy Testing <component/backtest.rst>
Aanalysis: Evaluation & Results Analysis <component/report.rst>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content in report.rst is too simple.
There are no docs about the graph output by the functions
It's better to put all the graphs in the docs and exaplain then one by one
@bxdd @zhupr

@you-n-g you-n-g reopened this Sep 22, 2020
@you-n-g you-n-g merged commit de9e13b into main Sep 24, 2020
@you-n-g you-n-g deleted the release-0.5.0 branch September 25, 2020 14:46
you-n-g pushed a commit that referenced this pull request May 17, 2021
qlib auto init basedon project & black format
wangwenxi-handsome added a commit that referenced this pull request Aug 26, 2021
Mingzhe-Han added a commit that referenced this pull request Oct 3, 2021
ZhongHaoAustin pushed a commit to ZhongHaoAustin/qlib that referenced this pull request Apr 25, 2024
Fix test_start setting in `Benchmark.basic_task()`
AllenHuang03 pushed a commit to AllenHuang03/qlib that referenced this pull request Aug 13, 2025
CRITICAL FIX microsoft#1: Portfolio Chinese Stocks → ASX Stocks
❌ BEFORE: Chinese stocks (000001.SZ, 600036.SH, Kweichow Moutai)
✅ AFTER: ASX stocks (CBA.AX, BHP.AX, CSL.AX, WBC.AX, RIO.AX)
✅ Portfolio: 8 major ASX holdings worth A72K total
✅ Sectors: Financials 45.9%, Materials 25.8%, Healthcare 8.3%

CRITICAL FIX microsoft#2: Email Authentication Features
✅ /api/auth/send-verification - 6-digit email codes
✅ /api/auth/verify-email - Email verification process
✅ /api/auth/forgot-password - Password reset links
✅ /api/auth/reset-password - Secure password updates
✅ Development mode with fallback codes
✅ Production-ready with SMTP integration

SECURITY IMPROVEMENTS:
- Secure token generation (secrets.token_urlsafe)
- Rate limiting (max 3 verification attempts)
- Expiration times (10min verification, 1hr reset)
- No email enumeration (security best practice)

Portfolio now shows Australian companies only.
Authentication now production-ready for launch.

🎉 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
gaogen123 pushed a commit to gaogen123/qlib that referenced this pull request Sep 13, 2025
* init commit

* change the version number

* rich the docs&fix cache docs

* update index readme

* Modify cache class name

* Modify sharpe to information_ratio

* Modify Group- to Group

* add the description of graphical results & fix the backtest docs

* fix docs in details

* update docs

* Update introduction.rst

* Update README.md

* Update introduction.rst

* Update introduction.rst

* Update introduction.rst

* Update installation.rst

* Update installation.rst

* Update initialization.rst

* Update getdata.rst

* Update integration.rst

* Update initialization.rst

* Update getdata.rst

* Update estimator.rst

Modify some typos.

* Update README.md

Modify the typos.

* Update initialization.rst

* Update data.rst

* Update report.rst

* Update estimator.rst

* Update cumulative_return.py

* Update model.rst

* Update rank_label.py

* Update cumulative_return.py

* Update strategy.rst

* Update getdata.rst

* Update backtest.rst

* Update integration.rst

* Update getdata.rst

* Update introduction.rst

* Update introduction.rst

* Update README.md

* Update report.rst

* Update integration.rst

Fix typos

* Update installation.rst

Fix typos

* Update getdata.rst

* Update initialization.rst

Fix typos.

* add quick start docs&fix detials

* fix estimator docs & fix strategy docs

* fix the cahce in data.rst

* update documents

* Fix Corr && Rsquare

* fix data retrival example to csi300 & fix a data bug

* fix filter bug

* Fix data collector

* Modift model args

* add the log & fix README.md\quick.rst

* add enviroment depend & add intoduction of qlib-server online mode

* fix image center fomat & set log_only of docs is True

* fix README.md format

* update data preparation & readme logo image

* get_data support version

* Modify analysis names

* Modify analysis graph

* update report.rst & data.rst

* commmit estimator for merge

* minimal requirements

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update READEME.md

* Update READEME.md

* update estimator

* Fix doc urls

* fix get_data.py docstring

* update test_get_data.py

* Upate docs

* Upate docs

* Upate docs

Co-authored-by: bxdd <bxddream@gmail.com>
Co-authored-by: zhupr <zhu.pengrong@foxmail.com>
Co-authored-by: Wendi Li <wendili.academic@qq.com>
Co-authored-by: Dingsu Wang <dingsu.wang@gmail.com>
Co-authored-by: bxdd <45119470+bxdd@users.noreply.github.com>
Co-authored-by: cslwqxx <cslwqxx@users.noreply.github.com>
gaogen123 pushed a commit to gaogen123/qlib that referenced this pull request Sep 13, 2025
qlib auto init basedon project & black format
zxnxzf pushed a commit to zxnxzf/qlib that referenced this pull request Nov 28, 2025
在 CLAUDE.md 新增"已知问题与修复记录"章节,详细记录:

Bug microsoft#1: iQuant 实盘下单失败 - passorder 返回 0
- 问题描述:passorder 返回 0,订单未进入系统,无错误提示
- 根本原因:缺少 is_last_bar() 检查,在历史回放阶段执行下单
- 修复方案:添加 is_last_bar() 检查,移除 set_account() 调用
- 经验教训:iQuant 策略生命周期、passorder 返回值含义、调试要点

包含完整的问题诊断过程、对比分析、修复代码示例和验证结果。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants