-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
calculate_open_long
negative interest check, fix `get_spot_pric…
…e_after_short` (#919) * Use `spot_price_after_long` in `calculate_open_long` * Include fees in get_spot_price_after_short * Fix argument order * Fix function call after rebase * Delete moved test * Fix rust-analyzer error * Consolidate spot_price_after_open_short fns, add test * Remove redundant import
- Loading branch information
Showing
3 changed files
with
84 additions
and
91 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