Knowing the difference between the order types and when to harness them.
By default, Dexible will try to auto-split the input amount of tokens into rounds. We call this property a "segmented" order. Any order type can be segmented. Segmented orders respond to market conditions to determine their execution timing.
What it does
Getting an order done right away
Reflects current market conditions
Triggers a swap so long as an asset is above/below a price threshold
Getting great prices
Estimates for when the limit price activates will change expected outcomes
Triggers a full swap order whenever a price threshold is met.
Emergency position entrances/exits
Estimates for when the stop price activates will change expected outcomes
Moving a lot of volume relative to the liquidity and minimizing market impact.
Moving a lot of volume while maximizing output based on policies
Reflects current market conditions.
Be aware that in v2.0.0 — the TWAP duration = the expiration time
If your goal is...
To exit the market as quickly as possible
Use market orders with relative gas.
To exit the market without paying high gas fees
Use market order with fixed gas.
To wait until the market meets your price, but when it does, make sure you execute
Use limit order with relative gas
To wait on two conditions both from the market and gas prices
Use limit order with fixed gas
To protect yourself from a sudden drop in the price
Use a stop-loss order with relative gas
To sell out of a position after a price trigger so long as it's not too costly