Binary Order Entry Overview
Binary Order Entry is a persistent TCP/TLS connection for latency-sensitive order flow. Orders use the same authorization, risk and matching rules as HTTP and FIX. A short HTTP byte-batch route is available for onboarding and simple bots.
Connection
Read the live values from GET /api/v1/bsl/connectivity (bslTcp object). It is unauthenticated; an authenticated call also returns your account routing.
| Item | Value |
|---|---|
| Host, port, SNI | bsl.sentico-labs.xyz, 9001, bsl.sentico-labs.xyz |
| Protocol | senticore-bsl-tcp-v2, session version 2 |
| Transport | TCP with TLS, DNS-only record, not HTTP and not behind a CDN |
| Handshake | 48 bytes each way |
| Message header | 8 bytes: u32_le kind, u32_le payload_len |
| Order frame | 192-byte CompactActionFrame |
Verify the TLS certificate chain and keep certificate verification on.
Credentials
| Flow | Requirement |
|---|---|
| TCP order entry | Ed25519 session key registered for the account (Session keys) |
| HTTP byte batch | Signed actions plus an institutional_agent HMAC credential with quote scope, or a provisioned X-Senticore-Order-Entry-Key |
| Execution gap-fill | Private session token or HMAC credential with read scope |
Do not embed owner wallet keys in a quote engine. Wallet-signed AuthSidecarV1 frames are acknowledged with 202 and never applied; use session keys.
Connect
- Fetch
GET /api/v1/bsl/connectivityand cachebslTcpand the chain binding. - Register a session key.
- Open TCP, start TLS with the SNI above, set
TCP_NODELAY. - Send
HandshakeHello, readHandshakeAck, keep the 16-byte session token. - Send an
AuthSidecarfollowed by aCompactActionFrameper order. - Read
SequencedDatareplies and enable execution reports (Execution streams).
A TLS handshake or key registration does not prove order acceptance. Confirm a matched ack and a terminal execution report, then test a cancel and a reconnect before moving a quote loop.
Capabilities by connection
| Capability | Binary TCP | HTTP byte batch | FIX 4.4 | FIXP / SBE |
|---|---|---|---|---|
| Place, cancel | Yes | Yes | Yes | Yes |
| Atomic quote replace | Yes | Yes | Yes | Yes |
| Execution reports | Same connection | Gap-fill route | Drop copy | Same connection |
| Cancel on disconnect | Session-key policy | Explicit cleanup call | Credential setting | Credential setting |