Cycle 1 of 10
    Ranked run
    Marked P&L
    $0
    Crude + futures + logistics
    Crude owned
    0
    Net position
    0
    Tank A
    0%

    Terminal

    Client inbound

    None due

    Your crude
    0
    Client crude
    0
    Free space
    0

    Now

    Drag the tank handle to buy or sell.

    Outbound

    Overflow, off-site

    Delivery calendar

    No forward deliveries booked.

    Order ticket

    Cycle 1

    Local bid
    –
    Local ask
    –
    Spot
    –
    Dec futures
    –
    Orders for this cycle
    Physical crude

    Overflow storage

    WTI futures
    Futures orders by delivery month. A negative number sells.
    MonthOpenOrder, lotsAfter

    Price and logistics details
    Crude after
    –
    Net position
    –
    If prices move
    –
    Logistics
    –
    Tank space
    –
    Overflow
    –
    Hedge
    –

    WTI forward curve

    Solid line: this cycle. Dashed line: the previous cycle. Select a month to enter a futures order.

    Trade ledger

    Open book

    Profit and loss by component
    ComponentPositionP&L
    Futures by month
    Position and profit and loss by delivery month
    MonthPositionP&L
    Storage and clients

      Simulated terminal and prices · All times Central · 1 lot = 1,000 bbl

      Weekly challenge

      Trade the same ten-cycle market as everyone else. Share your score to see where you rank.

      Practice tutorial

      Step 1 of 3

      Buy and hedge crude

      Buy crude at the local ask, then sell WTI futures to hedge it. Each futures lot covers 1,000 barrels.

      Crude purchase and futures hedge
      Bid, ask and the hedge
      Bid, ask and spot
      The bid is what a local buyer pays you. The ask is what a local seller charges you. Spot is the reference price for crude today.
      Short WTI futures
      Selling a futures contract opens a short position in that month. One lot covers 1,000 barrels. If futures fall before you buy it back, the hedge gains and can offset a drop in the value of your crude.
      Net exposure
      Add the uncommitted barrels in lots to your signed futures positions. The starting 6,000 barrels and six short lots net to zero. A flat book can still gain or lose when spot and futures move by different amounts.

      How to play

      Run the book for ten cycles

      Each cycle is one trading day. Fill in the morning ticket and commit, then watch the day trade. In a generated market, midday news can give you a shorter afternoon ticket before the market moves overnight. After cycle ten, the desk closes any open positions and reports the final result.

      What you start with
      6,000 barrels of crude in Tank A and six short lots in the front futures month. Generated runs start at $72.20 per barrel with Dec sold at $73.60. Historical runs open at the prior close’s spot and front-month prices. One lot is 1,000 barrels.
      The tank
      Tank A holds 10,000 barrels and costs a fixed lease every cycle, full or empty. Clients pay you per barrel to store their crude in it. Anything that does not fit, yours or theirs, needs overflow space booked off-site.
      Physical trades
      Each ticket can buy crude, sell locally or ship to the Gulf Coast when a pipeline slot is open. If the local buyer walks away and available overflow falls short of existing storage needs, an emergency sale can free the minimum space needed at a worse price.
      Forward delivery
      On a morning ticket, commit owned crude to a later cycle at a fixed price based on the WTI month you choose and the route's basis. The WTI reference locks the physical sale price today. Reserved barrels count toward storage until delivery, and your futures hedge covers the uncommitted crude. The delivery calendar shows when cargo is due.
      Negotiating
      A local price is an opening price. You can ask the counterparty for more. If they refuse they come back once with a counter, which you can take, or you can ask one last time. A second refusal and they walk, and that route is closed for the session. How they sound is a guide to how far they will move.
      The afternoon
      On days with midday news you get a second, shorter ticket: local trades in half the size at ten cents worse, and futures. Clients and overflow are morning business only.
      Contango and backwardation
      Contango means futures are above spot. Backwardation means they are below spot. A hedged storage trade can gain as contango narrows. Compare the potential gain with tank rent, overflow costs and your exit bid.
      On watch
      Some days an event is on watch for the coming night, with its odds and roughly what it would do to futures and to spot. The odds are honest, but the size of the reaction is not exact, and fresh news at midday can move the odds. The ticket shows what your book would make or lose each way before you commit.
      The stocks report
      The weekly stocks report comes out at midday on both Wednesdays. It is close to a coin flip, it moves spot more than futures, and you get the afternoon to react to it.
      Expiry and the roll
      The ticket flags the expiring front month. Open contracts settle at spot in generated markets and at the recorded final settlement in historical scenarios. Roll and hedge closes the expiring position and adjusts the next listed month within the desk limits.
      Shocks
      About one day in ten the market is hit by something nobody saw coming, and prices move by several dollars. A shock that moves every price does nothing to a hedged book. One that moves spot hardest hits anyone holding crude, hedged or not.
      Historical scenarios
      Play seven episodes using daily spot and futures prices from the U.S. Energy Information Administration. Each day trades against the prior close and starts with a briefing on what was known then. The path is fixed, with one ticket per day. Estimated futures prices are display-only. Terminal bids, clients and storage rates are simulated.
      Reading the result
      After each ticket the desk separates the result into trading, price, basis, calendar spreads, client income and costs. The debrief compares your result with holding the hedged cargo. Generated runs also receive a grade based on the return and drawdown.
      The desk limits
      Ranked runs allow up to eight net lots long or short across uncommitted crude and futures. Weekly challenges use the ranked limit in effect when the week opens. Practice runs, including historical scenarios, have no net position limit. All runs can hold up to twenty gross futures lots across all months. When a draft crude trade exceeds the net limit, Stay within limit can draft just enough futures to bring it within the cap. You can edit the orders before committing. Hedge to flat adjusts the front-month order within the limits for the run. To trade a calendar spread, buy one month and sell another.
      Ranked and practice runs
      The first play of a newly generated market is ranked. Typed seeds, replays and historical scenarios are practice runs. The leaderboard groups earlier scores by the rules they used.
      Weekly challenge
      Play the same ten-cycle market as everyone else. The week resets Monday at 00:00 UTC. After settlement, choose a username to share your final P&L and drawdown. Higher P&L ranks first, with lower drawdown breaking ties.

      New run

      Start a new run

      Play a historical scenario

        Leaderboard

        Best ranked runs

        Ranked runs you have finished in this browser, by final P&L.

        What the game models

        You start with 6,000 barrels of crude in a 10,000-barrel tank at Cushing, hedged with six short WTI futures. Each cycle is one trading day. You fill in a morning ticket, commit it and watch the session trade. If news lands at midday you get a shorter afternoon ticket before the market moves overnight.

        • Physical trades. One order per ticket: buy, sell locally or, when a pipeline slot opens, ship to the Gulf Coast. Local bids and offers move around spot with events at the terminal, such as a refinery short of prompt crude or an outbound line down for maintenance.
        • Forward delivery. On a morning ticket, book a local sale or Gulf delivery for a later cycle. Your chosen WTI quote and the route basis fix the price. The calendar reserves the barrels and storage through delivery, and shows the route tariff and the margin against current spot after costs. Futures still trade on the ticket for the remaining open exposure.
        • Negotiation. A local price is an opening price. You can ask the counterparty for more. They may agree, come back once with a counter, or walk away and close the route for the session. An emergency bid can clear an existing overflow shortfall after a local buyer walks.
        • Storage. The tank costs a fixed lease whether it is full or empty. Clients pay per barrel to use it. Anything that does not fit, yours or theirs, needs overflow space booked off-site.
        • Hedging and the roll. Four futures months trade on the ticket, with a 20-lot gross cap across all months. Ranked runs cap the combined exposure from uncommitted crude and futures at eight net lots long or short. Practice runs, including historical scenarios, have no net cap. The first month expires at the close of the fifth day in generated markets. Historical scenarios use their own expiry dates. The hedge shortcut adjusts within the limits for the run.
        • The curve. When futures trade above spot (contango), the spread can make it worthwhile to store hedged crude if it covers tank rent, fees and the cost of getting the crude to a buyer.
        • Events and the stocks report. Some days an event is on watch for the coming night, with its odds and roughly what it would do to futures and to spot, and midday news can move those odds. The weekly stocks report lands at midday on both Wednesdays.
        • Shocks. About one day in ten the market is hit by something nobody saw coming and prices move by several dollars. A shock that moves every price does nothing to a hedged book. One that moves spot hardest hits anyone holding crude.

        The ticket is live, and parts you are not using stay folded away. Dragging the tank handle drafts the physical order and shows the volume beside the tank. The tank drawing, the position gauge and the profit-and-loss estimate update as you change an order, so you can see what a ticket does before it is sent.

        Reading the result

        After each ticket the desk explains the profit or loss: trade prices against spot, the whole curve moving on the net position, spot moving against futures, calendar spreads, client income and costs. The debrief adds these up over the run, grades the return against the largest fall along the way, and compares the result with simply holding the hedged cargo and never trading.

        Historical scenarios

        Open Historical scenarios to play seven episodes using real prices: the two weeks in April 2020 when WTI settled below zero, the March 2020 price war, the weeks after Russia invaded Ukraine in 2022, the attack on Abqaiq in September 2019, the Lehman week of September 2008 with its record squeeze on the expiring contract, OPEC’s decision not to cut output in November 2014, and Hurricane Harvey in 2017. Each is ten real trading days. Every morning you get a briefing on what was known at the time, and the day’s closing marks after you commit.

        Trading marks use the U.S. Energy Information Administration’s daily Cushing spot and NYMEX WTI futures series. Where a settlement is unavailable, the displayed estimate is view-only. The bids and offers around spot, the clients, the storage rates and the counterparties are still the game’s own, tuned to suit each period. Scenarios are practice runs: the outcome is a matter of record, so they are not ranked.

        Ranked and practice runs

        A market is generated from a seed, and its prices are the same every time that seed is played. Only the first play of a fresh random market is ranked on the leaderboard. Typing in a seed, or replaying one already seen, is a practice run. Scores are kept in your own browser and are not shared.

        Weekly challenge

        Everyone plays the same ten-cycle market for the week using the ranked net limit in effect when it opens. After settlement, you can publish your username, final P&L and drawdown. The shared board ranks by P&L and breaks ties by lower drawdown. A new market opens every Monday at 00:00 UTC.

        Limits of the model

        Outside the historical scenarios, all prices, bids and events are simulated. The price moves, event odds, shock sizes, storage rates and client fees are set for a short game and are not calibrated to market data. In a scenario the daily trading marks follow recorded prices. The tape animates between those closes for effect. Futures have no margin, the expiring month settles in cash at spot in generated markets and at the recorded expiry settlement in historical markets, and the terminal is a single tank. The counterparties are invented. It is a game about the trade-offs of a physical book and not a forecast or a trading tool.

        How it was built

        I directed the project and used AI coding tools, Codex and Claude Code, for the design detail and the implementation. The rules run in a separate engine that is tested by playing thousands of simulated days of random orders and checking that the accounting always reconciles.

        Back to projects