Conversation
ultmaster
reviewed
Aug 4, 2022
| Function used to get the inner level executor. | ||
| exchange_config (ExchangeConfig): | ||
| Configuration used to create the Exchange instance. | ||
| strategy_config (dict): |
Collaborator
There was a problem hiding this comment.
The docstring format does not conform numpy doc format.
Contributor
Author
There was a problem hiding this comment.
Could you please review the latest version and provide some details?
ultmaster
reviewed
Aug 16, 2022
you-n-g
reviewed
Aug 23, 2022
you-n-g
approved these changes
Aug 24, 2022
ultmaster
reviewed
Aug 24, 2022
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| """ |
Collaborator
There was a problem hiding this comment.
Suggest moving this file into order_execution/integration.py.
Okay to keep it for now.
ultmaster
reviewed
Aug 24, 2022
qlib/rl/order_execution/state.py
Outdated
|
|
||
| class SAOEStateAdapter: | ||
| """ | ||
| Maintain states of the environment. |
Collaborator
There was a problem hiding this comment.
Could you add some explanations of "what" should be adapted and "how".
ultmaster
reviewed
Aug 24, 2022
qlib/rl/strategy/single_order.py
Outdated
| def __init__( | ||
| self, | ||
| order: Order, | ||
| trade_range: TradeRange, |
Collaborator
There was a problem hiding this comment.
I think trade_range can be None?
ultmaster
approved these changes
Aug 24, 2022
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
is_collectinginner_strategy.post_upper_level_exe_step()in NestedExecutorpost_upper_level_exe_step()methodSAOEStrategy, strategies that use SAOEState as states. MakeDecomposedStrategya subclass ofSAOEStrategy.StateMaintainerinsideSAOEStrategy. Now eachSAOEStrategycan have its own state maintainer, so it can maintain its own state.qlib/rl/from_neutrader. Move all necessary components intosimulator_qlib.qlib/rl/strategyqlib/rl/order_execution/objectsqlib/rl/order_execution/stateMotivation and Context
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.pyunder upper directory ofqlib.Screenshots of Test Results (if appropriate):
Types of changes