CEX.IO

roq-cex-io

Environments

Production

Connection

URI

Comment(s)

REST

https://cex.io/api/

Cloudflare

WebSocket

wss://ws.cex.io/ws

Cloudflare

FIX

???

Data center

To be confirmed

Test

Warning

Does not exist.

Installation

Conda

Install

conda install -y roq-cex-io

Configuration

cp $CONDA_PREFIX/share/roq/cex-io/config.toml $CONFIG_FILE_PATH

# then modify $CONFIG_FILE_PATH to match your specific configuration

Using

roq-cex-io \
      --name "cex-io" \
      --config-file "$CONFIG_FILE_PATH" \
      --client-listen-address "$UNIX_SOCKET_PATH" \
      --metrics-listen-address "$TCP_LISTEN_PORT" \
      --rest-uri "$REST_URI" \
      --ws-uri "$WS_URI" \
      --fix-uri "$FIX_URI"

Flags

Only notable flags are mentioned here. Please refer to roq-cex-io --help for all flags.

Ansible

Add your host to the roq_cex-io group

[roq_cex_io]
MY_SERVER

Docker

docker pull roqtrading/roq-cex-io

Implementation

Restrictions

Incoming Events

Event

Connection

Message(s)

Comment(s)

ReferenceData

MarketStatus

TopOfBook

MarketByPrice

MarketByOrder

TradeSummary

SessionStatistics

DailyStatistics

OrderAck

OrderUpdate

TradeUpdate

PositionUpdate

FundsUpdate

Outgoing Events

Event

Connection

Message(s)

Comment(s)

CreateOrder

ModifyOrder

CancelOrder