Borrow Orders are standing requests to borrow a specified asset that fill automatically as liquidity enters the market. In supply-constrained pools, borrow demand regularly exceeds available supply — without automation, users must either monitor availability continuously or run bots to capture liquidity the moment it appears. A Borrow Order removes that requirement: you specify the asset, amount, and expiry, and the protocol fills the order automatically whenever matching supply is available. Interest does not accrue on unfilled portions — it begins only when each portion fills.Documentation Index
Fetch the complete documentation index at: https://kamino.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How orders fill
Orders fill as liquidity becomes available in the target market. A single order can fill incrementally across multiple transactions — a $300,000 order might fill in $50,000 chunks as separate deposits enter the pool. Each filled portion begins accruing interest immediately and the borrowed funds are sent directly to your wallet at the time of fill. The unfilled remainder stays open until it fills, expires, or you cancel it. Fill ordering is random. There is no priority by order size, submission time, or any other factor — the first transaction to execute the fill wins. This means large orders receive no advantage, and older orders have no queue position.Interest starts accruing on each filled portion at the slot it fills. An unfilled order has zero interest cost regardless of how long it has been open.
Post-fill LTV
Post-fill LTV is the governing constraint for all Borrow Order operations. It is calculated as:Max LTV − 5%. This determines how much additional borrowing capacity you have available for new orders:
| Metric | What it includes | Used for |
|---|---|---|
| Current LTV | Active borrow ÷ collateral value | Liquidation health, position display |
| Post-fill LTV | (Active borrow + all open orders) ÷ collateral value | Order capacity, collateral withdrawal limits |
Max LTV − 5%. The restriction is evaluated against the worst case — all open orders filling after the withdrawal. See Borrowing for a full explanation of LTV ratios.
Collateral price drops
If the value of your collateral falls, open orders are not automatically reduced or cancelled — they remain at their original amount. However, the system will not execute a fill that would breach the post-fill LTV limit. If a fill would push post-fill LTV aboveMax LTV − 5%, the order simply does not fill until conditions change.
If collateral value recovers or you add more collateral, the order becomes fillable again at its original amount — no action is required on your part.
Order management
You can have one open Borrow Order per debt asset per obligation. Partial fills, amount adjustments, and expiry adjustments cover all management needs without requiring multiple concurrent orders.| Action | Behavior |
|---|---|
| Cancel order | Removes the unfilled portion. Any filled portions remain as active borrows. No fees. |
| Adjust amount | Increase or decrease the unfilled order amount, subject to post-fill LTV constraints. |
| Adjust expiry | Change the expiry date on an open order. |