@polyester/sdk 0.36.0-devnet-20261119181946 → 0.36.0-devnet-20261119184734
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/dist/realtime/client.js +7 -1
- package/dist/realtime/client.js.map +1 -1
- package/dist/services/account-activity/account-activity.schemas.d.ts +6 -6
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/api-keys/api-keys.schemas.d.ts +6 -6
- package/dist/services/assistant/assistant-events.schemas.d.ts +63 -34
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +3 -3
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +5 -5
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +104 -104
- package/dist/services/notifications/notifications.schemas.d.ts +4 -4
- package/dist/services/orders/order-errors.schemas.d.ts +6 -6
- package/dist/services/orders/orders-batch.schemas.d.ts +79 -79
- package/dist/services/orders/orders-input.schemas.d.ts +10 -10
- package/dist/services/orders/orders-output.schemas.d.ts +14 -14
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +11 -11
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.schemas.d.ts +2 -2
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +18 -18
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +51 -51
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/package.json +1 -1
|
@@ -628,6 +628,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
628
628
|
maxSlippageBps?: undefined;
|
|
629
629
|
legs?: undefined;
|
|
630
630
|
quotedAt?: undefined;
|
|
631
|
+
/** Approving after this executes nothing. */
|
|
631
632
|
expiresAt?: undefined;
|
|
632
633
|
} | {
|
|
633
634
|
type: "place_orders";
|
|
@@ -966,6 +967,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
966
967
|
maxSlippageBps?: undefined;
|
|
967
968
|
legs?: undefined;
|
|
968
969
|
quotedAt?: undefined;
|
|
970
|
+
/** Approving after this executes nothing. */
|
|
969
971
|
expiresAt?: undefined;
|
|
970
972
|
} | {
|
|
971
973
|
type: "cancel_orders";
|
|
@@ -1013,6 +1015,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1013
1015
|
maxSlippageBps?: undefined;
|
|
1014
1016
|
legs?: undefined;
|
|
1015
1017
|
quotedAt?: undefined;
|
|
1018
|
+
/** Approving after this executes nothing. */
|
|
1016
1019
|
expiresAt?: undefined;
|
|
1017
1020
|
} | {
|
|
1018
1021
|
type: "order_change";
|
|
@@ -1062,6 +1065,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1062
1065
|
maxSlippageBps?: undefined;
|
|
1063
1066
|
legs?: undefined;
|
|
1064
1067
|
quotedAt?: undefined;
|
|
1068
|
+
/** Approving after this executes nothing. */
|
|
1065
1069
|
expiresAt?: undefined;
|
|
1066
1070
|
} | {
|
|
1067
1071
|
type: "trigger_change";
|
|
@@ -1075,7 +1079,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1075
1079
|
quantity: string;
|
|
1076
1080
|
action: "unspecified" | "pause" | "modify" | "resume";
|
|
1077
1081
|
before: {
|
|
1078
|
-
status: "unspecified" | "
|
|
1082
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
1079
1083
|
triggerPrice: string | undefined;
|
|
1080
1084
|
trailingDistance: {
|
|
1081
1085
|
kind: "distance";
|
|
@@ -1099,7 +1103,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1099
1103
|
limitPrice: string | undefined;
|
|
1100
1104
|
} | undefined;
|
|
1101
1105
|
after: {
|
|
1102
|
-
status: "unspecified" | "
|
|
1106
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
1103
1107
|
triggerPrice: string | undefined;
|
|
1104
1108
|
trailingDistance: {
|
|
1105
1109
|
kind: "distance";
|
|
@@ -1152,6 +1156,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1152
1156
|
maxSlippageBps?: undefined;
|
|
1153
1157
|
legs?: undefined;
|
|
1154
1158
|
quotedAt?: undefined;
|
|
1159
|
+
/** Approving after this executes nothing. */
|
|
1155
1160
|
expiresAt?: undefined;
|
|
1156
1161
|
} | {
|
|
1157
1162
|
type: "cancel_trigger";
|
|
@@ -1192,6 +1197,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1192
1197
|
maxSlippageBps?: undefined;
|
|
1193
1198
|
legs?: undefined;
|
|
1194
1199
|
quotedAt?: undefined;
|
|
1200
|
+
/** Approving after this executes nothing. */
|
|
1195
1201
|
expiresAt?: undefined;
|
|
1196
1202
|
} | {
|
|
1197
1203
|
type: "swap";
|
|
@@ -1281,6 +1287,7 @@ declare function formatApprovalPreview(p: ApprovalRequested["preview"]): {
|
|
|
1281
1287
|
maxSlippageBps?: undefined;
|
|
1282
1288
|
legs?: undefined;
|
|
1283
1289
|
quotedAt?: undefined;
|
|
1290
|
+
/** Approving after this executes nothing. */
|
|
1284
1291
|
expiresAt?: undefined;
|
|
1285
1292
|
};
|
|
1286
1293
|
type AssistantApprovalPreview = ReturnType<typeof formatApprovalPreview>;
|
|
@@ -1304,7 +1311,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1304
1311
|
attachedRisk: {
|
|
1305
1312
|
takeProfit: {
|
|
1306
1313
|
state: {
|
|
1307
|
-
status: "unspecified" | "
|
|
1314
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
1308
1315
|
armedTs: number | undefined;
|
|
1309
1316
|
armedTsNs: string | undefined;
|
|
1310
1317
|
terminalTs: number | undefined;
|
|
@@ -1324,7 +1331,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1324
1331
|
} | undefined;
|
|
1325
1332
|
stopLoss: {
|
|
1326
1333
|
state: {
|
|
1327
|
-
status: "unspecified" | "
|
|
1334
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
1328
1335
|
armedTs: number | undefined;
|
|
1329
1336
|
armedTsNs: string | undefined;
|
|
1330
1337
|
terminalTs: number | undefined;
|
|
@@ -1344,7 +1351,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1344
1351
|
} | undefined;
|
|
1345
1352
|
trailingStop: {
|
|
1346
1353
|
state: {
|
|
1347
|
-
status: "unspecified" | "
|
|
1354
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
1348
1355
|
armedTs: number | undefined;
|
|
1349
1356
|
armedTsNs: string | undefined;
|
|
1350
1357
|
terminalTs: number | undefined;
|
|
@@ -1375,7 +1382,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1375
1382
|
oco: boolean;
|
|
1376
1383
|
} | undefined;
|
|
1377
1384
|
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | "market_halted" | "attached_exit_fired" | "stp_decrement" | "price_band" | "cancel_on_disconnect" | undefined;
|
|
1378
|
-
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "
|
|
1385
|
+
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "INSUFFICIENT_FUNDS" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "NOT_FOUND" | "SUBACCOUNT_INACTIVE" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "API_KEY_SPOT_TRADE_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "QUOTE_SIZE_TOO_SMALL" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "SELF_TRADE_PREVENTED" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | "PATH_BODY_ID_MISMATCH" | "REQUEST_DEADLINE_EXCEEDED" | "ICEBERG_NOT_ALLOWED" | "ICEBERG_DISPLAY_TOO_SMALL" | "ICEBERG_DISPLAY_INVALID" | "PEG_LIMIT_VIOLATION" | "PEG_REFERENCE_UNAVAILABLE" | "INVALID_PEG" | "TRIGGER_ACTIVATION_PRICE_NOT_MODIFIABLE" | "CLIENT_LIST_ID_INVALID" | undefined;
|
|
1379
1386
|
price: string;
|
|
1380
1387
|
createdTs: number;
|
|
1381
1388
|
terminalTs: number;
|
|
@@ -1390,7 +1397,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1390
1397
|
hiddenQty?: string | undefined;
|
|
1391
1398
|
symbolId: number;
|
|
1392
1399
|
clientOrderId: string;
|
|
1393
|
-
status: "unspecified" | "
|
|
1400
|
+
status: "unspecified" | "pending" | "canceled" | "rejected" | "pending_cancel" | "working" | "filled" | "partial";
|
|
1394
1401
|
side: "unspecified" | "buy" | "sell";
|
|
1395
1402
|
orderType: "unspecified" | "limit" | "market";
|
|
1396
1403
|
timeInForce: "unspecified" | "gtc" | "ioc" | "fok" | "gtd";
|
|
@@ -1429,12 +1436,12 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1429
1436
|
triggers: ({
|
|
1430
1437
|
runtimeDetails: TriggerDetailsOutput;
|
|
1431
1438
|
version: number;
|
|
1432
|
-
cancelReason: "unspecified" | "
|
|
1439
|
+
cancelReason: "unspecified" | "oco" | "user_request" | "account_repair" | "market_halted" | "parent_canceled_no_fill" | "self_trade_prevention" | "pair_drain_trigger" | "pair_drain_twap" | "pair_drain_ladder" | "pair_drain_attached_leg" | "cancel_all" | "missing_reason_code" | "internal_error";
|
|
1433
1440
|
failureReason: undefined;
|
|
1434
1441
|
triggerId: string;
|
|
1435
1442
|
subaccountId: string;
|
|
1436
1443
|
symbolId: number;
|
|
1437
|
-
status: "unspecified" | "
|
|
1444
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
1438
1445
|
parentOrderId: string | undefined;
|
|
1439
1446
|
orderListId: string | undefined;
|
|
1440
1447
|
qty: string;
|
|
@@ -1616,11 +1623,11 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1616
1623
|
runtimeDetails: TriggerDetailsOutput;
|
|
1617
1624
|
version: number;
|
|
1618
1625
|
cancelReason: undefined;
|
|
1619
|
-
failureReason: "unspecified" | "
|
|
1626
|
+
failureReason: "unspecified" | "market_halted" | "missing_reason_code" | "internal_error" | "unknown_symbol" | "pair_disabled" | "min_notional" | "tick_size" | "insufficient_funds" | "risk_limit" | "duplicate_client_id" | "engine_busy" | "account_unknown" | "order_unknown" | "post_only_cross" | "reduce_only_blocked" | "price_band_violation" | "market_cap_violation" | "empty_book" | "fok_insufficient_liquidity" | "fee_asset_not_allowed" | "market_price_unavailable" | "stale_quote" | "min_quantity" | "step_size" | "invalid_sizing" | "quote_size_too_small" | "fee_ceiling_exceeded" | "trigger_price_invalid" | "trigger_price_source_unsupported" | "trailing_distance_invalid" | "modification_requires_replace" | "order_already_terminal" | "conflict_idempotency_key_reuse" | "rate_limited" | "policy_spot_trade_deny" | "policy_market_deny" | "policy_max_notional" | "policy_max_open_orders" | "policy_trading_halted" | "max_slippage_invalid" | "invalid_time_in_force" | "duplicate_order_id" | "max_quantity" | "max_notional" | "pair_post_only" | "max_open_orders_total" | "stp_mode_not_allowed" | "pair_backlogged" | "mode_not_supported" | "market_quote_stale" | "market_quote_unhealthy" | "qty_invalid" | "limit_price_invalid" | "twap_interval_invalid" | "ladder_range_too_narrow" | "ladder_levels_invalid" | "attached_legs_exceeded" | "price_levels_exhausted" | "settlement_backlogged" | "client_order_ids_exhausted" | "invalid_order_id" | "order_id_conflict" | "invalid_side" | "invalid_order_type" | "invalid_stp_mode" | "invalid_order_flags" | "price_level_quantity_limit" | "child_qty_raise_not_allowed" | "triggers_exhausted" | "order_sequence_exhausted" | "fee_schedule_unavailable" | "policy_unavailable" | "account_routing_invalid" | "client_trigger_id_invalid" | "trigger_direction_invalid" | "fee_asset_invalid" | "fee_ceiling_invalid" | "unsupported_field_set" | "trigger_fire_limit_reached" | "condition_flags_invalid" | "condition_parameter_set" | "slippage_ticks_invalid" | "slippage_bps_invalid" | "slippage_bounds_conflict" | "limit_child_slippage_set" | "new_account_capacity_reached" | "order_type_not_allowed_in_auction" | "post_only_not_allowed_in_auction" | "twap_capacity_reached" | "order_limits_unavailable" | "child_order_inconsistent" | "index_price_unavailable" | "trigger_would_trigger_immediately" | "max_open_orders_per_pair" | "account_repairing" | "self_trade_prevented" | "trigger_stopping";
|
|
1620
1627
|
triggerId: string;
|
|
1621
1628
|
subaccountId: string;
|
|
1622
1629
|
symbolId: number;
|
|
1623
|
-
status: "unspecified" | "
|
|
1630
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
1624
1631
|
parentOrderId: string | undefined;
|
|
1625
1632
|
orderListId: string | undefined;
|
|
1626
1633
|
qty: string;
|
|
@@ -1806,7 +1813,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
1806
1813
|
triggerId: string;
|
|
1807
1814
|
subaccountId: string;
|
|
1808
1815
|
symbolId: number;
|
|
1809
|
-
status: "unspecified" | "
|
|
1816
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
1810
1817
|
parentOrderId: string | undefined;
|
|
1811
1818
|
orderListId: string | undefined;
|
|
1812
1819
|
qty: string;
|
|
@@ -2030,10 +2037,10 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
2030
2037
|
} | {
|
|
2031
2038
|
type: "price_chart";
|
|
2032
2039
|
symbolId: number;
|
|
2033
|
-
timeframe: "unspecified" | "
|
|
2040
|
+
timeframe: "unspecified" | "1s" | "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1mo";
|
|
2034
2041
|
candles: {
|
|
2035
2042
|
symbolId: number;
|
|
2036
|
-
timeframe: DecodedEnum<"
|
|
2043
|
+
timeframe: DecodedEnum<"1s" | "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1mo">;
|
|
2037
2044
|
time: number;
|
|
2038
2045
|
open: string;
|
|
2039
2046
|
high: string;
|
|
@@ -2087,7 +2094,7 @@ declare function formatView(view: View, scales: SdkScales): {
|
|
|
2087
2094
|
referencePrice: string;
|
|
2088
2095
|
armed: boolean;
|
|
2089
2096
|
status: "unspecified" | "active" | "canceled" | "triggered";
|
|
2090
|
-
channels: ("unspecified" | "
|
|
2097
|
+
channels: ("unspecified" | "in_app" | "telegram")[];
|
|
2091
2098
|
revision: string;
|
|
2092
2099
|
createdAt: number | null;
|
|
2093
2100
|
updatedAt: number | null;
|
|
@@ -2272,6 +2279,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2272
2279
|
subagentId?: undefined;
|
|
2273
2280
|
summary?: undefined;
|
|
2274
2281
|
approvalId?: undefined;
|
|
2282
|
+
/** Approving after this executes nothing. */
|
|
2275
2283
|
expiresAt?: undefined;
|
|
2276
2284
|
parameters?: undefined;
|
|
2277
2285
|
accountId?: undefined;
|
|
@@ -2301,6 +2309,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2301
2309
|
subagentId?: undefined;
|
|
2302
2310
|
summary?: undefined;
|
|
2303
2311
|
approvalId?: undefined;
|
|
2312
|
+
/** Approving after this executes nothing. */
|
|
2304
2313
|
expiresAt?: undefined;
|
|
2305
2314
|
parameters?: undefined;
|
|
2306
2315
|
accountId?: undefined;
|
|
@@ -2330,6 +2339,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2330
2339
|
subagentId?: undefined;
|
|
2331
2340
|
summary?: undefined;
|
|
2332
2341
|
approvalId?: undefined;
|
|
2342
|
+
/** Approving after this executes nothing. */
|
|
2333
2343
|
expiresAt?: undefined;
|
|
2334
2344
|
parameters?: undefined;
|
|
2335
2345
|
accountId?: undefined;
|
|
@@ -2359,6 +2369,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2359
2369
|
subagentId?: undefined;
|
|
2360
2370
|
summary?: undefined;
|
|
2361
2371
|
approvalId?: undefined;
|
|
2372
|
+
/** Approving after this executes nothing. */
|
|
2362
2373
|
expiresAt?: undefined;
|
|
2363
2374
|
parameters?: undefined;
|
|
2364
2375
|
accountId?: undefined;
|
|
@@ -2378,7 +2389,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2378
2389
|
memories: {
|
|
2379
2390
|
memoryId: string;
|
|
2380
2391
|
text: string;
|
|
2381
|
-
kind: "unspecified" | "
|
|
2392
|
+
kind: "unspecified" | "fact" | "planning_figure" | "profile";
|
|
2382
2393
|
}[];
|
|
2383
2394
|
text?: undefined;
|
|
2384
2395
|
fromSeq?: undefined;
|
|
@@ -2392,6 +2403,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2392
2403
|
subagentId?: undefined;
|
|
2393
2404
|
summary?: undefined;
|
|
2394
2405
|
approvalId?: undefined;
|
|
2406
|
+
/** Approving after this executes nothing. */
|
|
2395
2407
|
expiresAt?: undefined;
|
|
2396
2408
|
parameters?: undefined;
|
|
2397
2409
|
accountId?: undefined;
|
|
@@ -2421,6 +2433,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2421
2433
|
subagentId?: undefined;
|
|
2422
2434
|
summary?: undefined;
|
|
2423
2435
|
approvalId?: undefined;
|
|
2436
|
+
/** Approving after this executes nothing. */
|
|
2424
2437
|
expiresAt?: undefined;
|
|
2425
2438
|
parameters?: undefined;
|
|
2426
2439
|
accountId?: undefined;
|
|
@@ -2437,7 +2450,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2437
2450
|
} | {
|
|
2438
2451
|
type: "display_setting_action";
|
|
2439
2452
|
toolCallId: string;
|
|
2440
|
-
setting: "unspecified" | "
|
|
2453
|
+
setting: "unspecified" | "appearance" | "language" | "currency" | "date_format" | "time_format" | "number_format" | "week_start" | "sounds";
|
|
2441
2454
|
value: string | undefined;
|
|
2442
2455
|
text?: undefined;
|
|
2443
2456
|
fromSeq?: undefined;
|
|
@@ -2450,6 +2463,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2450
2463
|
subagentId?: undefined;
|
|
2451
2464
|
summary?: undefined;
|
|
2452
2465
|
approvalId?: undefined;
|
|
2466
|
+
/** Approving after this executes nothing. */
|
|
2453
2467
|
expiresAt?: undefined;
|
|
2454
2468
|
parameters?: undefined;
|
|
2455
2469
|
accountId?: undefined;
|
|
@@ -2479,6 +2493,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2479
2493
|
subagentId?: undefined;
|
|
2480
2494
|
summary?: undefined;
|
|
2481
2495
|
approvalId?: undefined;
|
|
2496
|
+
/** Approving after this executes nothing. */
|
|
2482
2497
|
expiresAt?: undefined;
|
|
2483
2498
|
parameters?: undefined;
|
|
2484
2499
|
accountId?: undefined;
|
|
@@ -2508,6 +2523,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2508
2523
|
value?: undefined;
|
|
2509
2524
|
summary?: undefined;
|
|
2510
2525
|
approvalId?: undefined;
|
|
2526
|
+
/** Approving after this executes nothing. */
|
|
2511
2527
|
expiresAt?: undefined;
|
|
2512
2528
|
parameters?: undefined;
|
|
2513
2529
|
accountId?: undefined;
|
|
@@ -2537,6 +2553,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2537
2553
|
setting?: undefined;
|
|
2538
2554
|
value?: undefined;
|
|
2539
2555
|
approvalId?: undefined;
|
|
2556
|
+
/** Approving after this executes nothing. */
|
|
2540
2557
|
expiresAt?: undefined;
|
|
2541
2558
|
parameters?: undefined;
|
|
2542
2559
|
accountId?: undefined;
|
|
@@ -2887,6 +2904,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
2887
2904
|
maxSlippageBps?: undefined;
|
|
2888
2905
|
legs?: undefined;
|
|
2889
2906
|
quotedAt?: undefined;
|
|
2907
|
+
/** Approving after this executes nothing. */
|
|
2890
2908
|
expiresAt?: undefined;
|
|
2891
2909
|
} | {
|
|
2892
2910
|
type: "place_orders";
|
|
@@ -3225,6 +3243,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3225
3243
|
maxSlippageBps?: undefined;
|
|
3226
3244
|
legs?: undefined;
|
|
3227
3245
|
quotedAt?: undefined;
|
|
3246
|
+
/** Approving after this executes nothing. */
|
|
3228
3247
|
expiresAt?: undefined;
|
|
3229
3248
|
} | {
|
|
3230
3249
|
type: "cancel_orders";
|
|
@@ -3272,6 +3291,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3272
3291
|
maxSlippageBps?: undefined;
|
|
3273
3292
|
legs?: undefined;
|
|
3274
3293
|
quotedAt?: undefined;
|
|
3294
|
+
/** Approving after this executes nothing. */
|
|
3275
3295
|
expiresAt?: undefined;
|
|
3276
3296
|
} | {
|
|
3277
3297
|
type: "order_change";
|
|
@@ -3321,6 +3341,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3321
3341
|
maxSlippageBps?: undefined;
|
|
3322
3342
|
legs?: undefined;
|
|
3323
3343
|
quotedAt?: undefined;
|
|
3344
|
+
/** Approving after this executes nothing. */
|
|
3324
3345
|
expiresAt?: undefined;
|
|
3325
3346
|
} | {
|
|
3326
3347
|
type: "trigger_change";
|
|
@@ -3334,7 +3355,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3334
3355
|
quantity: string;
|
|
3335
3356
|
action: "unspecified" | "pause" | "modify" | "resume";
|
|
3336
3357
|
before: {
|
|
3337
|
-
status: "unspecified" | "
|
|
3358
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
3338
3359
|
triggerPrice: string | undefined;
|
|
3339
3360
|
trailingDistance: {
|
|
3340
3361
|
kind: "distance";
|
|
@@ -3358,7 +3379,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3358
3379
|
limitPrice: string | undefined;
|
|
3359
3380
|
} | undefined;
|
|
3360
3381
|
after: {
|
|
3361
|
-
status: "unspecified" | "
|
|
3382
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
3362
3383
|
triggerPrice: string | undefined;
|
|
3363
3384
|
trailingDistance: {
|
|
3364
3385
|
kind: "distance";
|
|
@@ -3411,6 +3432,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3411
3432
|
maxSlippageBps?: undefined;
|
|
3412
3433
|
legs?: undefined;
|
|
3413
3434
|
quotedAt?: undefined;
|
|
3435
|
+
/** Approving after this executes nothing. */
|
|
3414
3436
|
expiresAt?: undefined;
|
|
3415
3437
|
} | {
|
|
3416
3438
|
type: "cancel_trigger";
|
|
@@ -3451,6 +3473,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3451
3473
|
maxSlippageBps?: undefined;
|
|
3452
3474
|
legs?: undefined;
|
|
3453
3475
|
quotedAt?: undefined;
|
|
3476
|
+
/** Approving after this executes nothing. */
|
|
3454
3477
|
expiresAt?: undefined;
|
|
3455
3478
|
} | {
|
|
3456
3479
|
type: "swap";
|
|
@@ -3540,6 +3563,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3540
3563
|
maxSlippageBps?: undefined;
|
|
3541
3564
|
legs?: undefined;
|
|
3542
3565
|
quotedAt?: undefined;
|
|
3566
|
+
/** Approving after this executes nothing. */
|
|
3543
3567
|
expiresAt?: undefined;
|
|
3544
3568
|
};
|
|
3545
3569
|
text?: undefined;
|
|
@@ -3565,7 +3589,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3565
3589
|
} | {
|
|
3566
3590
|
type: "approval_resolved";
|
|
3567
3591
|
approvalId: string;
|
|
3568
|
-
status: "unspecified" | "pending" | "expired" | "
|
|
3592
|
+
status: "unspecified" | "pending" | "expired" | "approved" | "rejected";
|
|
3569
3593
|
text?: undefined;
|
|
3570
3594
|
fromSeq?: undefined;
|
|
3571
3595
|
toolCallId?: undefined;
|
|
@@ -3579,6 +3603,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3579
3603
|
value?: undefined;
|
|
3580
3604
|
subagentId?: undefined;
|
|
3581
3605
|
summary?: undefined;
|
|
3606
|
+
/** Approving after this executes nothing. */
|
|
3582
3607
|
expiresAt?: undefined;
|
|
3583
3608
|
parameters?: undefined;
|
|
3584
3609
|
accountId?: undefined;
|
|
@@ -3613,7 +3638,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3613
3638
|
attachedRisk: {
|
|
3614
3639
|
takeProfit: {
|
|
3615
3640
|
state: {
|
|
3616
|
-
status: "unspecified" | "
|
|
3641
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
3617
3642
|
armedTs: number | undefined;
|
|
3618
3643
|
armedTsNs: string | undefined;
|
|
3619
3644
|
terminalTs: number | undefined;
|
|
@@ -3633,7 +3658,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3633
3658
|
} | undefined;
|
|
3634
3659
|
stopLoss: {
|
|
3635
3660
|
state: {
|
|
3636
|
-
status: "unspecified" | "
|
|
3661
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
3637
3662
|
armedTs: number | undefined;
|
|
3638
3663
|
armedTsNs: string | undefined;
|
|
3639
3664
|
terminalTs: number | undefined;
|
|
@@ -3653,7 +3678,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3653
3678
|
} | undefined;
|
|
3654
3679
|
trailingStop: {
|
|
3655
3680
|
state: {
|
|
3656
|
-
status: "unspecified" | "
|
|
3681
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running" | "not_configured";
|
|
3657
3682
|
armedTs: number | undefined;
|
|
3658
3683
|
armedTsNs: string | undefined;
|
|
3659
3684
|
terminalTs: number | undefined;
|
|
@@ -3684,7 +3709,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3684
3709
|
oco: boolean;
|
|
3685
3710
|
} | undefined;
|
|
3686
3711
|
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | "market_halted" | "attached_exit_fired" | "stp_decrement" | "price_band" | "cancel_on_disconnect" | undefined;
|
|
3687
|
-
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "
|
|
3712
|
+
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "INSUFFICIENT_FUNDS" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "NOT_FOUND" | "SUBACCOUNT_INACTIVE" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "API_KEY_SPOT_TRADE_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "QUOTE_SIZE_TOO_SMALL" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "SELF_TRADE_PREVENTED" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | "PATH_BODY_ID_MISMATCH" | "REQUEST_DEADLINE_EXCEEDED" | "ICEBERG_NOT_ALLOWED" | "ICEBERG_DISPLAY_TOO_SMALL" | "ICEBERG_DISPLAY_INVALID" | "PEG_LIMIT_VIOLATION" | "PEG_REFERENCE_UNAVAILABLE" | "INVALID_PEG" | "TRIGGER_ACTIVATION_PRICE_NOT_MODIFIABLE" | "CLIENT_LIST_ID_INVALID" | undefined;
|
|
3688
3713
|
price: string;
|
|
3689
3714
|
createdTs: number;
|
|
3690
3715
|
terminalTs: number;
|
|
@@ -3699,7 +3724,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3699
3724
|
hiddenQty?: string | undefined;
|
|
3700
3725
|
symbolId: number;
|
|
3701
3726
|
clientOrderId: string;
|
|
3702
|
-
status: "unspecified" | "
|
|
3727
|
+
status: "unspecified" | "pending" | "canceled" | "rejected" | "pending_cancel" | "working" | "filled" | "partial";
|
|
3703
3728
|
side: "unspecified" | "buy" | "sell";
|
|
3704
3729
|
orderType: "unspecified" | "limit" | "market";
|
|
3705
3730
|
timeInForce: "unspecified" | "gtc" | "ioc" | "fok" | "gtd";
|
|
@@ -3738,12 +3763,12 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3738
3763
|
triggers: ({
|
|
3739
3764
|
runtimeDetails: TriggerDetailsOutput;
|
|
3740
3765
|
version: number;
|
|
3741
|
-
cancelReason: "unspecified" | "
|
|
3766
|
+
cancelReason: "unspecified" | "oco" | "user_request" | "account_repair" | "market_halted" | "parent_canceled_no_fill" | "self_trade_prevention" | "pair_drain_trigger" | "pair_drain_twap" | "pair_drain_ladder" | "pair_drain_attached_leg" | "cancel_all" | "missing_reason_code" | "internal_error";
|
|
3742
3767
|
failureReason: undefined;
|
|
3743
3768
|
triggerId: string;
|
|
3744
3769
|
subaccountId: string;
|
|
3745
3770
|
symbolId: number;
|
|
3746
|
-
status: "unspecified" | "
|
|
3771
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
3747
3772
|
parentOrderId: string | undefined;
|
|
3748
3773
|
orderListId: string | undefined;
|
|
3749
3774
|
qty: string;
|
|
@@ -3925,11 +3950,11 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
3925
3950
|
runtimeDetails: TriggerDetailsOutput;
|
|
3926
3951
|
version: number;
|
|
3927
3952
|
cancelReason: undefined;
|
|
3928
|
-
failureReason: "unspecified" | "
|
|
3953
|
+
failureReason: "unspecified" | "market_halted" | "missing_reason_code" | "internal_error" | "unknown_symbol" | "pair_disabled" | "min_notional" | "tick_size" | "insufficient_funds" | "risk_limit" | "duplicate_client_id" | "engine_busy" | "account_unknown" | "order_unknown" | "post_only_cross" | "reduce_only_blocked" | "price_band_violation" | "market_cap_violation" | "empty_book" | "fok_insufficient_liquidity" | "fee_asset_not_allowed" | "market_price_unavailable" | "stale_quote" | "min_quantity" | "step_size" | "invalid_sizing" | "quote_size_too_small" | "fee_ceiling_exceeded" | "trigger_price_invalid" | "trigger_price_source_unsupported" | "trailing_distance_invalid" | "modification_requires_replace" | "order_already_terminal" | "conflict_idempotency_key_reuse" | "rate_limited" | "policy_spot_trade_deny" | "policy_market_deny" | "policy_max_notional" | "policy_max_open_orders" | "policy_trading_halted" | "max_slippage_invalid" | "invalid_time_in_force" | "duplicate_order_id" | "max_quantity" | "max_notional" | "pair_post_only" | "max_open_orders_total" | "stp_mode_not_allowed" | "pair_backlogged" | "mode_not_supported" | "market_quote_stale" | "market_quote_unhealthy" | "qty_invalid" | "limit_price_invalid" | "twap_interval_invalid" | "ladder_range_too_narrow" | "ladder_levels_invalid" | "attached_legs_exceeded" | "price_levels_exhausted" | "settlement_backlogged" | "client_order_ids_exhausted" | "invalid_order_id" | "order_id_conflict" | "invalid_side" | "invalid_order_type" | "invalid_stp_mode" | "invalid_order_flags" | "price_level_quantity_limit" | "child_qty_raise_not_allowed" | "triggers_exhausted" | "order_sequence_exhausted" | "fee_schedule_unavailable" | "policy_unavailable" | "account_routing_invalid" | "client_trigger_id_invalid" | "trigger_direction_invalid" | "fee_asset_invalid" | "fee_ceiling_invalid" | "unsupported_field_set" | "trigger_fire_limit_reached" | "condition_flags_invalid" | "condition_parameter_set" | "slippage_ticks_invalid" | "slippage_bps_invalid" | "slippage_bounds_conflict" | "limit_child_slippage_set" | "new_account_capacity_reached" | "order_type_not_allowed_in_auction" | "post_only_not_allowed_in_auction" | "twap_capacity_reached" | "order_limits_unavailable" | "child_order_inconsistent" | "index_price_unavailable" | "trigger_would_trigger_immediately" | "max_open_orders_per_pair" | "account_repairing" | "self_trade_prevented" | "trigger_stopping";
|
|
3929
3954
|
triggerId: string;
|
|
3930
3955
|
subaccountId: string;
|
|
3931
3956
|
symbolId: number;
|
|
3932
|
-
status: "unspecified" | "
|
|
3957
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
3933
3958
|
parentOrderId: string | undefined;
|
|
3934
3959
|
orderListId: string | undefined;
|
|
3935
3960
|
qty: string;
|
|
@@ -4115,7 +4140,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4115
4140
|
triggerId: string;
|
|
4116
4141
|
subaccountId: string;
|
|
4117
4142
|
symbolId: number;
|
|
4118
|
-
status: "unspecified" | "
|
|
4143
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "paused" | "armed" | "created" | "running";
|
|
4119
4144
|
parentOrderId: string | undefined;
|
|
4120
4145
|
orderListId: string | undefined;
|
|
4121
4146
|
qty: string;
|
|
@@ -4339,10 +4364,10 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4339
4364
|
} | {
|
|
4340
4365
|
type: "price_chart";
|
|
4341
4366
|
symbolId: number;
|
|
4342
|
-
timeframe: "unspecified" | "
|
|
4367
|
+
timeframe: "unspecified" | "1s" | "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1mo";
|
|
4343
4368
|
candles: {
|
|
4344
4369
|
symbolId: number;
|
|
4345
|
-
timeframe: DecodedEnum<"
|
|
4370
|
+
timeframe: DecodedEnum<"1s" | "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1mo">;
|
|
4346
4371
|
time: number;
|
|
4347
4372
|
open: string;
|
|
4348
4373
|
high: string;
|
|
@@ -4396,7 +4421,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4396
4421
|
referencePrice: string;
|
|
4397
4422
|
armed: boolean;
|
|
4398
4423
|
status: "unspecified" | "active" | "canceled" | "triggered";
|
|
4399
|
-
channels: ("unspecified" | "
|
|
4424
|
+
channels: ("unspecified" | "in_app" | "telegram")[];
|
|
4400
4425
|
revision: string;
|
|
4401
4426
|
createdAt: number | null;
|
|
4402
4427
|
updatedAt: number | null;
|
|
@@ -4578,6 +4603,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4578
4603
|
subagentId?: undefined;
|
|
4579
4604
|
summary?: undefined;
|
|
4580
4605
|
approvalId?: undefined;
|
|
4606
|
+
/** Approving after this executes nothing. */
|
|
4581
4607
|
expiresAt?: undefined;
|
|
4582
4608
|
parameters?: undefined;
|
|
4583
4609
|
accountId?: undefined;
|
|
@@ -4612,6 +4638,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4612
4638
|
subagentId?: undefined;
|
|
4613
4639
|
summary?: undefined;
|
|
4614
4640
|
approvalId?: undefined;
|
|
4641
|
+
/** Approving after this executes nothing. */
|
|
4615
4642
|
expiresAt?: undefined;
|
|
4616
4643
|
parameters?: undefined;
|
|
4617
4644
|
accountId?: undefined;
|
|
@@ -4626,7 +4653,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4626
4653
|
createdAt: number | undefined;
|
|
4627
4654
|
} | {
|
|
4628
4655
|
type: "run_failed";
|
|
4629
|
-
category: "unspecified" | "canceled" | "
|
|
4656
|
+
category: "unspecified" | "canceled" | "budget_exceeded" | "permission_denied" | "model_unavailable" | "unexpected_error" | "model_key_refused" | "daily_limit_reached" | "assistant_paused";
|
|
4630
4657
|
message: string;
|
|
4631
4658
|
usage: {
|
|
4632
4659
|
inputTokens: number;
|
|
@@ -4648,6 +4675,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4648
4675
|
subagentId?: undefined;
|
|
4649
4676
|
summary?: undefined;
|
|
4650
4677
|
approvalId?: undefined;
|
|
4678
|
+
/** Approving after this executes nothing. */
|
|
4651
4679
|
expiresAt?: undefined;
|
|
4652
4680
|
parameters?: undefined;
|
|
4653
4681
|
accountId?: undefined;
|
|
@@ -4674,6 +4702,7 @@ declare function formatRunEvent(event: RunEvent, scales: SdkScales): {
|
|
|
4674
4702
|
subagentId?: undefined;
|
|
4675
4703
|
summary?: undefined;
|
|
4676
4704
|
approvalId?: undefined;
|
|
4705
|
+
/** Approving after this executes nothing. */
|
|
4677
4706
|
expiresAt?: undefined;
|
|
4678
4707
|
parameters?: undefined;
|
|
4679
4708
|
accountId?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-events.schemas.d.ts","names":[],"sources":["../../../src/services/assistant/assistant-events.schemas.ts"],"mappings":";;;;;;;iBAwLS,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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