@polyester/sdk 0.4.0 → 0.4.2
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 +16 -0
- package/dist/_virtual/_rolldown/runtime.js +1 -15
- package/dist/catalogs/snapshot-validation.js +63 -63
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/core-client.d.ts +9 -0
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +21 -0
- package/dist/core-client.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +124 -0
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -0
- package/dist/gen/fees/v1/fees_pb.js +39 -0
- package/dist/gen/fees/v1/fees_pb.js.map +1 -0
- package/dist/gen/index.d.ts +4 -1
- package/dist/gen/index.js +4 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +223 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +86 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -0
- package/dist/gen/vip/v1/vip_pb.d.ts +277 -0
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -0
- package/dist/gen/vip/v1/vip_pb.js +60 -0
- package/dist/gen/vip/v1/vip_pb.js.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.js.map +1 -1
- package/dist/services/accounts/accounts.schemas.d.ts +13 -13
- package/dist/services/accounts/accounts.schemas.d.ts.map +1 -1
- package/dist/services/accounts/accounts.schemas.js +11 -11
- package/dist/services/accounts/accounts.schemas.js.map +1 -1
- package/dist/services/address-book/address-book.js.map +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +751 -751
- package/dist/services/address-book/address-book.schemas.d.ts.map +1 -1
- package/dist/services/address-book/address-book.schemas.js +160 -159
- package/dist/services/address-book/address-book.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +6 -6
- package/dist/services/api-keys/api-keys.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +62 -62
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +34 -34
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/auth/auth.d.ts +39 -39
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +19 -18
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/profile/profile.d.ts +2 -2
- package/dist/services/auth/profile/profile.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.js +3 -2
- package/dist/services/auth/profile/profile.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +41 -41
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +27 -27
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/auth/session.schemas.js +17 -17
- package/dist/services/auth/session.schemas.js.map +1 -1
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +3 -2
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +95 -95
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +61 -61
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/candles/candles.d.ts.map +1 -1
- package/dist/services/candles/candles.js +5 -4
- package/dist/services/candles/candles.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +64 -64
- package/dist/services/candles/candles.schemas.d.ts.map +1 -1
- package/dist/services/candles/candles.schemas.js +47 -47
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.js.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts +68 -68
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.js +29 -29
- package/dist/services/chain-analytics/chain-analytics.schemas.js.map +1 -1
- package/dist/services/deposit/deposit.js.map +1 -1
- package/dist/services/deposit/deposit.schemas.d.ts +17 -17
- package/dist/services/deposit/deposit.schemas.d.ts.map +1 -1
- package/dist/services/deposit/deposit.schemas.js +11 -11
- package/dist/services/deposit/deposit.schemas.js.map +1 -1
- package/dist/services/fees/fees.d.ts +19 -0
- package/dist/services/fees/fees.d.ts.map +1 -0
- package/dist/services/fees/fees.js +32 -0
- package/dist/services/fees/fees.js.map +1 -0
- package/dist/services/fees/fees.schemas.d.ts +28 -0
- package/dist/services/fees/fees.schemas.d.ts.map +1 -0
- package/dist/services/fees/fees.schemas.js +25 -0
- package/dist/services/fees/fees.schemas.js.map +1 -0
- package/dist/services/fees/fees.types.d.ts +2 -0
- package/dist/services/fees/index.d.ts +3 -0
- package/dist/services/guard-signer/guard-signer.js.map +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.d.ts +75 -75
- package/dist/services/guard-signer/guard-signer.schemas.d.ts.map +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.js +42 -42
- package/dist/services/guard-signer/guard-signer.schemas.js.map +1 -1
- package/dist/services/heatmap/heatmap.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.js +5 -4
- package/dist/services/heatmap/heatmap.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +138 -138
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.js +47 -47
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +53 -53
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +27 -27
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +3 -2
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +614 -614
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +146 -146
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +4 -3
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +19 -19
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +50 -50
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.js +3 -2
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +37 -37
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +33 -33
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/mfa/mfa.js +1 -1
- package/dist/services/mfa/mfa.js.map +1 -1
- package/dist/services/mfa/mfa.schemas.d.ts +206 -206
- package/dist/services/mfa/mfa.schemas.d.ts.map +1 -1
- package/dist/services/mfa/mfa.schemas.js +83 -83
- package/dist/services/mfa/mfa.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +2 -2
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +3 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +23 -23
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +15 -15
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +18 -18
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +8 -8
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +492 -492
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +117 -117
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-identifiers.schemas.js +5 -5
- package/dist/services/orders/orders-identifiers.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +648 -648
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +95 -95
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +351 -351
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +44 -44
- package/dist/services/orders/orders-modify.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +179 -179
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +49 -49
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +226 -226
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +69 -69
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.d.ts +6 -6
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +4 -3
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +6 -6
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +105 -105
- 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 +49 -49
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/policies/shared.d.ts +5 -5
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +10 -10
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +6 -6
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +3 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +124 -124
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +75 -75
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/rate-limits/index.d.ts +4 -0
- package/dist/services/rate-limits/rate-limits.codecs.d.ts +6 -0
- package/dist/services/rate-limits/rate-limits.codecs.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.codecs.js +11 -0
- package/dist/services/rate-limits/rate-limits.codecs.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.d.ts +24 -0
- package/dist/services/rate-limits/rate-limits.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.js +40 -0
- package/dist/services/rate-limits/rate-limits.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +58 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.js +30 -0
- package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.types.d.ts +3 -0
- package/dist/services/shared.js +11 -11
- package/dist/services/shared.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +3 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +54 -54
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +28 -28
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +14 -14
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +9 -8
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +137 -137
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +72 -72
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/trades/trades.d.ts +2 -2
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +3 -2
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +31 -31
- package/dist/services/trades/trades.schemas.d.ts.map +1 -1
- package/dist/services/trades/trades.schemas.js +24 -24
- package/dist/services/trades/trades.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +45 -45
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +36 -36
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/transfers/transfers.d.ts.map +1 -1
- package/dist/services/transfers/transfers.js +3 -2
- package/dist/services/transfers/transfers.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +42 -42
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +30 -30
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +23 -23
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +226 -226
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +53 -53
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +218 -218
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +152 -152
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +4 -3
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/index.d.ts +3 -0
- package/dist/services/vip/vip.d.ts +22 -0
- package/dist/services/vip/vip.d.ts.map +1 -0
- package/dist/services/vip/vip.js +35 -0
- package/dist/services/vip/vip.js.map +1 -0
- package/dist/services/vip/vip.schemas.d.ts +90 -0
- package/dist/services/vip/vip.schemas.d.ts.map +1 -0
- package/dist/services/vip/vip.schemas.js +47 -0
- package/dist/services/vip/vip.schemas.js.map +1 -0
- package/dist/services/vip/vip.types.d.ts +2 -0
- package/dist/services/whiteboard/whiteboard.js.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +379 -379
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +71 -71
- package/dist/services/whiteboard/whiteboard.schemas.js.map +1 -1
- package/dist/services/zipper/zipper.js.map +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts +1 -1
- package/dist/services/zipper/zipper.schemas.js +54 -54
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/shared/account-scope.d.ts +6 -6
- package/dist/shared/account-scope.d.ts.map +1 -1
- package/dist/shared/account-scope.js +3 -3
- package/dist/shared/account-scope.js.map +1 -1
- package/dist/shared/connect-error-mapping.js +2 -2
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +12 -12
- package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
- package/dist/shared/rate-limit.schemas.js +7 -7
- package/dist/shared/rate-limit.schemas.js.map +1 -1
- package/dist/shared/schemas.js +26 -26
- package/dist/shared/schemas.js.map +1 -1
- package/dist/shared/validation.js +1 -6
- package/dist/shared/validation.js.map +1 -1
- package/dist/utils/connect-order-errors.js +2 -2
- package/dist/utils/connect-order-errors.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +6 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +3 -3
- package/dist/shared/validation.d.ts +0 -14
- package/dist/shared/validation.d.ts.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { validation_d_exports } from "../../shared/validation.js";
|
|
2
1
|
import { FailureReason, LimiterScope, PolicyClass, RefillModel } from "../../gen/polyester/ratelimit/v1/types_pb.js";
|
|
3
2
|
import { ErrorCode, FeeAsset, LimitFok, LimitGtc, LimitIoc, MarketIoc, RiskLimitGtc, RiskMarketIoc, SelfTradePreventionMode, Side } from "../../gen/orders/v1/orders_pb.js";
|
|
4
3
|
import { OrderStatus } from "../../gen/orders/v1/orders_read_pb.js";
|
|
5
4
|
import { SdkScales } from "../../shared/decimal-surface.js";
|
|
5
|
+
import * as v from "valibot";
|
|
6
6
|
//#region src/services/orders/orders-input.schemas.d.ts
|
|
7
|
-
declare const OpenOrdersInputSchema:
|
|
8
|
-
readonly includeAttachedRisk:
|
|
9
|
-
readonly includeAttachedRiskState:
|
|
10
|
-
readonly symbolId:
|
|
11
|
-
readonly triggerId:
|
|
12
|
-
readonly side:
|
|
13
|
-
readonly limit:
|
|
14
|
-
readonly pageToken:
|
|
15
|
-
readonly account:
|
|
16
|
-
readonly subaccountId:
|
|
7
|
+
declare const OpenOrdersInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
8
|
+
readonly includeAttachedRisk: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
9
|
+
readonly includeAttachedRiskState: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
10
|
+
readonly symbolId: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11
|
+
readonly triggerId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, bigint | undefined>]>;
|
|
12
|
+
readonly side: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<["buy", "sell"], undefined>, undefined>, v.TransformAction<"buy" | "sell" | undefined, Side.BUY | Side.SELL | undefined>]>;
|
|
13
|
+
readonly limit: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
14
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
15
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
16
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
17
17
|
}, undefined>], undefined>, undefined>;
|
|
18
|
-
}, undefined>,
|
|
18
|
+
}, undefined>, v.TransformAction<{
|
|
19
19
|
includeAttachedRisk: boolean;
|
|
20
20
|
includeAttachedRiskState: boolean;
|
|
21
21
|
symbolId?: number[] | undefined;
|
|
@@ -36,22 +36,22 @@ declare const OpenOrdersInputSchema: validation_d_exports.SchemaWithPipe<readonl
|
|
|
36
36
|
limit?: number | undefined;
|
|
37
37
|
pageToken?: string | undefined;
|
|
38
38
|
}>]>;
|
|
39
|
-
type OpenOrdersInput =
|
|
40
|
-
declare const OrderHistoryInputSchema:
|
|
41
|
-
readonly includeAttachedRisk:
|
|
42
|
-
readonly includeAttachedRiskState:
|
|
43
|
-
readonly status:
|
|
44
|
-
readonly startTsNs:
|
|
45
|
-
readonly endTsNs:
|
|
46
|
-
readonly symbolId:
|
|
47
|
-
readonly triggerId:
|
|
48
|
-
readonly side:
|
|
49
|
-
readonly limit:
|
|
50
|
-
readonly pageToken:
|
|
51
|
-
readonly account:
|
|
52
|
-
readonly subaccountId:
|
|
39
|
+
type OpenOrdersInput = v.InferInput<typeof OpenOrdersInputSchema>;
|
|
40
|
+
declare const OrderHistoryInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
41
|
+
readonly includeAttachedRisk: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
42
|
+
readonly includeAttachedRiskState: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
43
|
+
readonly status: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["FILLED", "CANCELED", "REJECTED"], undefined>, undefined>, v.TransformAction<"FILLED" | "CANCELED" | "REJECTED" | undefined, OrderStatus.FILLED | OrderStatus.CANCELED | OrderStatus.REJECTED | undefined>]>;
|
|
44
|
+
readonly startTsNs: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, bigint | undefined>]>;
|
|
45
|
+
readonly endTsNs: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, bigint | undefined>]>;
|
|
46
|
+
readonly symbolId: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
47
|
+
readonly triggerId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, bigint | undefined>]>;
|
|
48
|
+
readonly side: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<["buy", "sell"], undefined>, undefined>, v.TransformAction<"buy" | "sell" | undefined, Side.BUY | Side.SELL | undefined>]>;
|
|
49
|
+
readonly limit: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
50
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
51
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
52
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
53
53
|
}, undefined>], undefined>, undefined>;
|
|
54
|
-
}, undefined>,
|
|
54
|
+
}, undefined>, v.TransformAction<{
|
|
55
55
|
includeAttachedRisk: boolean;
|
|
56
56
|
includeAttachedRiskState: boolean;
|
|
57
57
|
status?: OrderStatus.FILLED | OrderStatus.CANCELED | OrderStatus.REJECTED | undefined;
|
|
@@ -78,25 +78,25 @@ declare const OrderHistoryInputSchema: validation_d_exports.SchemaWithPipe<reado
|
|
|
78
78
|
limit?: number | undefined;
|
|
79
79
|
pageToken?: string | undefined;
|
|
80
80
|
}>]>;
|
|
81
|
-
type OrderHistoryInput =
|
|
82
|
-
declare function createOrderIntentInputSchema(scales: SdkScales):
|
|
83
|
-
readonly qty:
|
|
84
|
-
readonly maxQuoteDebit:
|
|
85
|
-
readonly symbol:
|
|
86
|
-
readonly side:
|
|
87
|
-
readonly execution:
|
|
88
|
-
readonly type:
|
|
89
|
-
readonly maxSlippage:
|
|
90
|
-
readonly kind:
|
|
91
|
-
readonly slippage:
|
|
92
|
-
}, undefined>,
|
|
93
|
-
readonly kind:
|
|
94
|
-
readonly bps:
|
|
95
|
-
}, undefined>,
|
|
96
|
-
readonly kind:
|
|
81
|
+
type OrderHistoryInput = v.InferInput<typeof OrderHistoryInputSchema>;
|
|
82
|
+
declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
|
|
83
|
+
readonly qty: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
84
|
+
readonly maxQuoteDebit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
85
|
+
readonly symbol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
86
|
+
readonly side: v.SchemaWithPipe<readonly [v.PicklistSchema<["buy", "sell"], undefined>, v.TransformAction<"buy" | "sell", Side.BUY | Side.SELL>]>;
|
|
87
|
+
readonly execution: v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
88
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
89
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
90
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
91
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
92
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
93
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
94
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
95
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
96
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
97
97
|
}, undefined>], undefined>, undefined>;
|
|
98
|
-
readonly clientRefPrice:
|
|
99
|
-
}, undefined>,
|
|
98
|
+
readonly clientRefPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
99
|
+
}, undefined>, v.TransformAction<{
|
|
100
100
|
type: "market_ioc";
|
|
101
101
|
maxSlippage?: {
|
|
102
102
|
kind: "bps";
|
|
@@ -111,49 +111,49 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
111
111
|
}, {
|
|
112
112
|
case: "marketIoc";
|
|
113
113
|
value: MarketIoc;
|
|
114
|
-
}>]>,
|
|
115
|
-
readonly type:
|
|
116
|
-
readonly price:
|
|
117
|
-
readonly postOnly:
|
|
118
|
-
}, undefined>,
|
|
114
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
115
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
116
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
117
|
+
readonly postOnly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
118
|
+
}, undefined>, v.TransformAction<{
|
|
119
119
|
type: "limit_gtc";
|
|
120
120
|
price: string;
|
|
121
121
|
postOnly: boolean;
|
|
122
122
|
}, {
|
|
123
123
|
case: "limitGtc";
|
|
124
124
|
value: LimitGtc;
|
|
125
|
-
}>]>,
|
|
126
|
-
readonly type:
|
|
127
|
-
readonly price:
|
|
128
|
-
}, undefined>,
|
|
125
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
126
|
+
readonly type: v.LiteralSchema<"limit_ioc", undefined>;
|
|
127
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
128
|
+
}, undefined>, v.TransformAction<{
|
|
129
129
|
type: "limit_ioc";
|
|
130
130
|
price: string;
|
|
131
131
|
}, {
|
|
132
132
|
case: "limitIoc";
|
|
133
133
|
value: LimitIoc;
|
|
134
|
-
}>]>,
|
|
135
|
-
readonly type:
|
|
136
|
-
readonly price:
|
|
137
|
-
}, undefined>,
|
|
134
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
135
|
+
readonly type: v.LiteralSchema<"limit_fok", undefined>;
|
|
136
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
137
|
+
}, undefined>, v.TransformAction<{
|
|
138
138
|
type: "limit_fok";
|
|
139
139
|
price: string;
|
|
140
140
|
}, {
|
|
141
141
|
case: "limitFok";
|
|
142
142
|
value: LimitFok;
|
|
143
143
|
}>]>], undefined>;
|
|
144
|
-
readonly clientOrderId:
|
|
145
|
-
readonly feeAsset:
|
|
146
|
-
readonly selfTradePreventionMode:
|
|
147
|
-
readonly risk:
|
|
148
|
-
readonly takeProfit:
|
|
149
|
-
readonly triggerPrice:
|
|
150
|
-
readonly execution:
|
|
151
|
-
readonly type:
|
|
152
|
-
}, undefined>,
|
|
153
|
-
readonly type:
|
|
154
|
-
readonly price:
|
|
144
|
+
readonly clientOrderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, "clientOrderId has an invalid format">]>, undefined>;
|
|
145
|
+
readonly feeAsset: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["quote", "base"], undefined>, undefined>, v.TransformAction<"quote" | "base" | undefined, FeeAsset.QUOTE | FeeAsset.BASE | undefined>]>;
|
|
146
|
+
readonly selfTradePreventionMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["expire_taker", "expire_maker", "expire_both"], undefined>, undefined>, v.TransformAction<"expire_taker" | "expire_maker" | "expire_both" | undefined, SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined>]>;
|
|
147
|
+
readonly risk: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
148
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
149
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
150
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
151
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
152
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
153
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
154
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
155
155
|
}, undefined>], undefined>;
|
|
156
|
-
}, undefined>,
|
|
156
|
+
}, undefined>, v.TransformAction<{
|
|
157
157
|
triggerPrice: string;
|
|
158
158
|
execution: {
|
|
159
159
|
type: "market_ioc";
|
|
@@ -173,15 +173,15 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
175
|
}>]>;
|
|
176
|
-
readonly stopLoss:
|
|
177
|
-
readonly triggerPrice:
|
|
178
|
-
readonly execution:
|
|
179
|
-
readonly type:
|
|
180
|
-
}, undefined>,
|
|
181
|
-
readonly type:
|
|
182
|
-
readonly price:
|
|
176
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
177
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
178
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
179
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
180
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
181
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
182
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
183
183
|
}, undefined>], undefined>;
|
|
184
|
-
}, undefined>,
|
|
184
|
+
}, undefined>, v.TransformAction<{
|
|
185
185
|
triggerPrice: string;
|
|
186
186
|
execution: {
|
|
187
187
|
type: "market_ioc";
|
|
@@ -201,18 +201,18 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
203
|
}>]>;
|
|
204
|
-
readonly trailingStop:
|
|
205
|
-
readonly oco:
|
|
206
|
-
}, undefined>,
|
|
207
|
-
readonly takeProfit:
|
|
208
|
-
readonly triggerPrice:
|
|
209
|
-
readonly execution:
|
|
210
|
-
readonly type:
|
|
211
|
-
}, undefined>,
|
|
212
|
-
readonly type:
|
|
213
|
-
readonly price:
|
|
204
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
205
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
206
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
207
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
208
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
209
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
210
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
211
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
212
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
213
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
214
214
|
}, undefined>], undefined>;
|
|
215
|
-
}, undefined>,
|
|
215
|
+
}, undefined>, v.TransformAction<{
|
|
216
216
|
triggerPrice: string;
|
|
217
217
|
execution: {
|
|
218
218
|
type: "market_ioc";
|
|
@@ -232,28 +232,28 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
234
|
}>]>;
|
|
235
|
-
readonly stopLoss:
|
|
236
|
-
readonly trailingStop:
|
|
237
|
-
readonly trailingDistance:
|
|
238
|
-
readonly kind:
|
|
239
|
-
readonly distance:
|
|
240
|
-
}, undefined>,
|
|
241
|
-
readonly kind:
|
|
242
|
-
readonly bps:
|
|
243
|
-
}, undefined>,
|
|
244
|
-
readonly kind:
|
|
235
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
236
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
237
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
238
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
239
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
240
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
241
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
242
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
243
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
244
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
245
245
|
}, undefined>], undefined>;
|
|
246
|
-
readonly maxSlippage:
|
|
247
|
-
readonly kind:
|
|
248
|
-
readonly slippage:
|
|
249
|
-
}, undefined>,
|
|
250
|
-
readonly kind:
|
|
251
|
-
readonly bps:
|
|
252
|
-
}, undefined>,
|
|
253
|
-
readonly kind:
|
|
246
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
247
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
248
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
249
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
250
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
251
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
252
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
253
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
254
254
|
}, undefined>], undefined>, undefined>;
|
|
255
|
-
readonly activationPrice:
|
|
256
|
-
}, undefined>,
|
|
255
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
256
|
+
}, undefined>, v.TransformAction<{
|
|
257
257
|
trailingDistance: {
|
|
258
258
|
kind: "bps";
|
|
259
259
|
bps: string | number;
|
|
@@ -296,17 +296,17 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
296
296
|
};
|
|
297
297
|
activationPriceTicks: bigint;
|
|
298
298
|
}>]>;
|
|
299
|
-
readonly oco:
|
|
300
|
-
}, undefined>,
|
|
301
|
-
readonly takeProfit:
|
|
302
|
-
readonly triggerPrice:
|
|
303
|
-
readonly execution:
|
|
304
|
-
readonly type:
|
|
305
|
-
}, undefined>,
|
|
306
|
-
readonly type:
|
|
307
|
-
readonly price:
|
|
299
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
300
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
301
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
302
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
303
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
304
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
305
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
306
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
307
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
308
308
|
}, undefined>], undefined>;
|
|
309
|
-
}, undefined>,
|
|
309
|
+
}, undefined>, v.TransformAction<{
|
|
310
310
|
triggerPrice: string;
|
|
311
311
|
execution: {
|
|
312
312
|
type: "market_ioc";
|
|
@@ -326,20 +326,20 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
328
|
}>]>;
|
|
329
|
-
readonly stopLoss:
|
|
330
|
-
readonly trailingStop:
|
|
331
|
-
readonly oco:
|
|
332
|
-
}, undefined>,
|
|
333
|
-
readonly takeProfit:
|
|
334
|
-
readonly stopLoss:
|
|
335
|
-
readonly triggerPrice:
|
|
336
|
-
readonly execution:
|
|
337
|
-
readonly type:
|
|
338
|
-
}, undefined>,
|
|
339
|
-
readonly type:
|
|
340
|
-
readonly price:
|
|
329
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
330
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
331
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
332
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
333
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
334
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
335
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
336
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
337
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
338
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
339
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
340
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
341
341
|
}, undefined>], undefined>;
|
|
342
|
-
}, undefined>,
|
|
342
|
+
}, undefined>, v.TransformAction<{
|
|
343
343
|
triggerPrice: string;
|
|
344
344
|
execution: {
|
|
345
345
|
type: "market_ioc";
|
|
@@ -359,32 +359,32 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
359
359
|
};
|
|
360
360
|
};
|
|
361
361
|
}>]>;
|
|
362
|
-
readonly trailingStop:
|
|
363
|
-
readonly oco:
|
|
364
|
-
}, undefined>,
|
|
365
|
-
readonly takeProfit:
|
|
366
|
-
readonly stopLoss:
|
|
367
|
-
readonly trailingStop:
|
|
368
|
-
readonly trailingDistance:
|
|
369
|
-
readonly kind:
|
|
370
|
-
readonly distance:
|
|
371
|
-
}, undefined>,
|
|
372
|
-
readonly kind:
|
|
373
|
-
readonly bps:
|
|
374
|
-
}, undefined>,
|
|
375
|
-
readonly kind:
|
|
362
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
363
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
364
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
365
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
366
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
367
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
368
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
369
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
370
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
371
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
372
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
373
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
374
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
375
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
376
376
|
}, undefined>], undefined>;
|
|
377
|
-
readonly maxSlippage:
|
|
378
|
-
readonly kind:
|
|
379
|
-
readonly slippage:
|
|
380
|
-
}, undefined>,
|
|
381
|
-
readonly kind:
|
|
382
|
-
readonly bps:
|
|
383
|
-
}, undefined>,
|
|
384
|
-
readonly kind:
|
|
377
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
378
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
379
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
380
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
381
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
382
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
383
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
384
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
385
385
|
}, undefined>], undefined>, undefined>;
|
|
386
|
-
readonly activationPrice:
|
|
387
|
-
}, undefined>,
|
|
386
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
387
|
+
}, undefined>, v.TransformAction<{
|
|
388
388
|
trailingDistance: {
|
|
389
389
|
kind: "bps";
|
|
390
390
|
bps: string | number;
|
|
@@ -427,8 +427,8 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
427
427
|
};
|
|
428
428
|
activationPriceTicks: bigint;
|
|
429
429
|
}>]>;
|
|
430
|
-
readonly oco:
|
|
431
|
-
}, undefined>], undefined>, undefined>,
|
|
430
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
431
|
+
}, undefined>], undefined>, undefined>, v.TransformAction<{
|
|
432
432
|
takeProfit: {
|
|
433
433
|
triggerPriceTicks: bigint;
|
|
434
434
|
child: {
|
|
@@ -610,24 +610,24 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
610
610
|
};
|
|
611
611
|
oco: boolean;
|
|
612
612
|
} | undefined>]>;
|
|
613
|
-
}, undefined>,
|
|
614
|
-
readonly qty:
|
|
615
|
-
readonly maxQuoteDebit:
|
|
616
|
-
readonly symbol:
|
|
617
|
-
readonly side:
|
|
618
|
-
readonly execution:
|
|
619
|
-
readonly type:
|
|
620
|
-
readonly maxSlippage:
|
|
621
|
-
readonly kind:
|
|
622
|
-
readonly slippage:
|
|
623
|
-
}, undefined>,
|
|
624
|
-
readonly kind:
|
|
625
|
-
readonly bps:
|
|
626
|
-
}, undefined>,
|
|
627
|
-
readonly kind:
|
|
613
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
614
|
+
readonly qty: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
615
|
+
readonly maxQuoteDebit: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
616
|
+
readonly symbol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
617
|
+
readonly side: v.SchemaWithPipe<readonly [v.PicklistSchema<["buy", "sell"], undefined>, v.TransformAction<"buy" | "sell", Side.BUY | Side.SELL>]>;
|
|
618
|
+
readonly execution: v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
619
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
620
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
621
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
622
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
623
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
624
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
625
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
626
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
627
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
628
628
|
}, undefined>], undefined>, undefined>;
|
|
629
|
-
readonly clientRefPrice:
|
|
630
|
-
}, undefined>,
|
|
629
|
+
readonly clientRefPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
630
|
+
}, undefined>, v.TransformAction<{
|
|
631
631
|
type: "market_ioc";
|
|
632
632
|
maxSlippage?: {
|
|
633
633
|
kind: "bps";
|
|
@@ -642,49 +642,49 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
642
642
|
}, {
|
|
643
643
|
case: "marketIoc";
|
|
644
644
|
value: MarketIoc;
|
|
645
|
-
}>]>,
|
|
646
|
-
readonly type:
|
|
647
|
-
readonly price:
|
|
648
|
-
readonly postOnly:
|
|
649
|
-
}, undefined>,
|
|
645
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
646
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
647
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
648
|
+
readonly postOnly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
649
|
+
}, undefined>, v.TransformAction<{
|
|
650
650
|
type: "limit_gtc";
|
|
651
651
|
price: string;
|
|
652
652
|
postOnly: boolean;
|
|
653
653
|
}, {
|
|
654
654
|
case: "limitGtc";
|
|
655
655
|
value: LimitGtc;
|
|
656
|
-
}>]>,
|
|
657
|
-
readonly type:
|
|
658
|
-
readonly price:
|
|
659
|
-
}, undefined>,
|
|
656
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
657
|
+
readonly type: v.LiteralSchema<"limit_ioc", undefined>;
|
|
658
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
659
|
+
}, undefined>, v.TransformAction<{
|
|
660
660
|
type: "limit_ioc";
|
|
661
661
|
price: string;
|
|
662
662
|
}, {
|
|
663
663
|
case: "limitIoc";
|
|
664
664
|
value: LimitIoc;
|
|
665
|
-
}>]>,
|
|
666
|
-
readonly type:
|
|
667
|
-
readonly price:
|
|
668
|
-
}, undefined>,
|
|
665
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
666
|
+
readonly type: v.LiteralSchema<"limit_fok", undefined>;
|
|
667
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
668
|
+
}, undefined>, v.TransformAction<{
|
|
669
669
|
type: "limit_fok";
|
|
670
670
|
price: string;
|
|
671
671
|
}, {
|
|
672
672
|
case: "limitFok";
|
|
673
673
|
value: LimitFok;
|
|
674
674
|
}>]>], undefined>;
|
|
675
|
-
readonly clientOrderId:
|
|
676
|
-
readonly feeAsset:
|
|
677
|
-
readonly selfTradePreventionMode:
|
|
678
|
-
readonly risk:
|
|
679
|
-
readonly takeProfit:
|
|
680
|
-
readonly triggerPrice:
|
|
681
|
-
readonly execution:
|
|
682
|
-
readonly type:
|
|
683
|
-
}, undefined>,
|
|
684
|
-
readonly type:
|
|
685
|
-
readonly price:
|
|
675
|
+
readonly clientOrderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, "clientOrderId has an invalid format">]>, undefined>;
|
|
676
|
+
readonly feeAsset: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["quote", "base"], undefined>, undefined>, v.TransformAction<"quote" | "base" | undefined, FeeAsset.QUOTE | FeeAsset.BASE | undefined>]>;
|
|
677
|
+
readonly selfTradePreventionMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["expire_taker", "expire_maker", "expire_both"], undefined>, undefined>, v.TransformAction<"expire_taker" | "expire_maker" | "expire_both" | undefined, SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined>]>;
|
|
678
|
+
readonly risk: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
679
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
680
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
681
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
682
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
683
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
684
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
685
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
686
686
|
}, undefined>], undefined>;
|
|
687
|
-
}, undefined>,
|
|
687
|
+
}, undefined>, v.TransformAction<{
|
|
688
688
|
triggerPrice: string;
|
|
689
689
|
execution: {
|
|
690
690
|
type: "market_ioc";
|
|
@@ -704,15 +704,15 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
704
704
|
};
|
|
705
705
|
};
|
|
706
706
|
}>]>;
|
|
707
|
-
readonly stopLoss:
|
|
708
|
-
readonly triggerPrice:
|
|
709
|
-
readonly execution:
|
|
710
|
-
readonly type:
|
|
711
|
-
}, undefined>,
|
|
712
|
-
readonly type:
|
|
713
|
-
readonly price:
|
|
707
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
708
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
709
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
710
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
711
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
712
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
713
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
714
714
|
}, undefined>], undefined>;
|
|
715
|
-
}, undefined>,
|
|
715
|
+
}, undefined>, v.TransformAction<{
|
|
716
716
|
triggerPrice: string;
|
|
717
717
|
execution: {
|
|
718
718
|
type: "market_ioc";
|
|
@@ -732,18 +732,18 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
732
732
|
};
|
|
733
733
|
};
|
|
734
734
|
}>]>;
|
|
735
|
-
readonly trailingStop:
|
|
736
|
-
readonly oco:
|
|
737
|
-
}, undefined>,
|
|
738
|
-
readonly takeProfit:
|
|
739
|
-
readonly triggerPrice:
|
|
740
|
-
readonly execution:
|
|
741
|
-
readonly type:
|
|
742
|
-
}, undefined>,
|
|
743
|
-
readonly type:
|
|
744
|
-
readonly price:
|
|
735
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
736
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
737
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
738
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
739
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
740
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
741
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
742
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
743
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
744
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
745
745
|
}, undefined>], undefined>;
|
|
746
|
-
}, undefined>,
|
|
746
|
+
}, undefined>, v.TransformAction<{
|
|
747
747
|
triggerPrice: string;
|
|
748
748
|
execution: {
|
|
749
749
|
type: "market_ioc";
|
|
@@ -763,28 +763,28 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
763
763
|
};
|
|
764
764
|
};
|
|
765
765
|
}>]>;
|
|
766
|
-
readonly stopLoss:
|
|
767
|
-
readonly trailingStop:
|
|
768
|
-
readonly trailingDistance:
|
|
769
|
-
readonly kind:
|
|
770
|
-
readonly distance:
|
|
771
|
-
}, undefined>,
|
|
772
|
-
readonly kind:
|
|
773
|
-
readonly bps:
|
|
774
|
-
}, undefined>,
|
|
775
|
-
readonly kind:
|
|
766
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
767
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
768
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
769
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
770
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
771
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
772
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
773
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
774
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
775
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
776
776
|
}, undefined>], undefined>;
|
|
777
|
-
readonly maxSlippage:
|
|
778
|
-
readonly kind:
|
|
779
|
-
readonly slippage:
|
|
780
|
-
}, undefined>,
|
|
781
|
-
readonly kind:
|
|
782
|
-
readonly bps:
|
|
783
|
-
}, undefined>,
|
|
784
|
-
readonly kind:
|
|
777
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
778
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
779
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
780
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
781
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
782
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
783
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
784
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
785
785
|
}, undefined>], undefined>, undefined>;
|
|
786
|
-
readonly activationPrice:
|
|
787
|
-
}, undefined>,
|
|
786
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
787
|
+
}, undefined>, v.TransformAction<{
|
|
788
788
|
trailingDistance: {
|
|
789
789
|
kind: "bps";
|
|
790
790
|
bps: string | number;
|
|
@@ -827,17 +827,17 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
827
827
|
};
|
|
828
828
|
activationPriceTicks: bigint;
|
|
829
829
|
}>]>;
|
|
830
|
-
readonly oco:
|
|
831
|
-
}, undefined>,
|
|
832
|
-
readonly takeProfit:
|
|
833
|
-
readonly triggerPrice:
|
|
834
|
-
readonly execution:
|
|
835
|
-
readonly type:
|
|
836
|
-
}, undefined>,
|
|
837
|
-
readonly type:
|
|
838
|
-
readonly price:
|
|
830
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
831
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
832
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
833
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
834
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
835
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
836
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
837
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
838
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
839
839
|
}, undefined>], undefined>;
|
|
840
|
-
}, undefined>,
|
|
840
|
+
}, undefined>, v.TransformAction<{
|
|
841
841
|
triggerPrice: string;
|
|
842
842
|
execution: {
|
|
843
843
|
type: "market_ioc";
|
|
@@ -857,20 +857,20 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
857
857
|
};
|
|
858
858
|
};
|
|
859
859
|
}>]>;
|
|
860
|
-
readonly stopLoss:
|
|
861
|
-
readonly trailingStop:
|
|
862
|
-
readonly oco:
|
|
863
|
-
}, undefined>,
|
|
864
|
-
readonly takeProfit:
|
|
865
|
-
readonly stopLoss:
|
|
866
|
-
readonly triggerPrice:
|
|
867
|
-
readonly execution:
|
|
868
|
-
readonly type:
|
|
869
|
-
}, undefined>,
|
|
870
|
-
readonly type:
|
|
871
|
-
readonly price:
|
|
860
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
861
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
862
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
863
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
864
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
865
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
866
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
867
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
868
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
869
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
870
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
871
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
872
872
|
}, undefined>], undefined>;
|
|
873
|
-
}, undefined>,
|
|
873
|
+
}, undefined>, v.TransformAction<{
|
|
874
874
|
triggerPrice: string;
|
|
875
875
|
execution: {
|
|
876
876
|
type: "market_ioc";
|
|
@@ -890,32 +890,32 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
890
890
|
};
|
|
891
891
|
};
|
|
892
892
|
}>]>;
|
|
893
|
-
readonly trailingStop:
|
|
894
|
-
readonly oco:
|
|
895
|
-
}, undefined>,
|
|
896
|
-
readonly takeProfit:
|
|
897
|
-
readonly stopLoss:
|
|
898
|
-
readonly trailingStop:
|
|
899
|
-
readonly trailingDistance:
|
|
900
|
-
readonly kind:
|
|
901
|
-
readonly distance:
|
|
902
|
-
}, undefined>,
|
|
903
|
-
readonly kind:
|
|
904
|
-
readonly bps:
|
|
905
|
-
}, undefined>,
|
|
906
|
-
readonly kind:
|
|
893
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
894
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
895
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
896
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
897
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
898
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
899
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
900
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
901
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
902
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
903
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
904
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
905
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
906
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
907
907
|
}, undefined>], undefined>;
|
|
908
|
-
readonly maxSlippage:
|
|
909
|
-
readonly kind:
|
|
910
|
-
readonly slippage:
|
|
911
|
-
}, undefined>,
|
|
912
|
-
readonly kind:
|
|
913
|
-
readonly bps:
|
|
914
|
-
}, undefined>,
|
|
915
|
-
readonly kind:
|
|
908
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
909
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
910
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
911
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
912
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
913
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
914
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
915
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
916
916
|
}, undefined>], undefined>, undefined>;
|
|
917
|
-
readonly activationPrice:
|
|
918
|
-
}, undefined>,
|
|
917
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
918
|
+
}, undefined>, v.TransformAction<{
|
|
919
919
|
trailingDistance: {
|
|
920
920
|
kind: "bps";
|
|
921
921
|
bps: string | number;
|
|
@@ -958,8 +958,8 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
958
958
|
};
|
|
959
959
|
activationPriceTicks: bigint;
|
|
960
960
|
}>]>;
|
|
961
|
-
readonly oco:
|
|
962
|
-
}, undefined>], undefined>, undefined>,
|
|
961
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
962
|
+
}, undefined>], undefined>, undefined>, v.TransformAction<{
|
|
963
963
|
takeProfit: {
|
|
964
964
|
triggerPriceTicks: bigint;
|
|
965
965
|
child: {
|
|
@@ -1141,7 +1141,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
1141
1141
|
};
|
|
1142
1142
|
oco: boolean;
|
|
1143
1143
|
} | undefined>]>;
|
|
1144
|
-
}, undefined>], undefined>,
|
|
1144
|
+
}, undefined>], undefined>, v.CheckAction<{
|
|
1145
1145
|
qty: string;
|
|
1146
1146
|
maxQuoteDebit?: undefined;
|
|
1147
1147
|
symbol: string;
|
|
@@ -1299,7 +1299,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
1299
1299
|
};
|
|
1300
1300
|
oco: boolean;
|
|
1301
1301
|
} | undefined;
|
|
1302
|
-
}, "maxQuoteDebit is supported only for BUY market IOC and BUY limit IOC orders">,
|
|
1302
|
+
}, "maxQuoteDebit is supported only for BUY market IOC and BUY limit IOC orders">, v.CheckAction<{
|
|
1303
1303
|
qty: string;
|
|
1304
1304
|
maxQuoteDebit?: undefined;
|
|
1305
1305
|
symbol: string;
|
|
@@ -1457,7 +1457,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
1457
1457
|
};
|
|
1458
1458
|
oco: boolean;
|
|
1459
1459
|
} | undefined;
|
|
1460
|
-
}, "SELL orders must use the quote fee asset">]>,
|
|
1460
|
+
}, "SELL orders must use the quote fee asset">]>, v.TransformAction<{
|
|
1461
1461
|
qty: string;
|
|
1462
1462
|
maxQuoteDebit?: undefined;
|
|
1463
1463
|
symbol: string;
|
|
@@ -1784,25 +1784,25 @@ declare function createOrderIntentInputSchema(scales: SdkScales): validation_d_e
|
|
|
1784
1784
|
clientOrderId?: string | undefined;
|
|
1785
1785
|
selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
|
|
1786
1786
|
}>]>;
|
|
1787
|
-
type OrderIntentInput =
|
|
1788
|
-
declare function createNewOrderInputSchema(scales: SdkScales):
|
|
1789
|
-
readonly qty:
|
|
1790
|
-
readonly maxQuoteDebit:
|
|
1791
|
-
readonly symbol:
|
|
1792
|
-
readonly side:
|
|
1793
|
-
readonly execution:
|
|
1794
|
-
readonly type:
|
|
1795
|
-
readonly maxSlippage:
|
|
1796
|
-
readonly kind:
|
|
1797
|
-
readonly slippage:
|
|
1798
|
-
}, undefined>,
|
|
1799
|
-
readonly kind:
|
|
1800
|
-
readonly bps:
|
|
1801
|
-
}, undefined>,
|
|
1802
|
-
readonly kind:
|
|
1787
|
+
type OrderIntentInput = v.InferInput<ReturnType<typeof createOrderIntentInputSchema>>;
|
|
1788
|
+
declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
|
|
1789
|
+
readonly qty: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1790
|
+
readonly maxQuoteDebit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1791
|
+
readonly symbol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1792
|
+
readonly side: v.SchemaWithPipe<readonly [v.PicklistSchema<["buy", "sell"], undefined>, v.TransformAction<"buy" | "sell", Side.BUY | Side.SELL>]>;
|
|
1793
|
+
readonly execution: v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1794
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
1795
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1796
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
1797
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1798
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1799
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
1800
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
1801
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1802
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
1803
1803
|
}, undefined>], undefined>, undefined>;
|
|
1804
|
-
readonly clientRefPrice:
|
|
1805
|
-
}, undefined>,
|
|
1804
|
+
readonly clientRefPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1805
|
+
}, undefined>, v.TransformAction<{
|
|
1806
1806
|
type: "market_ioc";
|
|
1807
1807
|
maxSlippage?: {
|
|
1808
1808
|
kind: "bps";
|
|
@@ -1817,49 +1817,49 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
1817
1817
|
}, {
|
|
1818
1818
|
case: "marketIoc";
|
|
1819
1819
|
value: MarketIoc;
|
|
1820
|
-
}>]>,
|
|
1821
|
-
readonly type:
|
|
1822
|
-
readonly price:
|
|
1823
|
-
readonly postOnly:
|
|
1824
|
-
}, undefined>,
|
|
1820
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1821
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
1822
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1823
|
+
readonly postOnly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1824
|
+
}, undefined>, v.TransformAction<{
|
|
1825
1825
|
type: "limit_gtc";
|
|
1826
1826
|
price: string;
|
|
1827
1827
|
postOnly: boolean;
|
|
1828
1828
|
}, {
|
|
1829
1829
|
case: "limitGtc";
|
|
1830
1830
|
value: LimitGtc;
|
|
1831
|
-
}>]>,
|
|
1832
|
-
readonly type:
|
|
1833
|
-
readonly price:
|
|
1834
|
-
}, undefined>,
|
|
1831
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1832
|
+
readonly type: v.LiteralSchema<"limit_ioc", undefined>;
|
|
1833
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1834
|
+
}, undefined>, v.TransformAction<{
|
|
1835
1835
|
type: "limit_ioc";
|
|
1836
1836
|
price: string;
|
|
1837
1837
|
}, {
|
|
1838
1838
|
case: "limitIoc";
|
|
1839
1839
|
value: LimitIoc;
|
|
1840
|
-
}>]>,
|
|
1841
|
-
readonly type:
|
|
1842
|
-
readonly price:
|
|
1843
|
-
}, undefined>,
|
|
1840
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1841
|
+
readonly type: v.LiteralSchema<"limit_fok", undefined>;
|
|
1842
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1843
|
+
}, undefined>, v.TransformAction<{
|
|
1844
1844
|
type: "limit_fok";
|
|
1845
1845
|
price: string;
|
|
1846
1846
|
}, {
|
|
1847
1847
|
case: "limitFok";
|
|
1848
1848
|
value: LimitFok;
|
|
1849
1849
|
}>]>], undefined>;
|
|
1850
|
-
readonly clientOrderId:
|
|
1851
|
-
readonly feeAsset:
|
|
1852
|
-
readonly selfTradePreventionMode:
|
|
1853
|
-
readonly risk:
|
|
1854
|
-
readonly takeProfit:
|
|
1855
|
-
readonly triggerPrice:
|
|
1856
|
-
readonly execution:
|
|
1857
|
-
readonly type:
|
|
1858
|
-
}, undefined>,
|
|
1859
|
-
readonly type:
|
|
1860
|
-
readonly price:
|
|
1850
|
+
readonly clientOrderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, "clientOrderId has an invalid format">]>, undefined>;
|
|
1851
|
+
readonly feeAsset: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["quote", "base"], undefined>, undefined>, v.TransformAction<"quote" | "base" | undefined, FeeAsset.QUOTE | FeeAsset.BASE | undefined>]>;
|
|
1852
|
+
readonly selfTradePreventionMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["expire_taker", "expire_maker", "expire_both"], undefined>, undefined>, v.TransformAction<"expire_taker" | "expire_maker" | "expire_both" | undefined, SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined>]>;
|
|
1853
|
+
readonly risk: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1854
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1855
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1856
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1857
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
1858
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1859
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
1860
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1861
1861
|
}, undefined>], undefined>;
|
|
1862
|
-
}, undefined>,
|
|
1862
|
+
}, undefined>, v.TransformAction<{
|
|
1863
1863
|
triggerPrice: string;
|
|
1864
1864
|
execution: {
|
|
1865
1865
|
type: "market_ioc";
|
|
@@ -1879,15 +1879,15 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
1879
1879
|
};
|
|
1880
1880
|
};
|
|
1881
1881
|
}>]>;
|
|
1882
|
-
readonly stopLoss:
|
|
1883
|
-
readonly triggerPrice:
|
|
1884
|
-
readonly execution:
|
|
1885
|
-
readonly type:
|
|
1886
|
-
}, undefined>,
|
|
1887
|
-
readonly type:
|
|
1888
|
-
readonly price:
|
|
1882
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1883
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1884
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1885
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
1886
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1887
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
1888
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1889
1889
|
}, undefined>], undefined>;
|
|
1890
|
-
}, undefined>,
|
|
1890
|
+
}, undefined>, v.TransformAction<{
|
|
1891
1891
|
triggerPrice: string;
|
|
1892
1892
|
execution: {
|
|
1893
1893
|
type: "market_ioc";
|
|
@@ -1907,18 +1907,18 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
1907
1907
|
};
|
|
1908
1908
|
};
|
|
1909
1909
|
}>]>;
|
|
1910
|
-
readonly trailingStop:
|
|
1911
|
-
readonly oco:
|
|
1912
|
-
}, undefined>,
|
|
1913
|
-
readonly takeProfit:
|
|
1914
|
-
readonly triggerPrice:
|
|
1915
|
-
readonly execution:
|
|
1916
|
-
readonly type:
|
|
1917
|
-
}, undefined>,
|
|
1918
|
-
readonly type:
|
|
1919
|
-
readonly price:
|
|
1910
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1911
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1912
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1913
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1914
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1915
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1916
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
1917
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1918
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
1919
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1920
1920
|
}, undefined>], undefined>;
|
|
1921
|
-
}, undefined>,
|
|
1921
|
+
}, undefined>, v.TransformAction<{
|
|
1922
1922
|
triggerPrice: string;
|
|
1923
1923
|
execution: {
|
|
1924
1924
|
type: "market_ioc";
|
|
@@ -1938,28 +1938,28 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
1938
1938
|
};
|
|
1939
1939
|
};
|
|
1940
1940
|
}>]>;
|
|
1941
|
-
readonly stopLoss:
|
|
1942
|
-
readonly trailingStop:
|
|
1943
|
-
readonly trailingDistance:
|
|
1944
|
-
readonly kind:
|
|
1945
|
-
readonly distance:
|
|
1946
|
-
}, undefined>,
|
|
1947
|
-
readonly kind:
|
|
1948
|
-
readonly bps:
|
|
1949
|
-
}, undefined>,
|
|
1950
|
-
readonly kind:
|
|
1941
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1942
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1943
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1944
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
1945
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1946
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1947
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
1948
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
1949
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1950
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
1951
1951
|
}, undefined>], undefined>;
|
|
1952
|
-
readonly maxSlippage:
|
|
1953
|
-
readonly kind:
|
|
1954
|
-
readonly slippage:
|
|
1955
|
-
}, undefined>,
|
|
1956
|
-
readonly kind:
|
|
1957
|
-
readonly bps:
|
|
1958
|
-
}, undefined>,
|
|
1959
|
-
readonly kind:
|
|
1952
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1953
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
1954
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1955
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1956
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
1957
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
1958
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1959
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
1960
1960
|
}, undefined>], undefined>, undefined>;
|
|
1961
|
-
readonly activationPrice:
|
|
1962
|
-
}, undefined>,
|
|
1961
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1962
|
+
}, undefined>, v.TransformAction<{
|
|
1963
1963
|
trailingDistance: {
|
|
1964
1964
|
kind: "bps";
|
|
1965
1965
|
bps: string | number;
|
|
@@ -2002,17 +2002,17 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2002
2002
|
};
|
|
2003
2003
|
activationPriceTicks: bigint;
|
|
2004
2004
|
}>]>;
|
|
2005
|
-
readonly oco:
|
|
2006
|
-
}, undefined>,
|
|
2007
|
-
readonly takeProfit:
|
|
2008
|
-
readonly triggerPrice:
|
|
2009
|
-
readonly execution:
|
|
2010
|
-
readonly type:
|
|
2011
|
-
}, undefined>,
|
|
2012
|
-
readonly type:
|
|
2013
|
-
readonly price:
|
|
2005
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2006
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2007
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2008
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2009
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2010
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2011
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2012
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2013
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2014
2014
|
}, undefined>], undefined>;
|
|
2015
|
-
}, undefined>,
|
|
2015
|
+
}, undefined>, v.TransformAction<{
|
|
2016
2016
|
triggerPrice: string;
|
|
2017
2017
|
execution: {
|
|
2018
2018
|
type: "market_ioc";
|
|
@@ -2032,20 +2032,20 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2032
2032
|
};
|
|
2033
2033
|
};
|
|
2034
2034
|
}>]>;
|
|
2035
|
-
readonly stopLoss:
|
|
2036
|
-
readonly trailingStop:
|
|
2037
|
-
readonly oco:
|
|
2038
|
-
}, undefined>,
|
|
2039
|
-
readonly takeProfit:
|
|
2040
|
-
readonly stopLoss:
|
|
2041
|
-
readonly triggerPrice:
|
|
2042
|
-
readonly execution:
|
|
2043
|
-
readonly type:
|
|
2044
|
-
}, undefined>,
|
|
2045
|
-
readonly type:
|
|
2046
|
-
readonly price:
|
|
2035
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2036
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2037
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2038
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2039
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2040
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2041
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2042
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2043
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2044
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2045
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2046
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2047
2047
|
}, undefined>], undefined>;
|
|
2048
|
-
}, undefined>,
|
|
2048
|
+
}, undefined>, v.TransformAction<{
|
|
2049
2049
|
triggerPrice: string;
|
|
2050
2050
|
execution: {
|
|
2051
2051
|
type: "market_ioc";
|
|
@@ -2065,32 +2065,32 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2065
2065
|
};
|
|
2066
2066
|
};
|
|
2067
2067
|
}>]>;
|
|
2068
|
-
readonly trailingStop:
|
|
2069
|
-
readonly oco:
|
|
2070
|
-
}, undefined>,
|
|
2071
|
-
readonly takeProfit:
|
|
2072
|
-
readonly stopLoss:
|
|
2073
|
-
readonly trailingStop:
|
|
2074
|
-
readonly trailingDistance:
|
|
2075
|
-
readonly kind:
|
|
2076
|
-
readonly distance:
|
|
2077
|
-
}, undefined>,
|
|
2078
|
-
readonly kind:
|
|
2079
|
-
readonly bps:
|
|
2080
|
-
}, undefined>,
|
|
2081
|
-
readonly kind:
|
|
2068
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2069
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2070
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2071
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2072
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2073
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2074
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
2075
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
2076
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2077
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2078
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2079
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2080
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2081
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2082
2082
|
}, undefined>], undefined>;
|
|
2083
|
-
readonly maxSlippage:
|
|
2084
|
-
readonly kind:
|
|
2085
|
-
readonly slippage:
|
|
2086
|
-
}, undefined>,
|
|
2087
|
-
readonly kind:
|
|
2088
|
-
readonly bps:
|
|
2089
|
-
}, undefined>,
|
|
2090
|
-
readonly kind:
|
|
2083
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
2084
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
2085
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2086
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2087
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2088
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2089
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2090
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2091
2091
|
}, undefined>], undefined>, undefined>;
|
|
2092
|
-
readonly activationPrice:
|
|
2093
|
-
}, undefined>,
|
|
2092
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2093
|
+
}, undefined>, v.TransformAction<{
|
|
2094
2094
|
trailingDistance: {
|
|
2095
2095
|
kind: "bps";
|
|
2096
2096
|
bps: string | number;
|
|
@@ -2133,8 +2133,8 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2133
2133
|
};
|
|
2134
2134
|
activationPriceTicks: bigint;
|
|
2135
2135
|
}>]>;
|
|
2136
|
-
readonly oco:
|
|
2137
|
-
}, undefined>], undefined>, undefined>,
|
|
2136
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2137
|
+
}, undefined>], undefined>, undefined>, v.TransformAction<{
|
|
2138
2138
|
takeProfit: {
|
|
2139
2139
|
triggerPriceTicks: bigint;
|
|
2140
2140
|
child: {
|
|
@@ -2316,27 +2316,27 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2316
2316
|
};
|
|
2317
2317
|
oco: boolean;
|
|
2318
2318
|
} | undefined>]>;
|
|
2319
|
-
readonly account:
|
|
2320
|
-
readonly subaccountId:
|
|
2319
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
2320
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2321
2321
|
}, undefined>], undefined>, undefined>;
|
|
2322
|
-
}, undefined>,
|
|
2323
|
-
readonly qty:
|
|
2324
|
-
readonly maxQuoteDebit:
|
|
2325
|
-
readonly symbol:
|
|
2326
|
-
readonly side:
|
|
2327
|
-
readonly execution:
|
|
2328
|
-
readonly type:
|
|
2329
|
-
readonly maxSlippage:
|
|
2330
|
-
readonly kind:
|
|
2331
|
-
readonly slippage:
|
|
2332
|
-
}, undefined>,
|
|
2333
|
-
readonly kind:
|
|
2334
|
-
readonly bps:
|
|
2335
|
-
}, undefined>,
|
|
2336
|
-
readonly kind:
|
|
2322
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2323
|
+
readonly qty: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2324
|
+
readonly maxQuoteDebit: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2325
|
+
readonly symbol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2326
|
+
readonly side: v.SchemaWithPipe<readonly [v.PicklistSchema<["buy", "sell"], undefined>, v.TransformAction<"buy" | "sell", Side.BUY | Side.SELL>]>;
|
|
2327
|
+
readonly execution: v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2328
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2329
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
2330
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
2331
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2332
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2333
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2334
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2335
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2336
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2337
2337
|
}, undefined>], undefined>, undefined>;
|
|
2338
|
-
readonly clientRefPrice:
|
|
2339
|
-
}, undefined>,
|
|
2338
|
+
readonly clientRefPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2339
|
+
}, undefined>, v.TransformAction<{
|
|
2340
2340
|
type: "market_ioc";
|
|
2341
2341
|
maxSlippage?: {
|
|
2342
2342
|
kind: "bps";
|
|
@@ -2351,49 +2351,49 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2351
2351
|
}, {
|
|
2352
2352
|
case: "marketIoc";
|
|
2353
2353
|
value: MarketIoc;
|
|
2354
|
-
}>]>,
|
|
2355
|
-
readonly type:
|
|
2356
|
-
readonly price:
|
|
2357
|
-
readonly postOnly:
|
|
2358
|
-
}, undefined>,
|
|
2354
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2355
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2356
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2357
|
+
readonly postOnly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
2358
|
+
}, undefined>, v.TransformAction<{
|
|
2359
2359
|
type: "limit_gtc";
|
|
2360
2360
|
price: string;
|
|
2361
2361
|
postOnly: boolean;
|
|
2362
2362
|
}, {
|
|
2363
2363
|
case: "limitGtc";
|
|
2364
2364
|
value: LimitGtc;
|
|
2365
|
-
}>]>,
|
|
2366
|
-
readonly type:
|
|
2367
|
-
readonly price:
|
|
2368
|
-
}, undefined>,
|
|
2365
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2366
|
+
readonly type: v.LiteralSchema<"limit_ioc", undefined>;
|
|
2367
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2368
|
+
}, undefined>, v.TransformAction<{
|
|
2369
2369
|
type: "limit_ioc";
|
|
2370
2370
|
price: string;
|
|
2371
2371
|
}, {
|
|
2372
2372
|
case: "limitIoc";
|
|
2373
2373
|
value: LimitIoc;
|
|
2374
|
-
}>]>,
|
|
2375
|
-
readonly type:
|
|
2376
|
-
readonly price:
|
|
2377
|
-
}, undefined>,
|
|
2374
|
+
}>]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2375
|
+
readonly type: v.LiteralSchema<"limit_fok", undefined>;
|
|
2376
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2377
|
+
}, undefined>, v.TransformAction<{
|
|
2378
2378
|
type: "limit_fok";
|
|
2379
2379
|
price: string;
|
|
2380
2380
|
}, {
|
|
2381
2381
|
case: "limitFok";
|
|
2382
2382
|
value: LimitFok;
|
|
2383
2383
|
}>]>], undefined>;
|
|
2384
|
-
readonly clientOrderId:
|
|
2385
|
-
readonly feeAsset:
|
|
2386
|
-
readonly selfTradePreventionMode:
|
|
2387
|
-
readonly risk:
|
|
2388
|
-
readonly takeProfit:
|
|
2389
|
-
readonly triggerPrice:
|
|
2390
|
-
readonly execution:
|
|
2391
|
-
readonly type:
|
|
2392
|
-
}, undefined>,
|
|
2393
|
-
readonly type:
|
|
2394
|
-
readonly price:
|
|
2384
|
+
readonly clientOrderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, "clientOrderId has an invalid format">]>, undefined>;
|
|
2385
|
+
readonly feeAsset: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["quote", "base"], undefined>, undefined>, v.TransformAction<"quote" | "base" | undefined, FeeAsset.QUOTE | FeeAsset.BASE | undefined>]>;
|
|
2386
|
+
readonly selfTradePreventionMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["expire_taker", "expire_maker", "expire_both"], undefined>, undefined>, v.TransformAction<"expire_taker" | "expire_maker" | "expire_both" | undefined, SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined>]>;
|
|
2387
|
+
readonly risk: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
2388
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2389
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2390
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2391
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2392
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2393
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2394
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2395
2395
|
}, undefined>], undefined>;
|
|
2396
|
-
}, undefined>,
|
|
2396
|
+
}, undefined>, v.TransformAction<{
|
|
2397
2397
|
triggerPrice: string;
|
|
2398
2398
|
execution: {
|
|
2399
2399
|
type: "market_ioc";
|
|
@@ -2413,15 +2413,15 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2413
2413
|
};
|
|
2414
2414
|
};
|
|
2415
2415
|
}>]>;
|
|
2416
|
-
readonly stopLoss:
|
|
2417
|
-
readonly triggerPrice:
|
|
2418
|
-
readonly execution:
|
|
2419
|
-
readonly type:
|
|
2420
|
-
}, undefined>,
|
|
2421
|
-
readonly type:
|
|
2422
|
-
readonly price:
|
|
2416
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2417
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2418
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2419
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2420
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2421
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2422
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2423
2423
|
}, undefined>], undefined>;
|
|
2424
|
-
}, undefined>,
|
|
2424
|
+
}, undefined>, v.TransformAction<{
|
|
2425
2425
|
triggerPrice: string;
|
|
2426
2426
|
execution: {
|
|
2427
2427
|
type: "market_ioc";
|
|
@@ -2441,18 +2441,18 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
2443
|
}>]>;
|
|
2444
|
-
readonly trailingStop:
|
|
2445
|
-
readonly oco:
|
|
2446
|
-
}, undefined>,
|
|
2447
|
-
readonly takeProfit:
|
|
2448
|
-
readonly triggerPrice:
|
|
2449
|
-
readonly execution:
|
|
2450
|
-
readonly type:
|
|
2451
|
-
}, undefined>,
|
|
2452
|
-
readonly type:
|
|
2453
|
-
readonly price:
|
|
2444
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2445
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2446
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2447
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2448
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2449
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2450
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2451
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2452
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2453
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2454
2454
|
}, undefined>], undefined>;
|
|
2455
|
-
}, undefined>,
|
|
2455
|
+
}, undefined>, v.TransformAction<{
|
|
2456
2456
|
triggerPrice: string;
|
|
2457
2457
|
execution: {
|
|
2458
2458
|
type: "market_ioc";
|
|
@@ -2472,28 +2472,28 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2472
2472
|
};
|
|
2473
2473
|
};
|
|
2474
2474
|
}>]>;
|
|
2475
|
-
readonly stopLoss:
|
|
2476
|
-
readonly trailingStop:
|
|
2477
|
-
readonly trailingDistance:
|
|
2478
|
-
readonly kind:
|
|
2479
|
-
readonly distance:
|
|
2480
|
-
}, undefined>,
|
|
2481
|
-
readonly kind:
|
|
2482
|
-
readonly bps:
|
|
2483
|
-
}, undefined>,
|
|
2484
|
-
readonly kind:
|
|
2475
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2476
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2477
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
2478
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
2479
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2480
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2481
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2482
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2483
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2484
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2485
2485
|
}, undefined>], undefined>;
|
|
2486
|
-
readonly maxSlippage:
|
|
2487
|
-
readonly kind:
|
|
2488
|
-
readonly slippage:
|
|
2489
|
-
}, undefined>,
|
|
2490
|
-
readonly kind:
|
|
2491
|
-
readonly bps:
|
|
2492
|
-
}, undefined>,
|
|
2493
|
-
readonly kind:
|
|
2486
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
2487
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
2488
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2489
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2490
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2491
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2492
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2493
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2494
2494
|
}, undefined>], undefined>, undefined>;
|
|
2495
|
-
readonly activationPrice:
|
|
2496
|
-
}, undefined>,
|
|
2495
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2496
|
+
}, undefined>, v.TransformAction<{
|
|
2497
2497
|
trailingDistance: {
|
|
2498
2498
|
kind: "bps";
|
|
2499
2499
|
bps: string | number;
|
|
@@ -2536,17 +2536,17 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2536
2536
|
};
|
|
2537
2537
|
activationPriceTicks: bigint;
|
|
2538
2538
|
}>]>;
|
|
2539
|
-
readonly oco:
|
|
2540
|
-
}, undefined>,
|
|
2541
|
-
readonly takeProfit:
|
|
2542
|
-
readonly triggerPrice:
|
|
2543
|
-
readonly execution:
|
|
2544
|
-
readonly type:
|
|
2545
|
-
}, undefined>,
|
|
2546
|
-
readonly type:
|
|
2547
|
-
readonly price:
|
|
2539
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2540
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2541
|
+
readonly takeProfit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2542
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2543
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2544
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2545
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2546
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2547
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2548
2548
|
}, undefined>], undefined>;
|
|
2549
|
-
}, undefined>,
|
|
2549
|
+
}, undefined>, v.TransformAction<{
|
|
2550
2550
|
triggerPrice: string;
|
|
2551
2551
|
execution: {
|
|
2552
2552
|
type: "market_ioc";
|
|
@@ -2566,20 +2566,20 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2566
2566
|
};
|
|
2567
2567
|
};
|
|
2568
2568
|
}>]>;
|
|
2569
|
-
readonly stopLoss:
|
|
2570
|
-
readonly trailingStop:
|
|
2571
|
-
readonly oco:
|
|
2572
|
-
}, undefined>,
|
|
2573
|
-
readonly takeProfit:
|
|
2574
|
-
readonly stopLoss:
|
|
2575
|
-
readonly triggerPrice:
|
|
2576
|
-
readonly execution:
|
|
2577
|
-
readonly type:
|
|
2578
|
-
}, undefined>,
|
|
2579
|
-
readonly type:
|
|
2580
|
-
readonly price:
|
|
2569
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2570
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2571
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2572
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2573
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2574
|
+
readonly stopLoss: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2575
|
+
readonly triggerPrice: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2576
|
+
readonly execution: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2577
|
+
readonly type: v.LiteralSchema<"market_ioc", undefined>;
|
|
2578
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2579
|
+
readonly type: v.LiteralSchema<"limit_gtc", undefined>;
|
|
2580
|
+
readonly price: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2581
2581
|
}, undefined>], undefined>;
|
|
2582
|
-
}, undefined>,
|
|
2582
|
+
}, undefined>, v.TransformAction<{
|
|
2583
2583
|
triggerPrice: string;
|
|
2584
2584
|
execution: {
|
|
2585
2585
|
type: "market_ioc";
|
|
@@ -2599,32 +2599,32 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2599
2599
|
};
|
|
2600
2600
|
};
|
|
2601
2601
|
}>]>;
|
|
2602
|
-
readonly trailingStop:
|
|
2603
|
-
readonly oco:
|
|
2604
|
-
}, undefined>,
|
|
2605
|
-
readonly takeProfit:
|
|
2606
|
-
readonly stopLoss:
|
|
2607
|
-
readonly trailingStop:
|
|
2608
|
-
readonly trailingDistance:
|
|
2609
|
-
readonly kind:
|
|
2610
|
-
readonly distance:
|
|
2611
|
-
}, undefined>,
|
|
2612
|
-
readonly kind:
|
|
2613
|
-
readonly bps:
|
|
2614
|
-
}, undefined>,
|
|
2615
|
-
readonly kind:
|
|
2602
|
+
readonly trailingStop: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2603
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2604
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2605
|
+
readonly takeProfit: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2606
|
+
readonly stopLoss: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
2607
|
+
readonly trailingStop: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
2608
|
+
readonly trailingDistance: v.UnionSchema<[v.StrictObjectSchema<{
|
|
2609
|
+
readonly kind: v.LiteralSchema<"distance", undefined>;
|
|
2610
|
+
readonly distance: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2611
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2612
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2613
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2614
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2615
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2616
2616
|
}, undefined>], undefined>;
|
|
2617
|
-
readonly maxSlippage:
|
|
2618
|
-
readonly kind:
|
|
2619
|
-
readonly slippage:
|
|
2620
|
-
}, undefined>,
|
|
2621
|
-
readonly kind:
|
|
2622
|
-
readonly bps:
|
|
2623
|
-
}, undefined>,
|
|
2624
|
-
readonly kind:
|
|
2617
|
+
readonly maxSlippage: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
2618
|
+
readonly kind: v.LiteralSchema<"slippage", undefined>;
|
|
2619
|
+
readonly slippage: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2620
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2621
|
+
readonly kind: v.LiteralSchema<"bps", undefined>;
|
|
2622
|
+
readonly bps: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.GtValueAction<number, 0, undefined>]>], undefined>;
|
|
2623
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2624
|
+
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
2625
2625
|
}, undefined>], undefined>, undefined>;
|
|
2626
|
-
readonly activationPrice:
|
|
2627
|
-
}, undefined>,
|
|
2626
|
+
readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2627
|
+
}, undefined>, v.TransformAction<{
|
|
2628
2628
|
trailingDistance: {
|
|
2629
2629
|
kind: "bps";
|
|
2630
2630
|
bps: string | number;
|
|
@@ -2667,8 +2667,8 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2667
2667
|
};
|
|
2668
2668
|
activationPriceTicks: bigint;
|
|
2669
2669
|
}>]>;
|
|
2670
|
-
readonly oco:
|
|
2671
|
-
}, undefined>], undefined>, undefined>,
|
|
2670
|
+
readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2671
|
+
}, undefined>], undefined>, undefined>, v.TransformAction<{
|
|
2672
2672
|
takeProfit: {
|
|
2673
2673
|
triggerPriceTicks: bigint;
|
|
2674
2674
|
child: {
|
|
@@ -2850,10 +2850,10 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
2850
2850
|
};
|
|
2851
2851
|
oco: boolean;
|
|
2852
2852
|
} | undefined>]>;
|
|
2853
|
-
readonly account:
|
|
2854
|
-
readonly subaccountId:
|
|
2853
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
2854
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
2855
2855
|
}, undefined>], undefined>, undefined>;
|
|
2856
|
-
}, undefined>], undefined>,
|
|
2856
|
+
}, undefined>], undefined>, v.CheckAction<{
|
|
2857
2857
|
qty: string;
|
|
2858
2858
|
maxQuoteDebit?: undefined;
|
|
2859
2859
|
symbol: string;
|
|
@@ -3017,7 +3017,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
3017
3017
|
account?: "active" | "main" | {
|
|
3018
3018
|
subaccountId: string;
|
|
3019
3019
|
} | undefined;
|
|
3020
|
-
}, "maxQuoteDebit is supported only for BUY market IOC and BUY limit IOC orders">,
|
|
3020
|
+
}, "maxQuoteDebit is supported only for BUY market IOC and BUY limit IOC orders">, v.CheckAction<{
|
|
3021
3021
|
qty: string;
|
|
3022
3022
|
maxQuoteDebit?: undefined;
|
|
3023
3023
|
symbol: string;
|
|
@@ -3181,7 +3181,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
3181
3181
|
account?: "active" | "main" | {
|
|
3182
3182
|
subaccountId: string;
|
|
3183
3183
|
} | undefined;
|
|
3184
|
-
}, "SELL orders must use the quote fee asset">]>,
|
|
3184
|
+
}, "SELL orders must use the quote fee asset">]>, v.TransformAction<{
|
|
3185
3185
|
qty: string;
|
|
3186
3186
|
maxQuoteDebit?: undefined;
|
|
3187
3187
|
symbol: string;
|
|
@@ -3517,22 +3517,22 @@ declare function createNewOrderInputSchema(scales: SdkScales): validation_d_expo
|
|
|
3517
3517
|
selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
|
|
3518
3518
|
};
|
|
3519
3519
|
}>]>;
|
|
3520
|
-
type NewOrderInput =
|
|
3521
|
-
declare const CancelOrderInputSchema:
|
|
3522
|
-
readonly orderId:
|
|
3523
|
-
readonly clientOrderId:
|
|
3524
|
-
readonly account:
|
|
3525
|
-
readonly subaccountId:
|
|
3520
|
+
type NewOrderInput = v.InferInput<ReturnType<typeof createNewOrderInputSchema>>;
|
|
3521
|
+
declare const CancelOrderInputSchema: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
|
|
3522
|
+
readonly orderId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
3523
|
+
readonly clientOrderId: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
3524
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
3525
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
3526
3526
|
}, undefined>], undefined>, undefined>;
|
|
3527
|
-
readonly symbolId:
|
|
3528
|
-
}, undefined>,
|
|
3529
|
-
readonly orderId:
|
|
3530
|
-
readonly clientOrderId:
|
|
3531
|
-
readonly account:
|
|
3532
|
-
readonly subaccountId:
|
|
3527
|
+
readonly symbolId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3528
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
3529
|
+
readonly orderId: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
3530
|
+
readonly clientOrderId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
3531
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
3532
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
3533
3533
|
}, undefined>], undefined>, undefined>;
|
|
3534
|
-
readonly symbolId:
|
|
3535
|
-
}, undefined>], undefined>,
|
|
3534
|
+
readonly symbolId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3535
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
3536
3536
|
orderId: bigint;
|
|
3537
3537
|
clientOrderId?: undefined;
|
|
3538
3538
|
account?: "active" | "main" | {
|
|
@@ -3567,12 +3567,12 @@ declare const CancelOrderInputSchema: validation_d_exports.SchemaWithPipe<readon
|
|
|
3567
3567
|
};
|
|
3568
3568
|
symbolId?: number | undefined;
|
|
3569
3569
|
}>]>;
|
|
3570
|
-
type CancelOrderInput =
|
|
3571
|
-
declare const CancelOrderResultSchema:
|
|
3572
|
-
readonly status:
|
|
3573
|
-
readonly orderId:
|
|
3574
|
-
readonly tsNs:
|
|
3575
|
-
}, undefined>,
|
|
3570
|
+
type CancelOrderInput = v.InferInput<typeof CancelOrderInputSchema>;
|
|
3571
|
+
declare const CancelOrderResultSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3572
|
+
readonly status: v.StringSchema<undefined>;
|
|
3573
|
+
readonly orderId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
3574
|
+
readonly tsNs: v.BigintSchema<undefined>;
|
|
3575
|
+
}, undefined>, v.TransformAction<{
|
|
3576
3576
|
status: string;
|
|
3577
3577
|
orderId: string;
|
|
3578
3578
|
tsNs: bigint;
|
|
@@ -3582,16 +3582,16 @@ declare const CancelOrderResultSchema: validation_d_exports.SchemaWithPipe<reado
|
|
|
3582
3582
|
status: string;
|
|
3583
3583
|
orderId: string;
|
|
3584
3584
|
}>]>;
|
|
3585
|
-
type CancelOrderResult =
|
|
3586
|
-
declare const CancelAllOrdersInputSchema:
|
|
3587
|
-
readonly symbol:
|
|
3588
|
-
readonly side:
|
|
3589
|
-
readonly dryRun:
|
|
3590
|
-
readonly requestId:
|
|
3591
|
-
readonly account:
|
|
3592
|
-
readonly subaccountId:
|
|
3585
|
+
type CancelOrderResult = v.InferOutput<typeof CancelOrderResultSchema>;
|
|
3586
|
+
declare const CancelAllOrdersInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
3587
|
+
readonly symbol: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
3588
|
+
readonly side: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<["buy", "sell"], undefined>, undefined>, v.TransformAction<"buy" | "sell" | undefined, Side.BUY | Side.SELL | undefined>]>;
|
|
3589
|
+
readonly dryRun: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
3590
|
+
readonly requestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
3591
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
3592
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
3593
3593
|
}, undefined>], undefined>, undefined>;
|
|
3594
|
-
}, undefined>,
|
|
3594
|
+
}, undefined>, v.TransformAction<{
|
|
3595
3595
|
symbol?: string | undefined;
|
|
3596
3596
|
side?: Side.BUY | Side.SELL | undefined;
|
|
3597
3597
|
dryRun: boolean;
|
|
@@ -3606,14 +3606,14 @@ declare const CancelAllOrdersInputSchema: validation_d_exports.SchemaWithPipe<re
|
|
|
3606
3606
|
dryRun: boolean;
|
|
3607
3607
|
requestId?: string | undefined;
|
|
3608
3608
|
}>]>;
|
|
3609
|
-
type CancelAllOrdersInput =
|
|
3610
|
-
declare const CancelAllOrdersResponseSchema:
|
|
3611
|
-
readonly status:
|
|
3612
|
-
readonly matchedOrders:
|
|
3613
|
-
readonly submittedCancels:
|
|
3614
|
-
readonly failedCancels:
|
|
3615
|
-
readonly tsNs:
|
|
3616
|
-
}, undefined>,
|
|
3609
|
+
type CancelAllOrdersInput = v.InferInput<typeof CancelAllOrdersInputSchema>;
|
|
3610
|
+
declare const CancelAllOrdersResponseSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3611
|
+
readonly status: v.StringSchema<undefined>;
|
|
3612
|
+
readonly matchedOrders: v.NumberSchema<undefined>;
|
|
3613
|
+
readonly submittedCancels: v.NumberSchema<undefined>;
|
|
3614
|
+
readonly failedCancels: v.NumberSchema<undefined>;
|
|
3615
|
+
readonly tsNs: v.BigintSchema<undefined>;
|
|
3616
|
+
}, undefined>, v.TransformAction<{
|
|
3617
3617
|
status: string;
|
|
3618
3618
|
matchedOrders: number;
|
|
3619
3619
|
submittedCancels: number;
|
|
@@ -3626,16 +3626,16 @@ declare const CancelAllOrdersResponseSchema: validation_d_exports.SchemaWithPipe
|
|
|
3626
3626
|
failedCancels: number;
|
|
3627
3627
|
ts: number;
|
|
3628
3628
|
}>]>;
|
|
3629
|
-
type CancelAllOrdersResponse =
|
|
3630
|
-
declare const GetOrderDetailsInputSchema:
|
|
3631
|
-
readonly includeAttachedRisk:
|
|
3632
|
-
readonly includeAttachedRiskState:
|
|
3633
|
-
readonly account:
|
|
3634
|
-
readonly subaccountId:
|
|
3629
|
+
type CancelAllOrdersResponse = v.InferOutput<typeof CancelAllOrdersResponseSchema>;
|
|
3630
|
+
declare const GetOrderDetailsInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
3631
|
+
readonly includeAttachedRisk: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
3632
|
+
readonly includeAttachedRiskState: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
3633
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
3634
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
3635
3635
|
}, undefined>], undefined>, undefined>;
|
|
3636
|
-
readonly orderId:
|
|
3637
|
-
readonly clientOrderId:
|
|
3638
|
-
}, undefined>,
|
|
3636
|
+
readonly orderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
3637
|
+
readonly clientOrderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
3638
|
+
}, undefined>, v.CheckAction<{
|
|
3639
3639
|
includeAttachedRisk: boolean;
|
|
3640
3640
|
includeAttachedRiskState: boolean;
|
|
3641
3641
|
account?: "active" | "main" | {
|
|
@@ -3643,7 +3643,7 @@ declare const GetOrderDetailsInputSchema: validation_d_exports.SchemaWithPipe<re
|
|
|
3643
3643
|
} | undefined;
|
|
3644
3644
|
orderId?: string | undefined;
|
|
3645
3645
|
clientOrderId?: string | undefined;
|
|
3646
|
-
}, "Provide exactly one of orderId or clientOrderId">,
|
|
3646
|
+
}, "Provide exactly one of orderId or clientOrderId">, v.TransformAction<{
|
|
3647
3647
|
includeAttachedRisk: boolean;
|
|
3648
3648
|
includeAttachedRiskState: boolean;
|
|
3649
3649
|
account?: "active" | "main" | {
|
|
@@ -3663,24 +3663,24 @@ declare const GetOrderDetailsInputSchema: validation_d_exports.SchemaWithPipe<re
|
|
|
3663
3663
|
includeAttachedRisk: boolean;
|
|
3664
3664
|
includeAttachedRiskState: boolean;
|
|
3665
3665
|
}>]>;
|
|
3666
|
-
type GetOrderDetailsInput =
|
|
3667
|
-
declare function createCreateOrderResultSchema(scales: SdkScales, symbol: string):
|
|
3668
|
-
readonly orderId:
|
|
3669
|
-
readonly clientOrderId:
|
|
3670
|
-
readonly acceptedAt:
|
|
3671
|
-
readonly seconds:
|
|
3672
|
-
readonly nanos:
|
|
3673
|
-
}, undefined>, undefined>,
|
|
3666
|
+
type GetOrderDetailsInput = v.InferInput<typeof GetOrderDetailsInputSchema>;
|
|
3667
|
+
declare function createCreateOrderResultSchema(scales: SdkScales, symbol: string): v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3668
|
+
readonly orderId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
3669
|
+
readonly clientOrderId: v.StringSchema<undefined>;
|
|
3670
|
+
readonly acceptedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
3671
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
3672
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
3673
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
3674
3674
|
seconds: bigint;
|
|
3675
3675
|
nanos: number;
|
|
3676
3676
|
} | undefined, number | undefined>]>;
|
|
3677
|
-
readonly acceptedAtTsNs:
|
|
3678
|
-
readonly resolvedBaseQtyScaled:
|
|
3679
|
-
readonly submittedMaxQuoteDebitScaled:
|
|
3680
|
-
readonly takeProfitTriggerId:
|
|
3681
|
-
readonly stopLossTriggerId:
|
|
3682
|
-
readonly trailingStopTriggerId:
|
|
3683
|
-
}, undefined>,
|
|
3677
|
+
readonly acceptedAtTsNs: v.BigintSchema<undefined>;
|
|
3678
|
+
readonly resolvedBaseQtyScaled: v.BigintSchema<undefined>;
|
|
3679
|
+
readonly submittedMaxQuoteDebitScaled: v.OptionalSchema<v.BigintSchema<undefined>, undefined>;
|
|
3680
|
+
readonly takeProfitTriggerId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3681
|
+
readonly stopLossTriggerId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3682
|
+
readonly trailingStopTriggerId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3683
|
+
}, undefined>, v.TransformAction<{
|
|
3684
3684
|
orderId: string;
|
|
3685
3685
|
clientOrderId: string;
|
|
3686
3686
|
acceptedAt?: number | undefined;
|
|
@@ -3701,38 +3701,38 @@ declare function createCreateOrderResultSchema(scales: SdkScales, symbol: string
|
|
|
3701
3701
|
stopLossTriggerId?: string | undefined;
|
|
3702
3702
|
trailingStopTriggerId?: string | undefined;
|
|
3703
3703
|
}>]>;
|
|
3704
|
-
type CreateOrderResult =
|
|
3705
|
-
declare function createPreviewOrderResultSchema(scales: SdkScales, symbol: string):
|
|
3706
|
-
readonly admissible:
|
|
3707
|
-
readonly rejection:
|
|
3708
|
-
readonly code:
|
|
3709
|
-
readonly violations:
|
|
3710
|
-
readonly fieldPath:
|
|
3711
|
-
readonly ruleId:
|
|
3712
|
-
readonly message:
|
|
3704
|
+
type CreateOrderResult = v.InferOutput<ReturnType<typeof createCreateOrderResultSchema>>;
|
|
3705
|
+
declare function createPreviewOrderResultSchema(scales: SdkScales, symbol: string): v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3706
|
+
readonly admissible: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3707
|
+
readonly rejection: v.OptionalSchema<v.ObjectSchema<{
|
|
3708
|
+
readonly code: v.SchemaWithPipe<readonly [v.EnumSchema<typeof ErrorCode, undefined>, v.TransformAction<ErrorCode, "STALE_QUOTE" | "UNSPECIFIED" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "INTERNAL_ERROR" | "SUBACCOUNT_INACTIVE" | "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" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "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_CANCEL_REJECTED" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "RATE_LIMIT_EXCEEDED">]>;
|
|
3709
|
+
readonly violations: v.ArraySchema<v.ObjectSchema<{
|
|
3710
|
+
readonly fieldPath: v.StringSchema<undefined>;
|
|
3711
|
+
readonly ruleId: v.StringSchema<undefined>;
|
|
3712
|
+
readonly message: v.StringSchema<undefined>;
|
|
3713
3713
|
}, undefined>, undefined>;
|
|
3714
|
-
readonly rateLimit:
|
|
3715
|
-
readonly reason:
|
|
3716
|
-
readonly limit:
|
|
3717
|
-
readonly remaining:
|
|
3718
|
-
readonly retryAfterMs:
|
|
3719
|
-
readonly policyVersion:
|
|
3720
|
-
readonly operationId:
|
|
3721
|
-
readonly policyClass:
|
|
3722
|
-
readonly scope:
|
|
3723
|
-
readonly refillModel:
|
|
3714
|
+
readonly rateLimit: v.OptionalSchema<v.ObjectSchema<{
|
|
3715
|
+
readonly reason: v.SchemaWithPipe<readonly [v.EnumSchema<typeof FailureReason, undefined>, v.TransformAction<FailureReason, "unspecified" | "quota_exceeded" | "authority_unavailable">]>;
|
|
3716
|
+
readonly limit: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3717
|
+
readonly remaining: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3718
|
+
readonly retryAfterMs: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3719
|
+
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3720
|
+
readonly operationId: v.StringSchema<undefined>;
|
|
3721
|
+
readonly policyClass: v.SchemaWithPipe<readonly [v.EnumSchema<typeof PolicyClass, undefined>, v.TransformAction<PolicyClass, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
3722
|
+
readonly scope: v.SchemaWithPipe<readonly [v.EnumSchema<typeof LimiterScope, undefined>, v.TransformAction<LimiterScope, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
3723
|
+
readonly refillModel: v.SchemaWithPipe<readonly [v.EnumSchema<typeof RefillModel, undefined>, v.TransformAction<RefillModel, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
3724
3724
|
}, undefined>, undefined>;
|
|
3725
3725
|
}, undefined>, undefined>;
|
|
3726
|
-
readonly resolvedBaseQtyScaled:
|
|
3727
|
-
readonly protectedPriceBoundTicks:
|
|
3728
|
-
readonly evaluatedAt:
|
|
3729
|
-
readonly seconds:
|
|
3730
|
-
readonly nanos:
|
|
3731
|
-
}, undefined>,
|
|
3726
|
+
readonly resolvedBaseQtyScaled: v.OptionalSchema<v.BigintSchema<undefined>, undefined>;
|
|
3727
|
+
readonly protectedPriceBoundTicks: v.OptionalSchema<v.BigintSchema<undefined>, undefined>;
|
|
3728
|
+
readonly evaluatedAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3729
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
3730
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
3731
|
+
}, undefined>, v.TransformAction<{
|
|
3732
3732
|
seconds: bigint;
|
|
3733
3733
|
nanos: number;
|
|
3734
3734
|
}, number>]>;
|
|
3735
|
-
}, undefined>,
|
|
3735
|
+
}, undefined>, v.TransformAction<{
|
|
3736
3736
|
admissible?: boolean | undefined;
|
|
3737
3737
|
rejection?: {
|
|
3738
3738
|
code: "STALE_QUOTE" | "UNSPECIFIED" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "INTERNAL_ERROR" | "SUBACCOUNT_INACTIVE" | "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" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "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_CANCEL_REJECTED" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "RATE_LIMIT_EXCEEDED";
|
|
@@ -3781,7 +3781,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbol: strin
|
|
|
3781
3781
|
} | undefined;
|
|
3782
3782
|
evaluatedAt: number;
|
|
3783
3783
|
}>]>;
|
|
3784
|
-
type PreviewOrderResult =
|
|
3784
|
+
type PreviewOrderResult = v.InferOutput<ReturnType<typeof createPreviewOrderResultSchema>>;
|
|
3785
3785
|
//#endregion
|
|
3786
3786
|
export { CancelAllOrdersInput, CancelAllOrdersInputSchema, CancelAllOrdersResponse, CancelAllOrdersResponseSchema, CancelOrderInput, CancelOrderInputSchema, CancelOrderResult, CancelOrderResultSchema, CreateOrderResult, GetOrderDetailsInput, GetOrderDetailsInputSchema, NewOrderInput, OpenOrdersInput, OpenOrdersInputSchema, OrderHistoryInput, OrderHistoryInputSchema, OrderIntentInput, PreviewOrderResult, createCreateOrderResultSchema, createNewOrderInputSchema, createOrderIntentInputSchema, createPreviewOrderResultSchema };
|
|
3787
3787
|
//# sourceMappingURL=orders-input.schemas.d.ts.map
|