Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' of github.com:AI4Finance-Foundation/FinRL
  • Loading branch information
AkashKarnatak committed Jun 15, 2023
commit 4c8d9b62771c0c498ae5bbd9d02e29a9dfc5e718
7 changes: 6 additions & 1 deletion finrl/meta/env_stock_trading/env_stocktrading.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,12 @@ def step(self, actions):

return self.state, self.reward, self.terminal, False, {}

def reset(self, seed=None):
def reset(
self,
*,
seed=None,
options=None,
):
# initiate state
self.state = self._initiate_state()

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.