Circuit

H100 Index Drift strategy report

Updated by the Circuit team

Summary

Trade H100 index drift, at 1x. Venue: Polymarket Perps · H100-USD · pUSD. Run this agent on Circuit

The agent holds one H100-USD position on Polymarket Perps: long, short or none, up to 1x your money. The H100 index is the mean of the last 24 hourly rental prints. The prints that leave the mean make part of the next index move known.

The agent trades that known move only when it is larger than the part that the book price already holds, plus fees, spread and funding. In the replay on a modelled book, the median 9-day result was +15.1% at a priced share of 0.10 and −2.8% at 0.25.

The priced share on the real book decides the result. In the first 4 recorded hours, 26 Nov 16:03 to 20:01 UTC, the median of the hourly values was 0.098. All 4 planned real-money tests passed, and a check of the current code passed. All sessions together gave +0.195972 pUSD.

  • Break-even share: 0.218
  • Median hourly share: 0.098
  • Median, share 0.15: +8.3%
  • Worst window, share 0.15: +3.0%
  • Median, share 0.25: −2.8%
  • Worst window, share 0.25: −14.9%
  • Trades a day: 3.9 to 4.6
  • Turnover a day: 4.3x to 5.0x
  • Cost a side, 25 USD: 15.6 bps
  • Cost a side, 1,000 USD: 22.0 bps
  • Prints, replay: 2 Oct to 26 Nov
  • Recorded book: 26 Nov 16:03 to 20:01

Results: the agent's rule on the prints after 30 Oct, on a modelled book, at 22.9 bps a side. Each is % of the position over 19 overlapping 9-day windows. Trades and turnover: priced share 0.15 to 0.25. Cost a side: round-trip cost per USD of taker volume on the recorded book, median, fees included. Priced share: 26 Nov 16:03 to 20:01 UTC.

Main risks

  • The book can price most of the drift. Between a priced share of 0.218 and 0.30 the replay median is below 0, −5.0% at 0.30. At 20:29 UTC on 26 Nov a paper log showed a share near 0.8.
  • At a priced share of 0.25 the worst 9-day window was −14.9% and the worst drawdown 19.7%; the 15% stop closes all and stops the agent.
  • The index comes from one provider, Ornn. A jump in the prints moves the index; a stop of the prints freezes it.
  • Costs rise with size. The cost a side is 15.6 bps at 25 USD and 30.3 bps at 3,000 USD on the recorded book.

Headline result

Median 9-day result in the replay, modelled book*: −2.8% to +15.1%. The agent's rule, % of the position, after 22.9 bps a side and funding. Low end: priced share 0.25, the share at which the replay chose the rules. High end: 0.10, near the first measured hours.

  • Share 0: +27.8%
  • Share 0.10: +15.1%
  • Share 0.15: +8.3%
  • Share 0.20: +1.6%
  • Share 0.25: −2.8%
  • Share 0.30: −5.0%

The result falls from share 0 to 0.30 as the book prices more of the drift. The break-even share is 0.218 at 22.9 bps a side.

Real book and real-money tests*

  • Priced share, median: 0.098
  • Break-even share: 0.218
  • Cost a side, 25 USD: 15.6 bps
  • Taker fee, real fills: 1 bp
  • Planned tests: 4 of 4 passed
  • Tests, total: +0.195972 pUSD

Priced share: median of 5 hourly values on the recorded book, 26 Nov 16:03 to 20:01 UTC. Cost a side: round-trip cost per USD of taker volume, median, fees included. Tests: four sessions with 24 pUSD, the last on the current code.

* Illustrative replay. Prints of 30 Oct to 26 Nov 19:00 UTC; the book is a model at a fixed priced share. Recorded book of 26 Nov 16:03 to 20:01 UTC. Not a forecast. Past results do not indicate future results.

Strategy

The H100-USD index is the mean of the last 24 hourly prints of the Ornn H100 rental price. Each hour one print enters the mean and the print of 24 hours ago leaves it. The leaving prints are known, so part of the next index move is known before the new prints come.

The perp price follows the index. When the book does not price the known move in full, a position in its direction earns the part that is left. The priced share is the part of the 16-hour drift that the book premium already holds.

Illustration. The index move goes into the position's result when the position closes. Funding goes into or out of the account each hour while a position is open. Fees and spread go out on each trade.

The drift signal

Each hour the agent rebuilds the 24 prints and predicts the index move over the next 6 hours.

  1. Read the newest Ornn print and the 24 prints of the index; OKX history fills a missing print.
  2. Check that the model index matches the live index within 0.5%.
  3. Predict each print that enters the mean as the mean of the last 3 prints.
  4. Compute the drift: the index change that the leaving prints and the predicted prints give over 6 hours.
  5. Scale the drift by k(6) = 0.723 to give the expected index move.

The cost test

The agent trades only the part of the move that the book has not priced, and only when it covers all costs.

  1. Wait 5 minutes after the new Ornn print; decide once an hour.
  2. Subtract the premium that the book holds now. Add the premium expected at the end of the 6 hours: the trailing priced share times the 16-hour drift at that time.
  3. Subtract the funding over 6 hours at the live hourly rate.
  4. Compare the expected gain with the full cost of a round trip: two book walks at the live book and two 1 bp taker fees.
  5. Open, keep or flip only when the gain is larger; close when the expected gain falls to 0.

Orders and risk exits

Each run makes at most one order, and every exit closes the position with taker orders.

  1. Size the position at the size setting, 60% to 100% of your money, capped at 1,000 USD.
  2. Send orders of at most 250 USD each, with a worst price 0.5% from the mid.
  3. Flip in two runs: first close the old side, then open the new side.
  4. Close the position when the newest print is 120 minutes old, as the index then freezes.
  5. Close all and stop when equity falls 15% below its best value, or when liquidation is nearer than 15% of the mark.

Stop and unwind

When you stop the agent, its position stays on Polymarket Perps. Ask Circuit in the app to unwind: it closes the position with one reduce-only order, and your money is back as pUSD. A real-money test ran Ask to unwind on a long: one reduce-only order closed the full position and the account held pUSD only.

Key facts

  • Holds: pUSD, one H100 position
  • Venue: Polymarket Perps, H100-USD
  • Minimum deposit: 25 pUSD
  • Leverage: Up to 1x
  • Margin: Cross, 3x maximum
  • Taker fee: 1 bp
  • Decisions: At most one an hour
  • Run interval: 60 s
  • Setting: Size, 60% to 100%
  • On unwind: Ask to unwind

Source: the agent's card, its settings and its code.

Parameter choices

Horizon

6 hours. On the training hours the best median 9-day result was +13.1% at 6 hours. It was +10.8% at 3 hours, +6.3% at 1 hour and −1.0% at 16 hours. Each horizon shows its best entry margin, exit level 0.

  • Horizon H: 6 hours
HorizonEntry marginMedian, 9 days
1 h10 bps+6.3%
3 h25 bps+10.8%
6 h0 bps+13.1%
16 h0 bps−1.0%

Replay on the prints before 30 Oct, priced share 0.25, 22.9 bps a side, 3 prints in the estimate. % of the position.

Prints in the estimate

3 prints. At 6 hours, the agent's horizon, the mean of the last 3 prints predicted the index change best, with R squared 0.502. The other estimates gave 0.496 for 6 prints, 0.487 for the OKX perp price, 0.446 for 12 prints and 0.434 for the last print. 3 prints were also best at 1 and 3 hours; 6 prints were best only at 16 hours, 0.320 against 0.314.

  • Prints, m: 3
EstimateR squared, 6 h
Last print0.434
3 prints0.502
6 prints0.496
12 prints0.446
OKX perp price0.487

Prints after 30 Oct. On the training hours, 3 prints also beat 6 prints at each horizon.

Drift scale

k(6) = 0.723, the slope of the real 6-hour index change against the drift on all hours. The slope was lower after 30 Oct at each horizon: 0.678 against 0.764 at 6 hours. The all-hours value uses both periods. It gives a smaller expected move than the 0.764 of the replay, so the cost test needs a larger drift for each trade.

  • k(6): 0.723
HorizonTo 30 OctFrom 30 OctAll hours
1 h0.9100.8690.890
3 h0.8380.7670.804
6 h0.7640.6780.723
16 h0.5750.4940.534

Slope of the real index change against the drift, OKX prints 2 Oct to 26 Nov.

Rule form

Rule U, the expected gain. It counts the premium that the book already holds and the funding over the hold. At 22.9 and 29 bps a side it had the higher median at each priced share: +8.3% against +7.1% at 0.15 and 22.9 bps. At 17.6 bps, near the cost of 25 to 100 USD positions, rule S had the higher median: +13.6% against +10.7% at 0.15. Its worst window was lower, +1.4% against +5.7%. Rule S trades 13.8 times the position a day and rule U 4.8 times. So each rise in cost takes about 3 times as much from rule S.

  • Rule: U, expected gain
Priced shareCost a sideRule URule S
0.1517.6 bps+10.7%+13.6%
0.1522.9 bps+8.3%+7.1%
0.2522.9 bps−2.8%−5.5%
0.1529 bps+6.9%−0.5%

Median 9-day result after 30 Oct, % of the position, modelled book. Rule S holds the sign of the 1-hour drift and trades 13.8 times the position a day; rule U trades 4.3 to 5.0 times (priced share 0.15 to 0.25).

Entry margin and exit level

Both 0. At 6 hours an entry margin of 0 gave the best median, +13.1%. The median was +12.7% at 10 bps, +9.0% at 25 bps and +8.0% at 50 bps. 10 bps had the better worst window, +0.1% against −4.9%, for 0.4 points less median. The cost test already asks for the full cost at the live book, so the agent takes the higher median. At 6 hours an exit level of 0 beat half the entry margin at each entry margin. It gave +12.7% against +11.6% at 10 bps, and +9.0% against +7.9% at 25 bps.

  • Entry margin: 0 bps
  • Exit level: 0 bps
MarginMedian, 9 daysWorst window
0 bps+13.1%−4.9%
10 bps+12.7%+0.1%
25 bps+9.0%−3.2%
50 bps+8.0%+0.2%

Replay on the prints before 30 Oct, horizon 6 hours, exit 0, priced share 0.25, 22.9 bps a side.

Trailing priced share

The median of the last 12 hourly priced shares; 0.25 until 6 hourly values exist. On the first recorded hours the 3, 6 and 12-hour medians gave the same error, 26.1 bps; the 12-hour median uses the most hours, so one unusual hour moves it least. The start value 0.25 is the share at which the replay chose the rules.

  • Trailing window: 12 hours
  • Start value: 0.25
Hour, 26 Nov UTCPriced share
16:000.136
17:000.120
18:000.080
19:000.027
20:000.098

Recorded book, 26 Nov 16:03 to 20:01 UTC. An hourly share uses only the minutes with an absolute 16-hour drift of 1% or more. The 20:00 value holds 2 minutes.

Decision wait

5 minutes after the new Ornn print, set by design. The ticker showed the new print 2 to 3 minutes after the hour. So at 5 minutes the index holds the print when the agent decides. On the 4 recorded decisions, with the wait counted from the index update, 2 minutes had the best net, −0.74% against −0.96% at 5 minutes.

  • Decision wait: 5 minutes
WaitDecisionsNet, % of position
2 min4−0.74%
5 min4−0.96%
15 min4−1.24%
30 min4−1.14%

Recorded book, 26 Nov 16:05 to 20:01 UTC, rule U, 25 USD, 3 s order delay.

Position and order size

At most 1,000 USD for one user, in orders of at most 250 USD, both set by design. The cost a side rises with size: 15.6 bps at 25 USD, 18.8 at 100, 22.0 at 1,000 and 30.3 at 3,000. At 1,000 USD it stays under the 22.9 bps a side of the replay; at 3,000 USD it is above it. An order of 250 USD keeps each walk near the low end of these costs.

  • Position limit: 1,000 USD
  • Largest order: 250 USD
  • Smallest change: 10.5 USD
Order sizeCost a side
25 USD15.6 bps
100 USD18.8 bps
1,000 USD22.0 bps
3,000 USD30.3 bps

Median cost of a taker walk on the recorded book, 26 Nov 16:03 to 20:18 UTC, open and close, two 1 bp fees, 3 s order delay. The smallest change is the close floor of 10.5 USD.

Worst price of an order

0.5% from the mid, set by design. The median cost of one buy order on the recorded book was 23.2 bps at 100 USD and 25.4 bps at 250 USD. The 0.5% worst price is above both, so a usual order fills. The 99th percentile walk of a 250 USD order plus 10 bps was 57.1 bps. The worst price is below it, so an order on a very thin book does not fill.

  • Worst price: 0.5%

Each order is a taker order that fills at once or not at all.

Drawdown stop

15% below the best equity, set by design: the limit of the ANT View agent on Polymarket Perps. At a priced share of 0.25 the worst drawdown in a 9-day window was 19.7%. A 10% stop had a higher median, −2.3% against −3.7%, and a smaller worst window, −10.3% against −14.4%. It fired in 14 of 19 windows, and each stop closes all and stops the agent. The 15% stop fired in 9; 20% and 25% never fired. At 0.15 the worst drawdown was 9.0% and no stop fired. The liquidation guard of 15% is also ANT View's value; a 1x short reaches liquidation after a rise of about 71%.

  • Drawdown stop: 15%
  • Liquidation guard: 15%
StopFiredMedian, 9 daysWorst
10%14−2.3%−10.3%
15%9−3.7%−14.4%
20%0−2.8%−14.9%
No stop0−2.8%−14.9%

Replay after 30 Oct, priced share 0.25, 22.9 bps a side, 19 overlapping 9-day windows. The liquidation guard closes when liquidation is nearer than 15% of the mark.

Data checks

The agent opens nothing on stale or wrong data. The book must be at most 15 s old and the ticker at most 90 s. In the recorded book the 99th percentile age was 0.2 s for the book and 2.5 s for the ticker. The model index must match the live index within 0.5%; the 99th percentile offset was 10.7 bps. The agent opens nothing new when the newest print is 70 minutes old. A print comes about 2 minutes after the hour, so at 70 minutes one print is missing.

  • Book age: 15 s
  • Ticker age: 90 s
  • Match tolerance: 0.5%
  • No new open after: 70 minutes
  • Close after: 120 minutes

Recorded book, 26 Nov 16:03 to 20:18 UTC (match offset to 20:01). Print age counts from the hour of the newest print; the index freezes at 120 minutes.

Size setting

100% by default, 60% to 100%, set by design. The position stays at 1x your money or less. At 60%, 25 pUSD gives a 15 USD position. The drawdown stop fires at a loss of 15% of equity, 3.75 USD. The position is then at least 11.25 USD, above the 10.5 USD close floor.

  • Size, default: 100%
  • Range: 60% to 100%

Risks

  • The book prices the drift. The replay median at 22.9 bps a side falls from +15.1% at a priced share of 0.10 to −5.0% at 0.30; break-even is 0.218. At 0.50 the worst window was −22.4% and the worst drawdown 30.9%. On 26 Nov the hourly share was 0.027 to 0.136 from 16:03 to 20:01 UTC, median 0.098; a paper log at 20:29 UTC showed near 0.8.
  • At a priced share of 0.25, 6 of 19 replay 9-day windows ended above 0. The worst window was −14.9% and the worst drawdown 19.7%.
  • The agent closes all and stops 15% below its best equity. In the replay the 15% stop closed at a drawdown of up to 15.3%. The stop reads the mark, which stood 1.5% to 2.2% above the book mid on 26 and 27 Nov. A new short shows a loss of about 2% at once.
  • A 1x short on cross margin reaches the maintenance level after a rise of about 71% (model, maintenance margin 1/6). The liquidation guard closes all when liquidation is nearer than 15% of the mark.
  • The index uses the Ornn H100 print only. A large print jump moves the index; the largest hourly change on record was 27%. When the prints stop, the index freezes at 120 minutes and the agent closes.
  • The cost a side is 15.6 bps at 25 USD, 22.0 bps at 1,000 USD and 30.3 bps at 3,000 USD. Many users on the same book pay more.
  • A long pays a positive hourly funding rate and a short receives it; at a negative rate a short pays. Settled rates were 0.06 to 3.09 bps an hour on 26 Nov 15:00 to 18:00 UTC and −17.6 bps at 01:00 UTC on 27 Nov.
  • After you stop the agent, the position stays and moves with the market until you ask Circuit to unwind.
  • In each real-money session Circuit refused the first open after its own margin step. The agent sends the same order again without the margin step, and this path filled in all three later sessions.

Glossary

Terms

  • Print: One hourly Ornn H100 SXM rental price. OKX publishes a copy as its H100-USDT index.
  • Index: The Polymarket reference price of H100-USD: the mean of the last 24 prints.
  • Drift: The index change over H hours that the leaving prints and the predicted new prints give.
  • Drift scale k(H): The measured slope of the real index change over H hours against the drift over H hours.
  • Premium: The book mid divided by the index, less 1.
  • Priced share: The premium divided by the 16-hour drift: the part of the known move that the book already holds.
  • Break-even share: The lowest priced share at which the replay median of the agent's rule is 0.
  • Expected gain: k(H) times the drift, plus the expected premium at the end of H, less the premium now, less the funding over H.
  • Round trip: An open and a close of the same size.
  • Cost a side: The cost of a round trip per USD of taker volume: two book walks and two taker fees, divided by two times the size. It uses the same unit as the replay's cost a side.
  • Full cost: Two book walks at the live book and two taker fees.
  • Rule U: The agent's rule: trade when the expected gain is larger than the full cost.
  • Rule S: The simpler rule: hold the sign of the 1-hour drift.
  • Window: 9 days of the replay; a new window starts each 24 hours.
  • Modelled book: A replay book whose mid is the index times 1 plus the priced share times the 16-hour drift.
  • Recorded book: The Polymarket Perps order book, trades and ticker, recorded from 26 Nov 16:02 UTC.

Replays

ReplayWindow (UTC)Data
Prints, training2 Oct 04:00 to 30 Oct 00:00OKX H100-USDT hourly closes, modelled book
Prints, test30 Oct 00:00 to 26 Nov 19:00Same, 668 hours, 19 windows
Recorded book26 Nov 16:03 to 20:18Polymarket Perps book, trades, ticker, funding; priced share to 20:01

Model

  • E: Estimate from a replay or a measurement on recorded data.

  • V: Verified from a source or a real-money test.

  • (E) Results are % of the position after costs and modelled funding, at 17.6, 22.9 and 29 bps a side.

  • (E) The modelled book mid is the index times 1 plus the priced share times the 16-hour drift, at fixed shares 0 to 0.5.

  • (E) The prints replay chose the horizon, the prints, the entry margin and the exit level. It chose them on the hours before 30 Oct, at a priced share of 0.25. It reports the hours after.

  • (E) Each recorded-book order walks the book at the decision time plus the order delay; funding is the settled hourly rate; the taker fee is 1 bp.

  • (V) Real H100 fills paid a 1 bp taker fee.

Model assumptions and validation scope

  • (E) The hero and the parameter results use a modelled book at a fixed priced share. The modelled book does not respond to the drift that it can see.
  • (E) The priced share on the real book is measured on 239 minutes so far, 26 Nov 16:03 to 20:01 UTC. The median of the hourly values is 0.098 and the median of the minutes 0.084; the 20:00 value holds 2 minutes. At 20:29 UTC a paper log showed a share of about 0.8 (premium about 200 bps, 16-hour drift about 240 bps).
  • (E) The 19 test windows overlap; they hold about 3.1 independent windows.
  • (E) The prints replay used the training slope 0.764 for k(6); the agent uses 0.723.
  • (E) The rule form is chosen on the hours after 30 Oct, on the modelled book. Rule S had the higher median on the hours before 30 Oct, +15.0% against +13.1%. It also had the higher median at 17.6 bps a side after 30 Oct, +13.6% against +10.7% at a priced share of 0.15.
  • (E) The decision wait, the trailing window and the 0.25 start value hold until the recorded book has 12 or more decisions; the recorded book had 4. The book replay counts the wait from the index update; the agent counts it from the Ornn print.
  • (E) Position limit, order size and worst price are set by the plan. The recorded book gave a 99th percentile walk plus 10 bps of 57.1 bps at 250 USD, above the 0.5% cap; an order past the cap does not fill.
  • (E) The drawdown stop and the liquidation guard read the mark. The mark stood 1.5% to 2.2% above the book mid on 26 and 27 Nov; the effect over days is not measured yet.
  • (E) The cost for many users on the same book is not measured.
  • (V) Paper runs charge 4 bps taker on H100; paper results need a 3 bps correction a side.
  • (V) The current code adds one order record. A real-money check of it passed: one open, the holdings lag and the old-print close.
  • (E) k(6) = 0.723 is the slope of all hours, the test hours included.
  • (E) On the first recorded hours the 0.25 start value set the expected premium about 60 bps above the book.
  • (E) The prints replay uses costs a side of 17.6 and 22.9 bps. These are the medians at 100 and 1,000 USD on the book of 26 Nov 16:03 to 17:39 UTC. The full recorded book gives 18.8 and 22.0 bps.
  • (E) The R squared of the prints uses the hours to 26 Nov 17:00 UTC.
  • (V) The close at 120 minutes ran with real money at a test age of 50 minutes, and the 15% drawdown stop at a test level of 0.1%.
  • (V) The unwind test asked Circuit from the command line, on a long; the app view of the unwind and the unwind of a short have no test.
  • (E) On the hours before 30 Oct the OKX perp price predicted the 6-hour index change slightly better than 3 prints, R squared 0.605 against 0.579; the agent uses the Ornn prints, the source of the index.
  • (E) The entry margin is chosen on the median; the worst window favoured 10 and 50 bps, +0.1% and +0.2% against −4.9%, in about 3 independent windows.
  • (E) The modelled book sets its premium with the same formula that rule U uses. At a priced share of 0.50 rule U had a median of +7.7% on this modelled premium move.

Tests of each rule

RuleReal moneyMarket start
Open, 1 bp fee, marginPassed, forcedNot yet
Close on the old printPassed, forcedNot yet
Flip in two runsPassed, forcedNot yet
Drawdown stopPassed, forcedNot yet
Stop and Ask to unwindPassedYes
Resend after the margin refusalPassedYes
Holdings lag, current codePassed, forcedNot yet
Liquidation guardNot run yetNot yet

Real money: four sessions with 24 pUSD on 26 and 27 Nov. The first session met a Circuit refusal and filled nothing, at a cost of 0. The next two passed all 4 planned tests; the fourth checked the current code. All sessions together gave +0.195972 pUSD. Forced: a test build of the agent set the side, the close age (50 minutes in place of 120) or the drawdown stop level (0.1% in place of 15%). Market start: market data, the user or a Circuit reply started the rule, not a test build of the agent.