mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Update Base5ActionRLEnv.py
Fix init
This commit is contained in:
parent
ffd828b6ad
commit
1d5abe5b75
|
@ -22,7 +22,7 @@ class Base5ActionRLEnv(BaseEnvironment):
|
|||
Base class for a 5 action environment
|
||||
"""
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
def __init__(self, *args, action_space_type: str = "Discrete", **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
self.action_space_type = action_space_type
|
||||
self.actions = Actions
|
||||
|
|
Loading…
Reference in New Issue
Block a user