Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add slippage option for add_liquidity action #1289

Open
dpaiton opened this issue Jan 26, 2024 · 0 comments
Open

add slippage option for add_liquidity action #1289

dpaiton opened this issue Jan 26, 2024 · 0 comments
Assignees
Labels
enhancement A feature or refactor request

Comments

@dpaiton
Copy link
Contributor

dpaiton commented Jan 26, 2024

Hyperdrive 0.6.0 adds a slippage parameter to addLiquidity which allows LPs to specify a minimum LP share price at which to provide liquidity. We've include a TODO in execute_agent_trades.py to update our liquidity action to include this optional argument. There's also a NotImplementedError in _contract_calls.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or refactor request
Projects
None yet
Development

No branches or pull requests

2 participants