> ## Documentation Index
> Fetch the complete documentation index at: https://docs.55-tech.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Orders summary

> Aggregated order statistics.



## OpenAPI

````yaml /zh/mm-api/openapi.json get /api/v1/orders/summary
openapi: 3.1.0
info:
  title: MM-V2 Trading API
  description: >

    ## MM API


    The MM engine places orders, hedges positions, and tracks P&L automatically.

    This API lets you monitor trading activity, control your engine, and
    configure

    which market types and tournaments to trade.


    ### Authentication

    All endpoints require the `X-API-Key` header with your client UUID.


    ### Rate limits

    - REST API: 2,000 requests/minute per client

    - WebSocket: 5 concurrent connections per API key
  version: 1.0.0
servers: []
security: []
tags:
  - name: Trading Controls
    description: Pause, resume, stop, and start your trading engine.
  - name: Orders & Bets
    description: Inspect and cancel exchange orders, view hedge bets placed on bookmakers.
  - name: Performance
    description: Hedged positions, P&L and turnover, exchange account balances.
  - name: Configuration
    description: Choose which market types and tournaments your engine trades.
paths:
  /api/v1/orders/summary:
    get:
      tags:
        - Orders & Bets
      summary: Orders summary
      description: Aggregated order statistics.
      operationId: get_orders_summary_api_v1_orders_summary_get
      parameters:
        - name: fromDate
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            description: Filter orders created on or after this date (YYYY-MM-DD)
            title: Fromdate
          description: Filter orders created on or after this date (YYYY-MM-DD)
        - name: toDate
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            description: Filter orders created on or before this date (YYYY-MM-DD)
            title: Todate
          description: Filter orders created on or before this date (YYYY-MM-DD)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderSummary'
        '401':
          description: Invalid or missing API key
        '404':
          description: Resource not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OrderSummary:
      properties:
        totalOrders:
          type: integer
          title: Totalorders
          description: Total number of orders
        fixtureCount:
          type: integer
          title: Fixturecount
          description: Number of unique fixtures
        exchangeCount:
          type: integer
          title: Exchangecount
          description: Number of unique exchanges
        totalStake:
          type: number
          title: Totalstake
          description: Sum of all order stakes
        totalMatched:
          type: number
          title: Totalmatched
          description: Sum of all matched stakes
        totalOpen:
          type: number
          title: Totalopen
          description: Sum of open (unmatched) stakes
        filledCount:
          type: integer
          title: Filledcount
          description: Number of filled orders
        cancelledCount:
          type: integer
          title: Cancelledcount
          description: Number of cancelled orders
        openCount:
          type: integer
          title: Opencount
          description: Number of open orders
      type: object
      required:
        - totalOrders
        - fixtureCount
        - exchangeCount
        - totalStake
        - totalMatched
        - totalOpen
        - filledCount
        - cancelledCount
        - openCount
      title: OrderSummary
      description: Summary of order statistics for a client.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Client API key (UUID format). Get your key from the admin dashboard.

````