Closed dib542 closed 5 months ago
Preview URL: https://6ac33b21-482bd589--duality-xyz-testnet.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-testnet/deploys/65f3124d04fec77c96840dd7
Preview URL: https://6ac33b21-482bd589--duality-xyz-beta.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-beta/deploys/65f3129e37ffb2e8958e3ee1
Preview URL: https://df46b525-5f77dfb6--duality-xyz-testnet.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-testnet/deploys/660e7d87aefa7d7808da232e
Preview URL: https://df46b525-5f77dfb6--duality-xyz-beta.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-beta/deploys/660e7dd1b0d0efda9568410a
Closing this issue to instead be the first part of the overall issue PR: #539
this PR builds on
527
537
To compare since these PRs: https://github.com/duality-labs/duality-web-app/compare/408-replace-swap-estimation-calculation-with-chain-simulation-data-alt..459-improve-buy-limit-orders-part-2-rebased
To use limit order simulations to predict the behavior of potential Buy and Sell limit orders of various types. The two added here:
FILL_OR_KILL
IMMEDIATE_OR_CANCEL
Are the immediate type orders where immediate results of the potential trade can seen and given to the user for their information . The other time-based orders:
GOOD_TIL_CANCELLED
GOOD_TIL_TIME
JUST_IN_TIME
do not give usable feedback, but we can assume their behavior and add logic for these in a following PR