Skip to main content

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.

ItemValue
Host, port, SNIbsl.sentico-labs.xyz, 9001, bsl.sentico-labs.xyz
Protocolsenticore-bsl-tcp-v2, session version 2
TransportTCP with TLS, DNS-only record, not HTTP and not behind a CDN
Handshake48 bytes each way
Message header8 bytes: u32_le kind, u32_le payload_len
Order frame192-byte CompactActionFrame

Verify the TLS certificate chain and keep certificate verification on.

Credentials​

FlowRequirement
TCP order entryEd25519 session key registered for the account (Session keys)
HTTP byte batchSigned actions plus an institutional_agent HMAC credential with quote scope, or a provisioned X-Senticore-Order-Entry-Key
Execution gap-fillPrivate 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​

  1. Fetch GET /api/v1/bsl/connectivity and cache bslTcp and the chain binding.
  2. Register a session key.
  3. Open TCP, start TLS with the SNI above, set TCP_NODELAY.
  4. Send HandshakeHello, read HandshakeAck, keep the 16-byte session token.
  5. Send an AuthSidecar followed by a CompactActionFrame per order.
  6. Read SequencedData replies 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​

CapabilityBinary TCPHTTP byte batchFIX 4.4FIXP / SBE
Place, cancelYesYesYesYes
Atomic quote replaceYesYesYesYes
Execution reportsSame connectionGap-fill routeDrop copySame connection
Cancel on disconnectSession-key policyExplicit cleanup callCredential settingCredential setting

Next steps​