Binance · Capability

Binance Algo Trading API — Futures Algo

Binance Algo Trading API — Futures Algo. 2 operations. Lead operation: Futures TWAP new order. Self-contained Naftiko capability covering one Binance business surface.

Run with Naftiko BinanceFutures Algo

What You Can Do

POST
Createfuturestwaporder — Futures TWAP new order
/v1/sapi/v1/algo/futures/newordertwap
POST
Createfuturesvporder — Futures volume participation new order
/v1/sapi/v1/algo/futures/newordervp

MCP Tools

futures-twap-new-order

Futures TWAP new order

futures-volume-participation-new-order

Futures volume participation new order

Capability Spec

algo-trading-futures-algo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Binance Algo Trading API — Futures Algo
  description: 'Binance Algo Trading API — Futures Algo. 2 operations. Lead operation: Futures TWAP new order. Self-contained
    Naftiko capability covering one Binance business surface.'
  tags:
  - Binance
  - Futures Algo
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BINANCE_API_KEY: BINANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: algo-trading-futures-algo
    baseUri: https://api.binance.com
    description: Binance Algo Trading API — Futures Algo business capability. Self-contained, no shared references.
    resources:
    - name: sapi-v1-algo-futures-newOrderTwap
      path: /sapi/v1/algo/futures/newOrderTwap
      operations:
      - name: createfuturestwaporder
        method: POST
        description: Futures TWAP new order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: symbol
          in: query
          type: string
          required: true
        - name: side
          in: query
          type: string
          required: true
        - name: positionSide
          in: query
          type: string
        - name: quantity
          in: query
          type: string
          required: true
        - name: duration
          in: query
          type: integer
          required: true
        - name: clientAlgoId
          in: query
          type: string
        - name: reduceOnly
          in: query
          type: boolean
        - name: limitPrice
          in: query
          type: string
        - name: recvWindow
          in: query
          type: integer
        - name: timestamp
          in: query
          type: integer
          required: true
        - name: signature
          in: query
          type: string
          required: true
    - name: sapi-v1-algo-futures-newOrderVp
      path: /sapi/v1/algo/futures/newOrderVp
      operations:
      - name: createfuturesvporder
        method: POST
        description: Futures volume participation new order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: symbol
          in: query
          type: string
          required: true
        - name: side
          in: query
          type: string
          required: true
        - name: positionSide
          in: query
          type: string
        - name: quantity
          in: query
          type: string
          required: true
        - name: urgency
          in: query
          type: string
          description: Execution urgency. LOW, MEDIUM, HIGH.
          required: true
        - name: clientAlgoId
          in: query
          type: string
        - name: reduceOnly
          in: query
          type: boolean
        - name: limitPrice
          in: query
          type: string
        - name: recvWindow
          in: query
          type: integer
        - name: timestamp
          in: query
          type: integer
          required: true
        - name: signature
          in: query
          type: string
          required: true
    authentication:
      type: apikey
      key: X-MBX-APIKEY
      value: '{{env.BINANCE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: algo-trading-futures-algo-rest
    port: 8080
    description: REST adapter for Binance Algo Trading API — Futures Algo. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sapi/v1/algo/futures/newordertwap
      name: sapi-v1-algo-futures-newordertwap
      description: REST surface for sapi-v1-algo-futures-newOrderTwap.
      operations:
      - method: POST
        name: createfuturestwaporder
        description: Futures TWAP new order
        call: algo-trading-futures-algo.createfuturestwaporder
        with:
          symbol: rest.symbol
          side: rest.side
          positionSide: rest.positionSide
          quantity: rest.quantity
          duration: rest.duration
          clientAlgoId: rest.clientAlgoId
          reduceOnly: rest.reduceOnly
          limitPrice: rest.limitPrice
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sapi/v1/algo/futures/newordervp
      name: sapi-v1-algo-futures-newordervp
      description: REST surface for sapi-v1-algo-futures-newOrderVp.
      operations:
      - method: POST
        name: createfuturesvporder
        description: Futures volume participation new order
        call: algo-trading-futures-algo.createfuturesvporder
        with:
          symbol: rest.symbol
          side: rest.side
          positionSide: rest.positionSide
          quantity: rest.quantity
          urgency: rest.urgency
          clientAlgoId: rest.clientAlgoId
          reduceOnly: rest.reduceOnly
          limitPrice: rest.limitPrice
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: algo-trading-futures-algo-mcp
    port: 9090
    transport: http
    description: MCP adapter for Binance Algo Trading API — Futures Algo. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: futures-twap-new-order
      description: Futures TWAP new order
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: algo-trading-futures-algo.createfuturestwaporder
      with:
        symbol: tools.symbol
        side: tools.side
        positionSide: tools.positionSide
        quantity: tools.quantity
        duration: tools.duration
        clientAlgoId: tools.clientAlgoId
        reduceOnly: tools.reduceOnly
        limitPrice: tools.limitPrice
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: futures-volume-participation-new-order
      description: Futures volume participation new order
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: algo-trading-futures-algo.createfuturesvporder
      with:
        symbol: tools.symbol
        side: tools.side
        positionSide: tools.positionSide
        quantity: tools.quantity
        urgency: tools.urgency
        clientAlgoId: tools.clientAlgoId
        reduceOnly: tools.reduceOnly
        limitPrice: tools.limitPrice
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.