Fill Types
Metal X DEX supports different fill types:
GTC (Good-Till-Cancel) (FillType = 0): Order will be in queue until it gets executed/fills completely or user can cacel at anytime.
IOC (Immediate-Or-Cancel) (FillType = 1): Order will be executed/filled immediately based on the quantity available in the open orders in the orderbook, remaining unfilled orders will be cancelled. Incase of no matching fills, entire order will get cancelled. Market orders should be submitted with this type.
POST_ONLY (FillType = 2): it will not be executed/filled immediately even though matching orders available in the orderbook. This kind of orders adds liquidity to the market.
Last updated