You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across 2 issues in the MultiDatasetTradingEnv class:
gymnasium==1.0.0 requires the env.reset() function to take 2 parameters, seed and options. The class currently only has seed, and this causes an error: TypeError: reset() got an unexpected keyword argument 'options'
The selection of the dataset in the multi-dataset process seems to be broken. Instead of selecting the least used dataset, it ends up selecting the first one every time.
For example, if there is only one dataset that has the minimum uses, random_int always ends up being 0, and so only the first dataset is always selected - regardless of the actual usage.
The text was updated successfully, but these errors were encountered:
sachetz
added a commit
to sachetz/Gym-Trading-Env
that referenced
this issue
Dec 12, 2024
I came across 2 issues in the MultiDatasetTradingEnv class:
gymnasium==1.0.0 requires the env.reset() function to take 2 parameters, seed and options. The class currently only has seed, and this causes an error:
TypeError: reset() got an unexpected keyword argument 'options'
The selection of the dataset in the multi-dataset process seems to be broken. Instead of selecting the least used dataset, it ends up selecting the first one every time.
For example, if there is only one dataset that has the minimum uses, random_int always ends up being 0, and so only the first dataset is always selected - regardless of the actual usage.
The text was updated successfully, but these errors were encountered: