-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(perps)!: trade limit ratio check in both directions (#858)
* feat!: make quote trade limit ratio check in either direction * feat!: add base trade limit check * fix: check base trading limit ratio in both directions * test: trading limit ratio * docs: clarify why base trading limit would never run * feat!: trading limit ratio check in both directions * feat!: add quote trade limit check * fix: error message * refactor: baseAssetAmount -> baseAmt * refactor: quoteAssetAmount -> quoteAmt * refactor: shorten variable names * Update CHANGELOG.md * test: trading limit ratio check
- Loading branch information
1 parent
5851a55
commit 3b962e4
Showing
4 changed files
with
96 additions
and
46 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: PR lint | |
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, edited] | ||
|
||
jobs: | ||
pr-lint: | ||
|
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
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