---
title: "trade.instrument@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/trade.instrument"
updated: null
---

# trade.instrument@1 · OpenVibe.Services

HTML: [trade.instrument@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/trade.instrument)

# TradeInstrument `trade.instrument@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: trade
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/trade/instrument.v1.json`](/docs/contracts/trade.instrument.json)

trade.instrument@1: one instrument as OpenVibe.Trade's API shows it (server/domain/reading.js instrumentDto).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  |  |
| `symbol` | string | yes |  |  |
| `name` | string | yes |  |  |
| `kind` | enum | yes |  | - `one of "equity", "fund", "index", "currency", "commodity", "crypto", "other"` |
| `exchange` | string \| null |  |  |  |
| `cik` | string \| null |  |  | - `pattern ^[0-9]{10}$` |
| `currency` | string \| null |  |  |  |
| `status` | enum | yes |  | - `one of "active", "archived"` |
| `url` | string | yes |  |  |
| `created_at` | string \| null |  |  | - `format date-time` |
| `updated_at` | string \| null |  |  | - `format date-time` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: equity

~~~~
{
  "id": "ins_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "symbol": "ACME",
  "name": "Acme Corporation",
  "kind": "equity",
  "exchange": "NASDAQ",
  "cik": "0000123456",
  "currency": "USD",
  "status": "active",
  "url": "https://openvibe.trade/i/ACME",
  "created_at": "2026-09-20T10:00:00.000Z",
  "updated_at": "2026-09-20T10:00:00.000Z"
}
~~~~

Rejected: bad-kind

~~~~
{
  "id": "ins_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "symbol": "ACME",
  "name": "Acme Corporation",
  "kind": "bond",
  "exchange": "NASDAQ",
  "cik": "0000123456",
  "currency": "USD",
  "status": "active",
  "url": "https://openvibe.trade/i/ACME",
  "created_at": "2026-09-20T10:00:00.000Z",
  "updated_at": "2026-09-20T10:00:00.000Z"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('trade.instrument@1', value);   // { valid, errors: [{ path, message }] }
~~~~
