Skip to content

Conversation

lwwang1995
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the waiting for triage Cannot auto-triage, wait for triage. label Jul 7, 2023
return spaces.Discrete(len(self.action_values))

def interpret(self, state: SAATState, action: int) -> str:
assert 0 <= action < len(self.action_values)
Copy link
Contributor

Choose a reason for hiding this comment

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

state is unused here

@@ -0,0 +1,62 @@
simulator:
Copy link
Contributor

Choose a reason for hiding this comment

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

Add readme like this:
examples/rl_order_execution/README.md

Copy link

@Abhijais4896 Abhijais4896 left a comment

Choose a reason for hiding this comment

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

class Task: """ stock_id : str cash : float start_time : pd.Timestamp closed start time for order trading end_time : pd.Timestamp closed end time for order trading factor : float presents the weight factor assigned in Exchange() """ stock_id: str cash: float start_time: pd.Timestamp end_time: pd.Timestampclass OrderHelper: """
‎qlib/rl/algorithm_trading/init.pyCopy file name to clipboard+25Lines changed: 25 additions & 0 deletionsViewedComment on this fileOriginal file line numberDiff line numberDiff line change@@ -0,0 +1,25 @@# Copyright (c) Microsoft Corporation.# Licensed under the MIT License.from .interpreter import ( FullHistoryATStateInterpreter, CategoricalATActionInterpreter,)from .network import Recurrentfrom .policy import AllOne, PPOfrom .reward import LongShortRewardfrom .simulator_simple import SingleAssetAlgorithmTradingSimplefrom .state import SAATMetrics, SAATState__all__ = [ "FullHistoryATStateInterpreter", "CategoricalATActionInterpreter", "Recurrent", "AllOne", "PPO", "LongShortReward", "SingleAssetAlgorithmTradingSimple", "SAATMetrics", "SAATState",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for triage Cannot auto-triage, wait for triage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants