-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add test data for parse_config * parse_config test cleanup * add tests for calc_total_liquidity_from_reserves_and_price * add tests for calc_base_asset_reserves * cleanup comments in price.py * rename test_price.py to test_price_utils.py. Add tests for calc_liquidity * refactor apr_decimal variable to apr in test_price_utils.py * linting and stuff * add tests for calc_spot_price_from_apr * add tests for calc_spot_price_from_apr * finish adding tests for price utils * rebase time.py and price.py comment cleanup onto main * comment cleanup on test_price_utils and create test_time.py file * add some time_utils tests * finish adding tests for time utilities * add some error tests for test_price_utils.py * finish adding error tests for price utils * fix parse_config tests after logging update * updates minor linting errors & resolves remaining comments * removes accidental merge code * fixes up a bug from calling the wrong parse_config function; moves pricing_model to amm config * removes accidental notebook Co-authored-by: Dylan <dpaiton@gmail.com>
- Loading branch information
Showing
11 changed files
with
1,616 additions
and
51 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
Oops, something went wrong.