Overview
Three loops run at three speeds. The fast ones are plain code, so nothing urgent ever waits for a model. The slow one is where judgement pays: it weighs many signals at once and turns them into a few bounded settings.
Engine
codeevery second
Prices both quotes from the book, the reference market and the position, and changes only what moved enough to matter.
Reflexes
codewithin seconds
Widen or pull the side that is about to be run over: a Smart Trader burst, a move in the reference market, a fill.
Governor
Kimievery 15 minutes
Reads the whole situation and sets how carefully Monday quotes, with a reason in plain words. Never places an order.
What goes in: Perpl's order book, trades, mark and funding over its market-data socket; the account's orders, fills and positions over its trading socket; the reference market's mid prices and trade tape, because Perpl follows it; trades by wallets labelled as consistently profitable (Smart Traders); and the limits the user set. What comes out: maker orders on the user's Perpl account, and a public record of every decision.
Custody and keys
Funds never leave the user's Perpl account. Monday trades through a Perpl API key with trade scope, and Perpl never lets any API key withdraw or transfer funds. The key is stored encrypted on the server. Users sign in with their wallet (a signed message, no gas, no funds moved).
Stop cancels the market maker's orders and leaves positions, the user's own orders and any running Agentic Trade or TWAP alone. Kill cancels every order on the account and closes every position with reduce-only market orders, retrying until Perpl confirms; it ends the plans too. Revoking the key on Perpl cuts Monday off at once.
The engine
Every second, for each market the user picked:
- Fair pricePerpl's mid, blended toward the reference market's by the user's reference mode (none, halfway, or a chosen weight), and ignored past a 50 bps gap.
- SpreadThe larger of the user's minimum and 1.5 times the one-minute volatility, times the governor's spread multiple, plus the maker fee.
- SkewLeans with the position (to shed it), the order book, the five-minute trend, and Smart Trader flow when the study allows leaning.
- PlacementIn calm and active markets it joins the best price, never closer to fair than the maker fee. A quote at the front keeps its place until it is clearly behind.
- SizeThe user's quote size times the governor's size multiple, capped at 1, 5 or 10% of an average hour's volume. Post-only: it never crosses the book.
Exits
One entry per position. Once a position is open, Monday only quotes its exit, never adds to it. The exit rests at the entry plus both maker fees and 1 bp; after 10 minutes it drops to the entry plus fees, out at breakeven rather than waiting. New entries stay at least 3 bps on the safe side of the reference price, since a quote Perpl is about to move through is the one that loses. Exits are never held back by that rule.
Reflexes
Plain code, no model in the loop:
- Smart Trader burstAn unusual five-minute flow widens the side it runs into for five minutes; a stronger one, or a single $250k trade, pulls it.
- Reference firstA 1.5 bps move in three seconds widens the side it runs into, 3 bps pulls it, for six seconds: before Perpl's book catches up.
- After a fillA fill widens that side for 30 seconds; two in a minute pull it. The taker who hit it is often still working.
- Lopsided bookNine tenths of the depth on one side widens the threatened side for a minute.
Kimi, the risk governor
A market maker's hardest call is not the price, it is how carefully to quote right now. Fixed rules weigh one signal at a time. Kimi reads the whole situation every 15 minutes per market (sooner when something changes) and answers with a few bounded settings and a reason a non-trader can read.
What Kimi sees
A JSON snapshot of one market: Smart Trader flow over 5, 15 and 60 minutes (net, gross, imbalance and how unusual it is), the largest recent trades and who made them, price, one-minute volatility against its normal, funding; Monday's own position, PnL today, fees, fill quality and fills over the last hour, how long the position is open and what stage it is in; data freshness and order latency; whether the evidence allows leaning; the user's limits; and what the fixed rules would set.
What Kimi decides
- Spread1 to 4 times normal.
- Size0 to 1.5 times normal.
- Position capAny amount up to the user's own limit, never above it.
- LeanUp to 10 bps, only when the study supports leaning with Smart Trader flow; otherwise zero, whatever is proposed.
- Quote or notWhether quoting at all looks safe, and for how long the settings hold.
- ReasonOne or two plain sentences with the figures behind the call, shown to the user.
Guardrails
Kimi never places an order. Its answer is validated against a schema, every number is clamped to the bounds and the user's policy, and loosening is limited to one step per decision so a single odd answer cannot swing the book. An answer for the wrong market, a late one or a failed call is dropped and the rules answer instead, so the account is always covered. Trader labels inside the snapshot are third-party text, and the prompt tells Kimi to treat them as data, never as instructions. Every decision is stored with keccak256 hashes of its parameters and its evidence, and published.
What it did on mainnet
- Kimi decisions
- 167
- real funds, kimi-k3, 10 to 12 Oct
- Different from the rules
- 72%
- 120 of 167, every one more careful
- Looser than the rules
- 0
- and 0 answers needed clamping
Where Kimi departed from the rules it quoted wider 114 times, smaller 106 times and lowered the position cap 70 times. It never quoted tighter or bigger than the rules would have, and none of its 167 answers fell outside the bounds. It reacted to things the rules do not weigh together: how much of the day's loss limit was already used, whether recent fills had been costly, selling that had stopped but might not be over.
“Smart Traders sold about $575k net over the past hour, though the last 15 minutes were quiet. With 79% of the daily loss limit used, Monday is keeping quotes wider and cutting size and inventory to protect the account.”
BTC, 11 Oct 18:04 UTCspread 2x, size 0.3x, position cap $75record #1967
“Smart Traders sold about $576k net over the past 15 minutes, mostly closing longs, and Monday has been losing a little on fills. Quotes stay wide and small with a lower inventory cap until the selling cools.”
BTC, 11 Oct 17:44 UTCspread 3x, size 0.3x, position cap $200record #1903
“Smart Traders were quiet recently, with only about $26k of net buying over the past hour. Volatility is running above normal and 43% of the daily loss limit is used, so Monday is quoting wider and smaller.”
BTC, 11 Oct 17:09 UTCspread 2x, size 0.6xrecord #1815
“Smart Traders placed no trades in the past hour, so there is no one sided flow to defend against. Monday keeps its usual $22 quotes at the normal spread with inventory capped at $225.”
BTC, 11 Oct 08:26 UTCspread 1x, size 1x, position cap $225, the same as the rulesrecord #1500
How it is called
Through an OpenAI-compatible API with JSON output. The governor runs kimi-k3 with its reasoning on for the scheduled review: about 51 seconds an answer, which a 15-minute loop absorbs while the rules hold the book. An early review, when a burst or stale data calls for one, runs with reasoning off and answers in seconds, at most every 10 minutes. Ask Monday runs the same model with reasoning off, about 4 seconds an answer, because a person is waiting.
What Kimi brings
- JudgementIt combines flow, volatility, fill quality, the position and the loss limit into one call, which rules can only do signal by signal.
- SafetyIts departures from the rules all went toward caution, and it stayed inside the bounds every time.
- ExplanationEvery setting comes with a reason in plain words, so a user who is not a trader can see why their bot is quoting the way it is, and check it later.
Risk controls
- Stop lossThe user's daily limit: reached, Monday stops, cancels and closes positions for the day. It reads cash that fills explain, so Perpl sending cash and position updates seconds apart cannot fire it falsely.
- Urgent exitsOnce a position's open loss reaches a quarter of the stop loss, after an hour, or far past its limit, Monday stops waiting for a profit and works the exit at the best price.
- Every orderA 1% band around the oracle price, and position, account and leverage checks before anything is sent.
- Margin floorEquity below what the limits need stops Monday before Perpl's maintenance margin.
- Bad dataQuotes are pulled when market data is five seconds old; at 30 seconds Monday stops and closes positions. Three failed orders in a row stop it too.
- RestartsMonday picks its own resting quotes back up and leaves the user's orders alone; any cancel or close it owes is retried until Perpl confirms.
- PlansAn Agentic Trade or TWAP position always has its stop loss resting on Perpl itself, so it holds even if Monday's server is down. The daily stop loss and a Kill cover the plans' positions as well.
Agentic Trade and TWAP
Two more ways to trade from the same account, run by code from start to finish. Each takes a margin and a leverage, trades one market of its own (never one the market maker quotes), and can run while the market maker is stopped. Before either starts, Kimi sums up the daily, 4-hour and hourly charts in a few sentences; the entries and exits are the code's.
Agentic Trade
A scalping session on a long or short bias. Monday reads the daily and 4-hour trend (the close against a sloping 20-bar average) and re-reads it every 15 minutes. When both agree with the bias it follows the trend, entering on a pullback to the 20 EMA that has resumed; when both run against it, it fades the move, entering when a stretched RSI turns; when they disagree, it waits.
- EntryA maker limit at the trigger bar's close, on a 1, 5 or 15 minute chart. Unfilled after two bars, it is cancelled and the next setup is awaited.
- ExitsFrom the fill, a stop one bar's usual range away (never past 80% of the way to liquidation) rests on Perpl as a trigger, and a target of one and a half ranges (one, against the trend) rests as a maker order. A scalp still open after 12 bars is closed.
- SizingMargin times leverage, cut so that one stop can lose at most what is left of the session's loss limit. A target that does not clear three times the round trip's fees is skipped.
- SessionEnds at a loss or a profit the user set as a share of the margin, or when its time (up to a week) is up. Stop takes no new scalp and lets the open one reach its exit; Close closes it at once.
TWAP
One position built in slices over 5 minutes to 24 hours, so a large order does not move a thin book. Passive sends maker orders only; balanced starts each slice as a maker and takes what is left at the slice's end; aggressive takes every slice. Slice times and sizes are jittered a little so the pattern is not exact, and a maker slice follows the best price up to three times before it is left where it is.
- Limit priceA price the slices must not pass: a slice beyond it is skipped, never forced.
- ProtectionThe stop loss, and the take profit if one is set, are priced from the mark when the TWAP started and rest on Perpl as triggers from the first fill, sized to the whole position so later fills are covered.
- After the buildThe position is held until its stop, its target or the user closes it. Stop ends the building and keeps the protection; Close closes the position at market.
Perpl analytics
A public dashboard for all of Perpl, no wallet needed. Every trade since launch is indexed from the Exchange contract's events through Envio HyperSync: fills with their fees, position changes, liquidations, deposits and withdrawals. Perpl's own API and contract reads add live funding, the book and every open position.
- ProtocolVolume, open interest, TVL, fees and traders over 24 hours, 7 and 30 days and all time; daily series; collateral flows; funding and long/short per market; a liquidation map and the positions closest to it; who makes money; when Perpl trades.
- FlowWhat Perpl's top traders, consistent winners and whales hold in each market and how they moved over the last hour, six hours and day, with a live tape of their orders.
- WalletsSearch by address or account: equity, open positions with liquidation price, trade history with realised PnL, win rate, profit factor, drawdown, streaks, hold time, best and worst markets, rank. Compare up to four side by side.
- ScreenerPresets for winners, streaks, whales, makers, takers, liquidated and losers, thresholds, a watchlist, and leaderboards for 1, 7, 30 and 90 days.
Ask Monday
The chat on the analytics pages, and the second place Kimi works. Common questions get an answer from rules in a fraction of a second. For anything else, Kimi turns the question into a structured query (a metric, a market, a screen, a comparison, a wallet) and the code answers it from the live figures, with a table and links. Open questions get an answer Kimi writes from a sheet of live figures only: a reply that quotes a dollar or percent figure not on the sheet is thrown away. On a wallet page, Kimi writes the “explain in plain words” summary from that wallet's numbers.
Infrastructure
One server runs four parts: the trading server (an agent per user, sockets to Perpl and the reference market, the API), the analytics process (indexer and public API, kept apart so heavy queries never stall trading), the web app, and Caddy for TLS. Three sites: mondaytrade.xyz, app.mondaytrade.xyz for the agent, analytics.mondaytrade.xyz for the dashboard. The terminal streams its state over a compressed WebSocket. Code is TypeScript end to end, with the strategy in pure, unit-tested functions.
Limits
- Profit is not promisedMarket making at retail size and full maker fees is hard on Perpl, and earlier versions of Monday lost small amounts. The exit rules in force since 12 October have done better, on a few days of data.
- Kimi manages riskIt decides how carefully to quote. It does not create an edge on its own, and the record above covers two days.
- The signal defendsThe study finds Smart Trader flow leading the next move only on SOL so far, and weakly, so elsewhere Monday uses it to step aside, not to lean.
- Scalps and TWAPsTheir triggers are plain chart rules that have not shown an edge of their own in replay; they work the user's view carefully, they do not supply one.
- Without KimiIf Kimi is unavailable the rules set every parameter, and the record says so.