tradeSelect

Join a trading channel.

Clears the roster and chat before joining, so a re-select never shows the previous channel's rows. The roster then streams in — read it from `trade` a moment later, or take it off the WebSocket.

In Trading.

Request

POST /api/v1/sessions/{accountKey}/actions/tradeSelect

Parameters

NameTypeRequiredDescription
indexintegeryesFrom `tradeChannels`.

Example request

{ "index": 1 }

Response

`{ ok: true, index }`.

FieldTypeMeaning
okbooleanWhether the channel was joined.
indexintegerThe channel now joined — the `index` that was asked for.

Example response

{ "ok": true, "index": 1 }

Errors

CodeWhen
action_failedThe channel is full, the index is unknown, or the select timed out.
plan_limitNot on the free plan.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.