Outside market makers
You can quote on any Loaf market through the public API and SDK, the same API the Loaf Liquidity Provider (LLP) trades through. Every market maker, LLP included, quotes into the same central limit order book, with the same price-time priority.
Getting started
Open an account
Sign in with email or a wallet you control; either way, you get a new Loaf wallet for your account. Smart-contract wallets such as Safe are not supported.
Deposit USDC or USDT
Deposit to your Loaf wallet on Arbitrum from any wallet or exchange. One balance backs both spot and perpetual futures (perps), and you pay no network fees.
Set up API access
Set up API access for your account, so your system can sign and send orders TBC.
Connect and quote
Connect through the public API, which covers market data, order entry and account state. The Python SDK wraps it for quoting systems and bots, and signs for you. The API reference covers each call, and the trading bot guide covers signing and a first order.
Order tools
The API supports the tools that quoting systems rely on.
| Batch orders | Places up to 256 orders under a single signature. |
| Post-only | Never takes liquidity, so the order only ever fills as a maker. |
| Cancel-after | Cancels your open orders unless you renew it within the window you set, from 10 to 120 seconds. |
| Cancel-replace | Amends an order in one step. |
| Cancel-all | Cancels your open orders in one request. |
| Self-trade prevention | Cancels the resting order by default if two of your orders would match. You can choose to cancel the taker, or both, instead. |
Cancel-after works as a dead man’s switch: if your system stops renewing it, your orders come off the book.
Limits and fees
| Tick size | Set per market. A price has at most the market’s priceDecimals decimal places |
| Lot size | Set per market. A quantity has at most the market’s quantityDecimals decimal places |
| Minimum order | 10 USD (closing a whole position is exempt) |
| Open orders | A per-market limit and a total limit apply. Once you reach either, a new order is refused with OPEN_ORDER_LIMIT |
| Limit price band | Within 50% of the market’s reference price |
| Daily price band | Set per market, where used |
| API rate limits | TBC |
Loaf has no fees for now, for market makers or anyone else (see Fees).
Each order carries a fee cap, so you never pay more than the rate shown when you placed it. There is no designated market maker programme, no special rebates or fees, and no latency advantage. See Market making.
Quoting alongside LLP
LLP quotes into the same book as you, under the same rules, and your orders queue by price and time alongside its own. Where your price is better, it fills first.
On markets with the Dynamic Coupon active, spot inventory you hold earns the coupon like any holder’s. The rate rises as the price falls. Perp positions do not earn it.
Warning. Market making can lose money. A sudden move can fill your quotes at a loss, and inventory in a thin market can be hard to sell without moving the price.