object — Additional properties rejected
| Field | Required at this level | Type | Description and constraints |
|---|---|---|---|
name |
Yes | string |
— |
family |
Yes | string |
Allowed: BOOTSTRAP, MAINTAIN, DIVERSIFY, COMPOSED |
compilerVersion |
Yes | Constant strategy-dsl-v1 |
— |
sleeves |
Yes | Array of object |
Min items: 1 |
sleeves[].id |
Yes | string |
— |
sleeves[].kind |
Yes | string |
Allowed: CORE_LIQUIDITY, DEFENSIVE_DOWNSIDE, UPSIDE_SELLING, STABLE_RESERVE, EMERGENCY_RESERVE |
sleeves[].allocationPips |
Yes | Pips | — |
sleeves[].lowerPriceOffsetPips |
Yes | integer |
— |
sleeves[].upperPriceOffsetPips |
Yes | integer |
— |
sleeves[].minimumCapitalQuote |
Yes | AtomicAmount | — |
sleeves[].maximumCapitalQuote |
Yes | AtomicAmount | — |
sleeves[].enabled |
Yes | boolean |
— |
triggers |
Yes | Array of object |
— |
triggers[].id |
Yes | string |
— |
triggers[].metric |
Yes | string |
Allowed: PRICE, INVENTORY, DEPTH, VOLATILITY, ORACLE_HEALTH, TIME |
triggers[].operator |
Yes | string |
Allowed: LT, LTE, GT, GTE, EQ |
triggers[].threshold |
Yes | string |
— |
triggers[].response |
Yes | string |
Allowed: RECOMMEND, PREPARE, TIGHTEN, PAUSE |
cooldownSeconds |
Yes | integer |
Minimum: 0 |
maximumDailyTurnoverPips |
Yes | Pips | — |
minimumPriceX18 |
No | AtomicAmount | — |
capitalLimitQuote |
Yes | AtomicAmount | — |
oracleMaximumAgeSeconds |
Yes | integer |
Minimum: 1 |
worstCaseLossLimitPips |
Yes | Pips | — |
legacyStrategyVersion |
No | string |
— |
sourcePackage |
No | StrategyPackageSourceLineage | — |
Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.
Exact definition: #/components/schemas/StrategyDefinitionV2 in the OpenAPI contract.