Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate amc4th training#1316

Merged
you-n-g merged 3 commits intomainfrom
huoran/migrate_amc4th_training
Oct 19, 2022
Merged

Migrate amc4th training#1316
you-n-g merged 3 commits intomainfrom
huoran/migrate_amc4th_training

Conversation

Copy link
Contributor

lihuoran commented Oct 12, 2022

Description

Migrate amc4th RL training logics.

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

lihuoran requested review from ultmaster and you-n-g October 12, 2022 12:30
you-n-g reviewed Oct 18, 2022
python ../../scripts/dump_bin.py dump_all --csv_path ./data/csv --qlib_dir ./data/bin --include_fields open,close,high,low,vwap,volume --symbol_field_name symbol --date_field_name date --freq 1min;

# Generate pickle format data
python scripts/gen_pickle_data.py -c scripts/pickle_data_config.yml;
Copy link
Contributor

you-n-g Oct 14, 2022

Choose a reason for hiding this comment

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

Why do we have these semi-colon in this script

Copy link
Contributor Author

lihuoran Oct 19, 2022

Choose a reason for hiding this comment

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

It's just my personal habit to use semi-colon to separate commands XD. Will remove them.

import os
from copy import deepcopy

from qlib.contrib.data.highfreq_provider import HighFreqProvider
Copy link
Contributor

you-n-g Oct 18, 2022

Choose a reason for hiding this comment

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

Please replace print_log in highfreq_provider with qlib.logging.

you-n-g approved these changes Oct 19, 2022
ultmaster approved these changes Oct 19, 2022
you-n-g merged commit 3c62d13 into main Oct 19, 2022
you-n-g deleted the huoran/migrate_amc4th_training branch October 19, 2022 02:18
lihuoran restored the huoran/migrate_amc4th_training branch October 26, 2022 05:22
lihuoran mentioned this pull request Oct 27, 2022
5 tasks
lihuoran deleted the huoran/migrate_amc4th_training branch November 10, 2022 05:55
you-n-g added the enhancement New feature or request label Dec 9, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* Migrate amc4th training

* Refine RL example scripts

* Resolve PR comments

Co-authored-by: luocy16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

ultmaster ultmaster approved these changes

+1 more reviewer

you-n-g you-n-g approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants