Skip to main content

Instruments

CHANNEL

wss://ws.kraken.com/v2

instrument

The instrument channel provides a stream of reference data of all active assets and tradeable pairs.

It provides the symbol identifiers, precisions, trading parameters and rules.

Subscribe Request

MESSAGE BODY

method string required
Value: subscribe
params object
channel string required
Value: instrument
snapshot boolean
Possible values: [true, false]
Default value: true
Request a snapshot after subscribing.
req_id integer
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot / Update Responses

The snapshot and update responses share the same schema.

MESSAGE BODY

channel string
Value: instrument
type string
Possible values: [snapshot, update]
data object
assets array [
A list of assets.
[many] asset object
borrowable boolean
Possible values: [true, false]
Flag if asset is borrowable.
collateral_value float
Valuation as margin collateral (if applicable).
id string
Asset identifier.
margin_rate float
Interest rate to borrow the asset.
precision integer
Maximum precision for asset ledger, balances.
precision_display integer
Recommended display precision.
status string
Possible values: [depositonly, disabled, enabled, fundingtemporarilydisabled, withdrawalonly, workinprogress]
Status of asset.
]
pairs array [
A list of pairs.
[many] pair object
base string
Asset identifier of the base currency.
quote string
Asset identifier of the quote currency.
cost_min string
Minimum cost (price * qty) for new orders.
cost_precision integer
Maximum precision used for cost prices.
has_index boolean
Whether the pair has an index available for example stop-loss triggers.
margin_initial float
Initial margin requirement (in percent, if marginable).
marginable boolean
Possible values: [true, false]
Whether the pair can be traded on margin.
position_limit_long integer
Limit for long positions (marginable pairs).
position_limit_short integer
Limit for short positions (marginable pairs).
price_increment float
Minimum price increment for new orders.
price_precision integer
Maximum precision used for order prices.
qty_increment float
Minimum quantity increment for new orders.
qty_min float
Minimum quantity (in base currency) for new orders.
qty_precision integer
Maximum precision used for order quantities.
status string
Possible values: [cancel_only, delisted, limit_only, maintenance, online, post_only, reduce_only, work_in_progress]
Status of pair.
symbol string
Example: "BTC/USD"
The symbol of the currency pair.
tick_size float deprecated
Deprecated Usage: Use 'price_increment'.
Minimum price increment for new orders.
]

Unsubscribe Request

MESSAGE BODY

method string required
Value: unsubscribe
params object
channel string required
Value: instrument
req_id integer
Optional client originated request identifier sent as acknowledgment in the response.