Skip to main content
Streaming API chạy tại https://streaming-oms.verolabs.co. Terminal mở một connection dùng chung, sau đó tạo subscription theo từng channel.

Connection endpoints

Terminal ưu tiên WebSocket, sau đó HTTP stream, cuối cùng là SSE fallback.

Subscribe request

Sau khi kết nối, subscribe từng channel cần thiết. Mỗi subscription xác định một channel:

Message payload

Mỗi channel update chứa message payload. Payload có thể là JSON value hoặc JSON-encoded string. Parse string trước khi áp dụng channel schema.

Market channels

Trading channels

Client subscribe một channel order: cho mỗi account được phép truy cập. Account list và snapshot được load qua authenticated REST API trước khi mở stream subscription.

ProductInfo

Depth

TradeLog and OHLCV

OrderExecutionReport

AccountStateReport