Skip to content

How to resolve these WARNINGs? #2157

@1984victor

Description

@1984victor

❓ Questions and Help

We sincerely suggest you to carefully read the documentation of our library as well as the official paper. After that, if you still feel puzzled, please describe the question clearly under this issue.

Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
Users of this version of Gym should be able to simply replace 'import gym' with 'import gymnasium as gym' in the vast majority of cases.
See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
WARNING - qlib.data - [data.py:665] - load calendar error: freq=day, future=True; return current calendar!
[113940:MainThread](2026-03-16 16:58:20,900) WARNING - qlib.data - [data.py:668] - You can get future calendar by referring to the following document: https://github.com/microsoft/qlib/blob/main/scripts/data_collector/contrib/README.md
WARNING - qlib.BaseExecutor - [executor.py:121] - common_infra is not set for <qlib.backtest.executor.SimulatorExecutor object at 0x76a2cd7633b0>
WARNING - qlib.online operator - [exchange.py:219] - $close field data contains nan.
index_data.py:492: RuntimeWarning: Mean of empty slice
return np.nanmean(self.data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions