From 44d5479b32693b5e28846227958139072eea54e6 Mon Sep 17 00:00:00 2001 From: TAIRAN MIRANDA KRUGEL <33938319+TairanMK@users.noreply.github.com> Date: Wed, 18 Sep 2024 02:10:44 -0300 Subject: [PATCH] polish(TairanMK): update trading env (#831) The Evaluators and Collectors are being created with the same "letter", i changed the Collectors to "c" and left the evaluators with "e" --- dizoo/gym_anytrading/envs/trading_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dizoo/gym_anytrading/envs/trading_env.py b/dizoo/gym_anytrading/envs/trading_env.py index d4ff57a057..a29c5b2215 100644 --- a/dizoo/gym_anytrading/envs/trading_env.py +++ b/dizoo/gym_anytrading/envs/trading_env.py @@ -252,7 +252,7 @@ def create_collector_env_cfg(cfg: dict) -> List[dict]: collector_env_num = cfg.pop('collector_env_num') collector_env_cfg = [copy.deepcopy(cfg) for _ in range(collector_env_num)] for i in range(collector_env_num): - collector_env_cfg[i]['env_id'] += ('-' + str(i) + 'e') + collector_env_cfg[i]['env_id'] += ('-' + str(i) + 'c') return collector_env_cfg # override