deepbookv3-orders
Installation
SKILL.md
DeepBook V3: Orders
DeepBook V3 provides a high-performance order execution system. Users can place, modify, and cancel limit or market orders. Orders execute against the central limit order book (CLOB) using price-time priority.
1. Key Concepts
Order Options
When submitting an order, developers can specify order options:
- GTC (Good 'Til Cancelled) / No Restriction: The order remains active in the book until it is fully filled or manually cancelled.
- IOC (Immediate Or Cancel): Any portion of the order that cannot be matched immediately is cancelled.
- FOK (Fill Or Kill): The order must be filled immediately in its entirety, or it is cancelled completely.
- Post Only: The order is only placed if it behaves as a maker order (adds liquidity). If it would match immediately as a taker order, it is cancelled.