Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported operand type(s) for -: 'float' and 'decimal.Decimal' #180

Closed
NL647 opened this issue Oct 26, 2023 · 2 comments
Closed

unsupported operand type(s) for -: 'float' and 'decimal.Decimal' #180

NL647 opened this issue Oct 26, 2023 · 2 comments

Comments

@NL647
Copy link

NL647 commented Oct 26, 2023

Hello, since last update i get this error in "multi" mode

2023-10-26 22:49:10,659 [fastlane:ERROR] - [bot:run:single] unsupported operand type(s) for -: 'float' and 'decimal.Decimal' 2023-10-26 22:49:10,659 [fastlane:ERROR] - Error in main loop: unsupported operand type(s) for -: 'float' and 'decimal.Decimal'

and also there's an error in "bancor_v3" mode :
2023-10-26 20:48:07,830 [fastlane:ERROR] - Error in main loop: {'code': -32000, 'message': 'filter not found'}

Any idea how to fix these errors?

Thanks in advance for your help.

@mikewcasale
Copy link
Contributor

Hello, since last update i get this error in "multi" mode

2023-10-26 22:49:10,659 [fastlane:ERROR] - [bot:run:single] unsupported operand type(s) for -: 'float' and 'decimal.Decimal' 2023-10-26 22:49:10,659 [fastlane:ERROR] - Error in main loop: unsupported operand type(s) for -: 'float' and 'decimal.Decimal'

and also there's an error in "bancor_v3" mode : 2023-10-26 20:48:07,830 [fastlane:ERROR] - Error in main loop: {'code': -32000, 'message': 'filter not found'}

Any idea how to fix these errors?

Thanks in advance for your help.

Can you provide your run configurations? Running the default python main.py I do not get any errors.

@NL647
Copy link
Author

NL647 commented Oct 28, 2023

Hello,
I was also using : python main.py .
I re-installed my virtual env and it works now.
Thank's.

@NL647 NL647 closed this as completed Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants