Books

Placing a Book

Placing a Book turns it into real positions. You review every leg at a fresh quote, set your price limit if you want a different one, and approve once. Tandem places the legs in a set order and gives you a receipt.

Review

The review shows every leg as it would be placed now.

  • Fresh quotes. Each leg is priced from the market’s order book. Quotes refresh every 5 seconds while the review is open. A quote older than 15 seconds cannot be approved: the button asks you to refresh first.
  • Price limit. Choose how far from the current price you accept: 0.5%, 1%, 3% or 5%. The default is 1%. Each leg shows its limit price and the size available inside it.
  • Funding. If prediction or option legs need more cash at their venue, the review shows how much will be moved, from where, and the most it can cost. Perp legs need their margin where they trade: crypto in your main perp account, other markets in their own account. When your cash is in the other one, the review lists the move between them as a step, with no fee, and it is made before any order is sent.
  • Exposure cap. If the Book would take you over the cap, or past what your balance can pay for, a smaller share of the Book is offered.

If a leg cannot fill in full

One switch decides it. It starts on Stop if any leg can’t fill.

ChoiceWhat happens
Stop if any leg can’t fill (on)The Book is placed only if every leg can fill in full inside your limit. Otherwise nothing is sent and you are asked.
Switched offEach leg fills as far as it can inside your limit. Whatever cannot fill is cancelled.

Every leg is sent as best available price within your limit: it takes the best prices on offer and never goes past the limit.

Before your first real Book

The first time, the review lists the set-up steps your account still needs. Each is done once.

  • Turn on perps trading, which makes a trading key for your browser.
  • Approve Tandem’s builder fee on Hyperliquid, when one is set. See Fees.
  • Connect to Polymarket and enable trading. See set-up.

If you have no prediction account yet, a Book with prediction legs opens one as it is placed, after its money arrives. A Book’s legs are signed by your own account in your browser, even if you have let Tandem place your single orders.

One approval

Place Book approves the whole plan you reviewed. Tandem then checks the plan again on its server, including the quotes, your limits and the cap, before the first leg goes.

You signed in withWhat you are asked to sign
Email or GoogleNothing more. Your account signs each step for you.
Your own walletEach move of cash that is needed, and each prediction order. Perp orders are signed by the trading key in your browser without a prompt.

Leg order

Legs are placed one at a time. The order is fixed by rules:

  1. The leg with the least depth inside your limit goes first.
  2. On equal depth, prediction legs go before perps. They have more ways to fail: location rules, account approvals and the move of cash.
  3. Then hedges go before the main view.

If the riskiest leg misses, nothing else has been sent and the Book simply did not happen. If a later leg misses, what you hold is more likely to be a hedge whose most it can lose is its premium than a main position with no hedge.

When a leg misses

The states of a Book
The states of a Book as it is placedA Book moves from saved to review, approval, a final check, placing and complete. If it would go over the exposure cap, a smaller share is offered. If a check fails before anything fills, the Book pauses and you approve again or cancel. If a leg misses, the legs after it are not sent, the Book is partial, and you choose one of three things: complete the missing legs at a fresh quote, keep what filled, or unwind it.BookLegs, sides and sizes set.ReviewFresh quotes and your limits.ApprovedOne approval for the plan.Final checkChecked again on the server.PlacingOne leg at a time, in order.CompleteEvery approved leg filled.Over the capA smaller share is offered.PausedNothing has filled yet.Partial BookWhat you hold is shown.Complete the restFresh quote, approve again.KeepWhat filled stays open.UnwindClose what filled.you approveall checks passevery leg fillsover the capa check failsapprove againa leg missesyou choose one
Each leg is tracked on its own. A partial Book is shown as it actually stands.

If a check fails before anything has filled, the Book pauses. Nothing has been placed, and you approve again or cancel. If a leg misses after others have filled, the legs after it are not sent. The Book is partial, and the receipt shows what you actually hold.

Intended    $1,000 long perp + 100 Yes contracts
Filled      $1,000 long perp + 0 contracts
You hold    $1,000 of exposure without its hedge

You then choose one of three things:

ChoiceWhat happensWhat it costs
CompleteThe missing legs are quoted again. You review and approve them.The fresh price may be worse.
KeepWhat filled stays open, as it stands.The exposure stays, without its hedge.
UnwindWhat filled is closed inside your price limit. Perps close with reduce-only orders. Contracts are sold at the best bid.Fees and the spread, a second time.

Orders with no answer

Sometimes an order goes out and no answer comes back. Tandem marks the leg as unknown and sends nothing more until the venue says what happened. A leg is sent again only when the venue says the order does not exist, and at most three times. An order is never placed twice because an answer was lost.

The receipt

  • How many legs filled, and the average price of each.
  • Fees paid, and any cash moved to Polymarket.
  • The exposure this Book now holds, and anything that was not placed.
  • A warning when you hold a position without the hedge it was meant to have.
  • Links to the positions, and a log of every step.

These docs describe how Tandem works. They are general information, not financial advice. Trading can lose money. Tandem is in private beta. Status says what beta users can use today.