-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get_leverage_brackets api for future
- Loading branch information
liumiao
committed
Apr 4, 2024
1 parent
6a1eb43
commit 0c71fce
Showing
7 changed files
with
91 additions
and
5 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"symbol": "ETHUSDT", | ||
"notionalCoef": 1.50, | ||
"brackets": [ | ||
{ | ||
"bracket": 1, | ||
"initialLeverage": 75, | ||
"notionalCap": 10000, | ||
"notionalFloor": 0, | ||
"maintMarginRatio": 0.0065, | ||
"cum": 0 | ||
}, | ||
{ | ||
"bracket": 2, | ||
"initialLeverage": 50, | ||
"notionalCap": 20000, | ||
"notionalFloor": 10000, | ||
"maintMarginRatio": 0.005, | ||
"cum": 10 | ||
} | ||
] | ||
} | ||
] |