Skip to content

Fix error message in position.py#922

Merged
you-n-g merged 2 commits intomicrosoft:mainfrom
cuicorey:update_position
Mar 6, 2022
Merged

Fix error message in position.py#922
you-n-g merged 2 commits intomicrosoft:mainfrom
cuicorey:update_position

Conversation

@cuicorey
Copy link
Contributor

Description

Correct the error message when stock amount < trade amount

Motivation and Context

How Has This Been Tested?

<! --- Put an x in all the boxes that apply: --->

  • 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

@you-n-g
Copy link
Collaborator

you-n-g commented Feb 18, 2022

Please fix the CI error

fix CI error
@you-n-g you-n-g merged commit 2ac964c into microsoft:main Mar 6, 2022
@cuicorey cuicorey deleted the update_position branch March 7, 2022 02:44
@you-n-g you-n-g added the enhancement New feature or request label Mar 8, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* Update position.py

* Update position.py

fix CI error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants