Skip to main content
Limit orders execute only at your specified price or better.

Complete Example

limit-order.ts

Post-Only Limit Order

Ensure your order only provides liquidity (maker):

Reduce-Only Limit Order

Limit order that can only close positions:

IOC (Immediate or Cancel)

With Expiration

Next Steps

Modify Order

Modify existing orders

Cancel Order

Cancel orders