trade types
This type-only entrypoint exports the main trade calculation enums and result types.
Exports
TradeTypeTradeModeTriggerThresholdTypeTradeFlagsSwapAmountsIncreasePositionAmountsDecreasePositionAmountsDepositAmountsWithdrawalAmountsNextPositionValuesSwapStatsSwapPathStatsMarketEdgeSwapRouteSwapPathsSwapEstimatorNaiveSwapEstimatorNaiveNetworkEstimatorMarketEdgeLiquidityGetterSwapOptimizationOrderArrayFindSwapPathTradeFeesTypeExternalSwapAggregatorExternalSwapQuoteExternalSwapPathExternalSwapQuoteParamsExternalSwapCalculationStrategyExternalSwapInputsTradeFeesGmSwapFeesTradeSearchParams
import type { IncreasePositionAmounts, SwapAmounts, TradeFees } from "@gmx-io/sdk/types/trade";