Add a max_collateral option to the AMM strategy config.
The strategy will never deploy more collateral than this value, even if the account's collateral balance exceeds it.
Description
Testing instructions
Types of changes
[ ] Refactor/enhancement
[ ] Bug fix/behavior correction
[x] New feature
[ ] Breaking change
[ ] Other, additional
Notes
Status
[ ] Prefix PR title with [WIP] if necessary (changes not yet made).
[ ] Add tests to cover changes as needed.
[ ] Update documentation/changelog as needed.
[x] Verify all tests run correctly in CI and pass.
Overview
Add a
max_collateral
option to the AMM strategy config. The strategy will never deploy more collateral than this value, even if the account's collateral balance exceeds it.Description
Testing instructions
Types of changes
Notes
Status
[WIP]
if necessary (changes not yet made).