Skip to content

Commit 44d5479

Browse files
authored
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"
1 parent ae3ddc6 commit 44d5479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dizoo/gym_anytrading/envs/trading_env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def create_collector_env_cfg(cfg: dict) -> List[dict]:
252252
collector_env_num = cfg.pop('collector_env_num')
253253
collector_env_cfg = [copy.deepcopy(cfg) for _ in range(collector_env_num)]
254254
for i in range(collector_env_num):
255-
collector_env_cfg[i]['env_id'] += ('-' + str(i) + 'e')
255+
collector_env_cfg[i]['env_id'] += ('-' + str(i) + 'c')
256256
return collector_env_cfg
257257

258258
# override

0 commit comments

Comments
 (0)