Skip to content

FutureWarning in AppState.py stops the bot #834

@sansal54

Description

@sansal54

I get such an error when i try to run my bot:

/home/sansal/pycryptobot-main/models/AppState.py:282: FutureWarning: Calling flo at on a single element Series is deprecated and will raise a TypeError in the fu ture. Use float(ser.iloc[0]) instead
) * float(last_order[last_order.action == "sell"]["price"])

Actually this type of warning should not stop program.

Version : 8.2.3
Python: 3.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions