SDK7 min

SDK Quickstart

Use the TypeScript SDK to mirror Market Tracker parameters from CI — same metaphors as the home CONFIG panel.

Install

npm install @deploy-engine/sdk (illustrative package name for this template).

// CI gate before promote
import { DeployClient } from "@deploy-engine/sdk";

const client = new DeployClient({ token: process.env.DE_TOKEN });
const ok = await client.policy.check({
  volatility: 0.5,
  concentration: 0.8,
  spread: 0.02
});
if (!ok.withinEnvelope) process.exit(1);

Map HUD → policy

CONFIG controlSDK fieldTypical gate
Market VolatilityvolatilityFreeze if above desk max
Capital ConcentrationconcentrationBook-level cap
Execution SpreadspreadPre-trade guard
Liquidity Vel.liquidityVelocityRollout cadence

Fail the pipeline if envelopes are breached, then attach audit metadata automatically.

Next: Webhooks →