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

# Trade Flow / CVD

> Per time bucket: taker buy vs sell notional, net quantity, and the running cumulative volume delta (CVD). side = taker direction.

Order-flow analytics per time bucket: taker buy vs sell notional, net quantity, and the running **cumulative volume delta** (CVD) — a classic pressure signal. `side` is the taker's direction (long = bought). Choose `bucket` (1m to 1d) and bound with `after` / `before`.


## OpenAPI

````yaml GET /v3/perps/flow/{instrument}
openapi: 3.1.0
info:
  title: PolyNode API
  description: >-
    Real-time Polymarket data API with decoded mempool settlements, OHLCV
    candles, and full Polygon JSON-RPC proxy.
  contact:
    name: PolyNode
    url: https://polynode.dev
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.polynode.dev
    description: Production
security:
  - api_key: []
paths:
  /v3/perps/flow/{instrument}:
    get:
      tags:
        - Perps
      summary: Trade flow / CVD
      description: >-
        Per time bucket: taker buy vs sell notional, net quantity, and the
        running cumulative volume delta (CVD). side = taker direction.
      parameters:
        - name: instrument
          in: path
          required: true
          description: Instrument id (6), symbol (BTC-USD), or bare asset (btc).
          schema:
            type: string
        - name: bucket
          in: query
          required: false
          description: 1m, 5m, 15m, 1h, 4h, 1d (default 1h)
          schema:
            type: string
        - name: after
          in: query
          required: false
          description: Only rows after this time (Unix s or ms).
          schema:
            type: string
        - name: before
          in: query
          required: false
          description: Only rows before this time (Unix s or ms).
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Max rows.
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                instrument_id: 6
                symbol: BTC-USD
                bucket: 1h
                data:
                  - timestamp: 1783612800000
                    buy_notional: '69650.25'
                    sell_notional: '50066.44'
                    net_qty: '0.31442'
                    cvd: '0.314420'
                    trades: 417
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````