Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Conversation

@jmoreira-valory
Copy link
Collaborator

Fixes trades.py

trades.py Outdated
Comment on lines 169 to 170
except KeyError:
return s
return MarketAttribute(s)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain? Will this not raise the exception again?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to raise a ValueError, which is handled by the argparser.

@jmoreira-valory jmoreira-valory merged commit 97ff07d into main Oct 17, 2023
@DavidMinarsch DavidMinarsch deleted the fix/roi_computation branch November 1, 2023 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants