{
  "version": "1.0",
  "provenance": "Original simulated spot-market examples created by Token Trade Book. All prices, sizes and events are hypothetical.",
  "reuse": "The example data may be reused with attribution to Token Trade Book and a link to its methodology. Keep the simulation label.",
  "price_unit": "USD per base unit",
  "quantity_unit": "base units",
  "fee_unit": "USD",
  "opening_book": {
    "bids": [
      [
        "99.50",
        "2"
      ],
      [
        "99.00",
        "3"
      ]
    ],
    "asks": [
      [
        "100.00",
        "1"
      ],
      [
        "101.50",
        "2"
      ],
      [
        "102.00",
        "4"
      ]
    ]
  },
  "market_buy": {
    "quantity": "3"
  },
  "mixed_fee_limit_buy": {
    "quantity": "3",
    "limit": "101.00",
    "maker_rate": "0.001",
    "taker_rate": "0.002",
    "later_incoming_sell_quantity": "2"
  },
  "sell_stop_limit": {
    "quantity": "1",
    "trigger_feed": "last trade",
    "trigger": "95.00",
    "limit": "94.00",
    "time_in_force": "good till canceled",
    "events": [
      {
        "step": 1,
        "last_trade": "96.00"
      },
      {
        "step": 2,
        "last_trade": "95.00"
      },
      {
        "step": 3,
        "best_bid_at_submission": "93.00",
        "best_bid_quantity": "1"
      }
    ]
  },
  "expected_results": {
    "spread_usd": "0.50",
    "midpoint_usd": "99.75",
    "market_buy_filled_units": "3",
    "market_buy_value_usd": "303.00",
    "market_buy_average_usd_per_unit": "101.00",
    "market_buy_slippage_usd_per_unit": "1.00",
    "mixed_fill_fees_usd": "0.40200",
    "stop_limit_activated": true,
    "stop_limit_filled_units": "0",
    "stop_limit_remaining_units": "1"
  }
}
