naftiko: 1.0.0-alpha2 info: label: Bloomberg EMSX Trading API — Fills description: 'Bloomberg EMSX Trading API — Fills. 2 operations. Lead operation: Bloomberg EMSX List fills. Self-contained Naftiko capability covering one Bloomberg Emsx business surface.' tags: - Bloomberg Emsx - Fills created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BLOOMBERG_EMSX_API_KEY: BLOOMBERG_EMSX_API_KEY capability: consumes: - type: http namespace: trading-fills baseUri: https://api.bloomberg.com/emsxapi/v1 description: Bloomberg EMSX Trading API — Fills business capability. Self-contained, no shared references. resources: - name: fills path: /fills operations: - name: listfills method: GET description: Bloomberg EMSX List fills outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ticker in: query type: string description: Filter fills by Bloomberg security ticker - name: broker in: query type: string description: Filter fills by broker code - name: orderSequenceNumber in: query type: integer description: Filter fills by parent order sequence number - name: routeId in: query type: integer description: Filter fills by route identifier - name: fromDate in: query type: string description: Filter fills on or after this date - name: toDate in: query type: string description: Filter fills on or before this date - name: limit in: query type: integer description: Maximum number of fills to return - name: offset in: query type: integer description: Number of fills to skip for pagination - name: fills-fillId path: /fills/{fillId} operations: - name: getfill method: GET description: Bloomberg EMSX Get fill details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fillId in: path type: integer description: Unique identifier of the fill required: true authentication: type: bearer token: '{{env.BLOOMBERG_EMSX_API_KEY}}' exposes: - type: rest namespace: trading-fills-rest port: 8080 description: REST adapter for Bloomberg EMSX Trading API — Fills. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/fills name: fills description: REST surface for fills. operations: - method: GET name: listfills description: Bloomberg EMSX List fills call: trading-fills.listfills with: ticker: rest.ticker broker: rest.broker orderSequenceNumber: rest.orderSequenceNumber routeId: rest.routeId fromDate: rest.fromDate toDate: rest.toDate limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/fills/{fillid} name: fills-fillid description: REST surface for fills-fillId. operations: - method: GET name: getfill description: Bloomberg EMSX Get fill details call: trading-fills.getfill with: fillId: rest.fillId outputParameters: - type: object mapping: $. - type: mcp namespace: trading-fills-mcp port: 9090 transport: http description: MCP adapter for Bloomberg EMSX Trading API — Fills. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: bloomberg-emsx-list-fills description: Bloomberg EMSX List fills hints: readOnly: true destructive: false idempotent: true call: trading-fills.listfills with: ticker: tools.ticker broker: tools.broker orderSequenceNumber: tools.orderSequenceNumber routeId: tools.routeId fromDate: tools.fromDate toDate: tools.toDate limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: bloomberg-emsx-get-fill-details description: Bloomberg EMSX Get fill details hints: readOnly: true destructive: false idempotent: true call: trading-fills.getfill with: fillId: tools.fillId outputParameters: - type: object mapping: $.