Skip to content

pandas 2.2.0 causes warnings for future deprecations #329

@Leotheone

Description

@Leotheone

Hello,

For all intents and purposes, since the latest library version upgrades, this causes futureWarnings in the conv_resol(resolution) function located in trading_ig\utils.py :

...\trading_ig\utils.py:49: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
to_offset("1H"): "HOUR",
...\trading_ig\utils.py:50: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
to_offset("2H"): "HOUR_2",
...\trading_ig\utils.py:51: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
to_offset("3H"): "HOUR_3",
...\trading_ig\utils.py:52: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
to_offset("4H"): "HOUR_4",
...\trading_ig\utils.py:55: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.
to_offset("M"): "MONTH",

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions