-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix market price check for market orders (#2315)
# Description #2304 fixed the checker for limit orders. However, for market orders, which signed `sell_amount` doesn't contain the signed `fee_amount` (so it's basically `sell_amount_after_fee`), we need to take this fee into acount. For limit orders nothing changes, since those have `fee_amount` = 0. Fixes #2312
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters