Order types
limit + Gtc
Limit GTC — Standard limit order. Crosses if it can, the rest rests in the book.
limit + Gtc + postOnly
Post-Only — Only joins the book; rejected if it would cross immediately. Use for maker-only strategies.
limit + Ioc
Limit IOC — Fills the matchable portion immediately, cancels the rest.
limit + Fok
Limit FOK — All-or-nothing — fills the entire size at the limit or rejects.
market + Ioc/Fok
Market — limitPx is treated as a price-protection band. Never rests.
reduceOnly: true
Reduce-only — Order is rejected unless it strictly reduces the existing position. Direction reversal not allowed.