Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial changes * WIP, reimplementing multiple LP positions in same asset to use agent.nfts * WIP, reimplementing multiple LP positions in same asset to use agent.nfts * Fixed dca_with_lping strategy to take advantage of new LPing features * Fixed test_compare_several_lp_adds_to_single * Fixed remove_liquidity handling of removing all liquidity when quantity is not specified * Extended simulate_remove_liquidity Added basic test for remove_liquidity at exact added price * Extended exact test for remove liquidity * Added test to compare basic case with case where shares are in holdings * Added test to compare basic usage when quantity is unspecified * Added test to compare base case to case where both quantity and nft_id are unspecified * Removed outdated test * reverted change * Added logic to pull tkn_remove from nft in remove_liquidity if necessary * Fixed some tests * removed commented out test * Removed commented out function * Removed commented out function * Removed old test * Formatting * Optimized cash_out * Added test_cash_out_omnipool_exact * add test_cash_out_multiple_positions * Allowing LRNA price in cash_out_omnipool. Fixed test_cash_out_multiple_positions * fixed liquidation test * fixed stableswap test * Removed unused function * Fixed calculate_remove_liquidity so it always returns nft_ids --------- Co-authored-by: jepidoptera <jepidoptera@live.com>
- Loading branch information