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

Fix fixer #1133

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Fix fixer #1133

merged 2 commits into from
Nov 28, 2024

Conversation

GuillaumeDSM
Copy link
Member

No description provided.

@GuillaumeDSM GuillaumeDSM requested a review from Herklos November 27, 2024 23:16
@GuillaumeDSM GuillaumeDSM self-assigned this Nov 27, 2024
@GuillaumeDSM GuillaumeDSM enabled auto-merge (rebase) November 27, 2024 23:17
and is_ms_valid(limits_amount.get(Ecmsc.LIMITS_AMOUNT_MIN.value))
):
# min cost can be computed from min price and amount: those values come from exchange data
cost_min = limits_price.get(Ecmsc.LIMITS_PRICE_MIN.value) * limits_amount.get(Ecmsc.LIMITS_AMOUNT_MIN.value)
Copy link
Member Author

Choose a reason for hiding this comment

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

I updated this part to be sure not to create invalid values

Copy link
Member

Choose a reason for hiding this comment

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

Could we test that I does not create invalid values please?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, up !

Copy link
Member

@Herklos Herklos Nov 28, 2024

Choose a reason for hiding this comment

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

I don't understand as I don't see any new test

Copy link
Member Author

Choose a reason for hiding this comment

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

tests added

@GuillaumeDSM GuillaumeDSM merged commit af674d1 into master Nov 28, 2024
6 checks passed
@GuillaumeDSM GuillaumeDSM deleted the fix_fixer branch November 28, 2024 10:08
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

Successfully merging this pull request may close these issues.

2 participants