Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Limit Order

Executes at your specified price or better. The order sits on the book until filled or canceled.

Use When

You want to control your entry/exit price and are willing to wait for execution.

Parameters

  • Asset: The token or contract you want to trade

  • Size: Amount to buy or sell

  • Direction: Buy/Sell

  • Limit Price: Your target execution price

  • Time-in-Force: How long the order stays active (GTC, IOC, FOK, GTD, ALO)

  • Reduce Only (optional): Only reduces existing position

How It Works

  1. You place a limit order with your target price

  2. Order is added to the orderbook

  3. When market price reaches your limit:

    • Buy limit: Executes when ask price ≤ your limit

    • Sell limit: Executes when bid price ≥ your limit

  4. Order may fill partially or fully depending on available liquidity

Time-in-Force Options

See Time-in-Force Options for details on GTC, IOC, FOK, GTD, and ALO behavior.

Important Notes

  • Price-time priority: Best prices fill first; at same price, oldest orders fill first

  • No guarantee of fill: Your order may never execute if price doesn't reach your level

  • Maker rebates: If your order rests on the book (especially with ALO), you may earn maker rebates

  • Partial fills: Large orders may fill in pieces as liquidity becomes available

Best Practices

  • For entries: Place limit buys below market, limit sells above market

  • For exits: Opposite of entries

  • Use ALO: When you specifically want maker rebates and aren't time-sensitive

  • Monitor fills: Check if your order is getting filled; adjust price if needed

  • Consider GTD: For event-driven strategies with known timeframes

Last updated