{
  "schema": "BacktestPublicTutorialV1",
  "generated_at": "2026-11-17T07:59:29.842097+00:00",
  "synthetic": true,
  "trade": {
    "source": "examples/backtest/offline_replay.py",
    "profile": "taker_source_confirmed",
    "description": "Buy one share after observing a trade at 0.55, up to four orders. Limit: 0.60. Fee assumption: 25 bps.",
    "hash": "4ad91e80d48c809859268ab500b7b866ba486f8be41440ee1b024e236ef4d00d",
    "observations": [
      {
        "at": null,
        "event": "INITIAL",
        "cash": "100",
        "reserved": "0",
        "available": "100",
        "quantity": "0",
        "fees": "0",
        "valuation": "COMPLETE"
      },
      {
        "at": "2026-07-01T00:00:00+00:00",
        "event": "ORDER_RESERVED",
        "cash": "100",
        "reserved": "0.6015000000",
        "available": "99.3985000000",
        "quantity": "0",
        "fees": "0",
        "valuation": "COMPLETE"
      },
      {
        "at": "2026-07-01T00:00:01+00:00",
        "event": "ORDER_RESERVED",
        "cash": "100",
        "reserved": "1.2030000000",
        "available": "98.7970000000",
        "quantity": "0",
        "fees": "0",
        "valuation": "COMPLETE"
      },
      {
        "at": "2026-07-01T00:00:01+00:00",
        "event": "SOURCE_EXECUTION",
        "cash": "99.4436125000",
        "reserved": "0.6466125000",
        "available": "98.7970000000",
        "quantity": "1.0000000000",
        "fees": "0.0013875000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:01+00:00",
        "event": "ORDER_RELEASED",
        "cash": "99.4436125000",
        "reserved": "0.6015000000",
        "available": "98.8421125000",
        "quantity": "1.0000000000",
        "fees": "0.0013875000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:02+00:00",
        "event": "ORDER_RESERVED",
        "cash": "99.4436125000",
        "reserved": "1.2030000000",
        "available": "98.2406125000",
        "quantity": "1.0000000000",
        "fees": "0.0013875000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:02+00:00",
        "event": "SOURCE_EXECUTION",
        "cash": "98.8872250000",
        "reserved": "0.6466125000",
        "available": "98.2406125000",
        "quantity": "2.0000000000",
        "fees": "0.0027750000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:02+00:00",
        "event": "ORDER_RELEASED",
        "cash": "98.8872250000",
        "reserved": "0.6015000000",
        "available": "98.2857250000",
        "quantity": "2.0000000000",
        "fees": "0.0027750000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:03+00:00",
        "event": "ORDER_RESERVED",
        "cash": "98.8872250000",
        "reserved": "1.2030000000",
        "available": "97.6842250000",
        "quantity": "2.0000000000",
        "fees": "0.0027750000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:03+00:00",
        "event": "SOURCE_EXECUTION",
        "cash": "98.3308375000",
        "reserved": "0.6466125000",
        "available": "97.6842250000",
        "quantity": "3.0000000000",
        "fees": "0.0041625000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:03+00:00",
        "event": "ORDER_RELEASED",
        "cash": "98.3308375000",
        "reserved": "0.6015000000",
        "available": "97.7293375000",
        "quantity": "3.0000000000",
        "fees": "0.0041625000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:04+00:00",
        "event": "SOURCE_EXECUTION",
        "cash": "97.7744500000",
        "reserved": "0.0451125000",
        "available": "97.7293375000",
        "quantity": "4.0000000000",
        "fees": "0.0055500000",
        "valuation": "INCOMPLETE"
      },
      {
        "at": "2026-07-01T00:00:04+00:00",
        "event": "ORDER_RELEASED",
        "cash": "97.7744500000",
        "reserved": "0",
        "available": "97.7744500000",
        "quantity": "4.0000000000",
        "fees": "0.0055500000",
        "valuation": "INCOMPLETE"
      }
    ],
    "fills": [
      {
        "order_id": "threshold-buy-1",
        "fill_exchange_ts": "2026-07-01T00:00:01+00:00",
        "raw_price": "0.5550000000",
        "qty": "1.0000000000",
        "fee": "0.0013875000",
        "source_event_ids": [
          "synthetic-1"
        ]
      },
      {
        "order_id": "threshold-buy-2",
        "fill_exchange_ts": "2026-07-01T00:00:02+00:00",
        "raw_price": "0.5550000000",
        "qty": "1.0000000000",
        "fee": "0.0013875000",
        "source_event_ids": [
          "synthetic-2"
        ]
      },
      {
        "order_id": "threshold-buy-3",
        "fill_exchange_ts": "2026-07-01T00:00:03+00:00",
        "raw_price": "0.5550000000",
        "qty": "1.0000000000",
        "fee": "0.0013875000",
        "source_event_ids": [
          "synthetic-3"
        ]
      },
      {
        "order_id": "threshold-buy-4",
        "fill_exchange_ts": "2026-07-01T00:00:04+00:00",
        "raw_price": "0.5550000000",
        "qty": "1.0000000000",
        "fee": "0.0013875000",
        "source_event_ids": [
          "synthetic-4"
        ]
      }
    ],
    "source_sha256": "b5c06693a3a5f5f6bd1264ac34ff7c99b6dde2a1f374f33ac833d83d401e092e"
  },
  "pml2": {
    "source": "examples/backtest/pml2_threshold_replay.py",
    "profile": "realistic",
    "description": "Observe a YES ask of 0.50 with 20 shares of depth, then buy five shares with FAK. This tutorial explicitly sets execution delays and fees to zero.",
    "hash": "d4845c787fd9e1633fa1ebf42768fc6af4b4bb211c394f72468229ff4c341c62",
    "observations": [
      {
        "at": "2026-07-01T00:00:00+00:00",
        "event": "INITIAL",
        "cash": "10",
        "reserved": "0",
        "available": "10",
        "quantity": "0",
        "fees": "0",
        "valuation": "COMPLETE"
      },
      {
        "at": "2026-07-01T00:00:01+00:00",
        "event": "SOURCE_EXECUTION",
        "cash": "7.5000000000",
        "reserved": "0",
        "available": "7.5000000000",
        "quantity": "5.0000000000",
        "fees": "0E-10",
        "valuation": "INCOMPLETE"
      }
    ],
    "fills": [
      {
        "order_id": "threshold-buy-1",
        "fill_exchange_ts": "2026-07-01T00:00:01+00:00",
        "raw_price": "0.5000000000",
        "qty": "5.0000000000",
        "fee": "0.0000000000",
        "source_event_ids": [
          "threshold-book-1"
        ]
      }
    ],
    "source_sha256": "61ecbd055362e6662355edf7063a36f471296a3abfdc30352c02fb14f29842ff"
  }
}
