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

Refactor useOmniPartialTakeProfitDataHandler to calculate startingTakeProfitPriceLong and startingTakeProfitPriceShort based on dynamicParams #3753

Conversation

marcinciarka
Copy link
Member

This pull request refactors the useOmniPartialTakeProfitDataHandler function to calculate the startingTakeProfitPriceLong and startingTakeProfitPriceShort values based on the dynamicParams. This ensures that the correct values are used for these variables, improving the accuracy of the calculations.

…eProfitPriceLong and startingTakeProfitPriceShort based on dynamicParams
@marcinciarka marcinciarka merged commit 8160b6c into dev Apr 3, 2024
13 checks passed
@marcinciarka marcinciarka deleted the marcinciarka/sc-15030/bug-aave-v3-multiply-eth-usdc-auto-take-profit-dynamic-trigger-price-always-incorrectly branch April 3, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants