command.instrument.enable
Enable an instrument for trading.
Method
command.instrument.enable
Description
Enables a trading instrument, making it available for order submission and market data subscriptions.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
instrumentId | string | Yes | Instrument ID (e.g., "BINANCE:BTC/USDT") |
Result
Returns the updated instrument object.
Instrument Object
| Field | Type | Description |
|---|---|---|
instrumentId | string | Unique identifier |
venue | string | Exchange venue |
symbol | string | Trading symbol |
status | string | Updated status (ENABLED) |
| ... | ... | Other instrument fields |
Usage
result = await client.rpc("command.instrument.enable", {
"instrumentId": "BINANCE:BTC/USDT"
})
Example Response
{
"instrumentId": "BINANCE:BTC/USDT",
"venue": "BINANCE",
"symbol": "BTC/USDT",
"externalSymbol": "BTCUSDT",
"instrumentType": "SPOT",
"status": "ENABLED",
"baseAsset": "BTC",
"quoteAsset": "USDT"
}