@polyester/sdk 0.35.0 → 0.36.0-devnet-20261112144059
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 +48 -0
- package/dist/catalogs/snapshot-validation.js +5 -0
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +144 -2
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +32 -2
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +11 -5
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js +3 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +14 -1
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +14 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +14 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +14 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +7 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js +7 -1
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/index.d.ts +2 -1
- package/dist/gen/index.js +2 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +57 -5
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +10 -4
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +827 -0
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -0
- package/dist/gen/notifications/v1/notifications_pb.js +346 -0
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -0
- package/dist/gen/orders/v1/orders_pb.d.ts +247 -19
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +188 -66
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +73 -5
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +40 -5
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1195 -190
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +317 -7
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +369 -6
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +237 -14
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +39 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +2 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +526 -13
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +126 -26
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/services/assistant/assistant-events.schemas.d.ts +57 -39
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.d.ts +16 -1
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +24 -1
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +13 -1
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +15 -1
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +2 -2
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +22 -22
- package/dist/services/changelog/changelog.codecs.d.ts +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -1
- package/dist/services/changelog/changelog.codecs.js +6 -3
- package/dist/services/changelog/changelog.codecs.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +19 -19
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +13 -13
- package/dist/services/market-data/market-data.schemas.js +16 -1
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts +16 -0
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -0
- package/dist/services/notifications/notifications.codecs.js +40 -0
- package/dist/services/notifications/notifications.codecs.js.map +1 -0
- package/dist/services/notifications/notifications.d.ts +41 -0
- package/dist/services/notifications/notifications.d.ts.map +1 -0
- package/dist/services/notifications/notifications.js +67 -0
- package/dist/services/notifications/notifications.js.map +1 -0
- package/dist/services/notifications/notifications.schemas.d.ts +154 -0
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -0
- package/dist/services/notifications/notifications.schemas.js +116 -0
- package/dist/services/notifications/notifications.schemas.js.map +1 -0
- package/dist/services/notifications/notifications.types.d.ts +3 -0
- package/dist/services/notifications/service.d.ts +8 -0
- package/dist/services/notifications/service.d.ts.map +1 -0
- package/dist/services/notifications/service.js +9 -0
- package/dist/services/notifications/service.js.map +1 -0
- package/dist/services/orders/order-enums.codecs.js +12 -4
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +2688 -417
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +5 -3
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +4828 -1265
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +104 -32
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +40 -22
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +8 -0
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +1 -1
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +3 -0
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/orders/orders.d.ts +3 -1
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +5 -12
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +9 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/price-alerts/price-alerts.d.ts +10 -5
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -1
- package/dist/services/price-alerts/price-alerts.js +10 -5
- package/dist/services/price-alerts/price-alerts.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/subaccounts/subaccounts.codecs.js +3 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +7 -7
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +271 -41
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +51 -3
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +235 -24
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +49 -2
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +7 -2
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +25 -3
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +49 -3
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/triggers/triggers.schemas.d.ts +3 -3
- package/dist/services/triggers/triggers.types.d.ts +3 -3
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/dist/shared/catalog-config.d.ts +6 -0
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/error-detail.d.ts +6 -2
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +1 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/notifications.js +15 -0
- package/dist/shared/error-details/notifications.js.map +1 -0
- package/dist/shared/request-id.d.ts +6 -0
- package/dist/shared/request-id.d.ts.map +1 -0
- package/dist/shared/request-id.js +17 -0
- package/dist/shared/request-id.js.map +1 -0
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +2 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FeeAsset, SelfTradePreventionMode, Side, TriggerDirection, TriggerPriceSource } from "../../orders/v1/orders_pb.js";
|
|
1
|
+
import { ErrorDetail, FeeAsset, RiskExecution, SelfTradePreventionMode, Side, TriggerDirection, TriggerPriceSource } from "../../orders/v1/orders_pb.js";
|
|
2
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
5
|
declare namespace triggers_pb_d_exports {
|
|
6
|
-
export { CancelTriggerRequest, CancelTriggerRequestSchema, CancelTriggerResponse, CancelTriggerResponseSchema, ConditionalChildExecution, ConditionalChildExecutionSchema, ConditionalTrigger, ConditionalTriggerSchema, CreateTriggerRequest, CreateTriggerRequestSchema, CreateTriggerResponse, CreateTriggerResponseSchema, GetTriggerRequest, GetTriggerRequestSchema, GetTriggerResponse, GetTriggerResponseSchema, LadderDetails, LadderDetailsSchema, LadderDistribution, LadderDistributionSchema, LadderTrigger, LadderTriggerSchema, ListTriggerEventsRequest, ListTriggerEventsRequestSchema, ListTriggerEventsResponse, ListTriggerEventsResponseSchema, ListTriggersRequest, ListTriggersRequestSchema, ListTriggersResponse, ListTriggersResponseSchema, ModifyTriggerRequest, ModifyTriggerRequestSchema, ModifyTriggerResponse, ModifyTriggerResponseSchema, PauseTriggerRequest, PauseTriggerRequestSchema, PauseTriggerResponse, PauseTriggerResponseSchema, ResumeTriggerRequest, ResumeTriggerRequestSchema, ResumeTriggerResponse, ResumeTriggerResponseSchema, StopDetails, StopDetailsSchema, TrailingDetails, TrailingDetailsSchema, TrailingStopTrigger, TrailingStopTriggerSchema, Trigger, TriggerCancelReason, TriggerCancelReasonSchema, TriggerEvent, TriggerEventBatch, TriggerEventBatchSchema, TriggerEventSchema, TriggerEventType, TriggerEventTypeSchema, TriggerFailureReason, TriggerFailureReasonSchema, TriggerIntent, TriggerIntentSchema, TriggerLimitFok, TriggerLimitFokSchema, TriggerLimitGtc, TriggerLimitGtcSchema, TriggerLimitIoc, TriggerLimitIocSchema, TriggerMarketIoc, TriggerMarketIocSchema, TriggerSchema, TriggerStatus, TriggerStatusSchema, TriggerType, TriggerTypeSchema, TriggersService, TwapDetails, TwapDetailsSchema, TwapLimitGtc, TwapLimitGtcSchema, TwapMarketIoc, TwapMarketIocSchema, TwapTrigger, TwapTriggerSchema, file_triggers_v1_triggers };
|
|
6
|
+
export { BatchCancelTriggersRequest, BatchCancelTriggersRequestSchema, BatchCancelTriggersResponse, BatchCancelTriggersResponseSchema, BatchCancelTriggersResultItem, BatchCancelTriggersResultItemSchema, BatchCancelTriggersResultItem_Status, BatchCancelTriggersResultItem_StatusSchema, CancelOcoRequest, CancelOcoRequestSchema, CancelOcoResponse, CancelOcoResponseSchema, CancelTriggerRequest, CancelTriggerRequestSchema, CancelTriggerResponse, CancelTriggerResponseSchema, ConditionalChildExecution, ConditionalChildExecutionSchema, ConditionalTrigger, ConditionalTriggerSchema, CreateOcoRequest, CreateOcoRequestSchema, CreateOcoResponse, CreateOcoResponseSchema, CreateTriggerRequest, CreateTriggerRequestSchema, CreateTriggerResponse, CreateTriggerResponseSchema, GetTriggerRequest, GetTriggerRequestSchema, GetTriggerResponse, GetTriggerResponseSchema, LadderDetails, LadderDetailsSchema, LadderDistribution, LadderDistributionSchema, LadderTrigger, LadderTriggerSchema, ListTriggerEventsRequest, ListTriggerEventsRequestSchema, ListTriggerEventsResponse, ListTriggerEventsResponseSchema, ListTriggersRequest, ListTriggersRequestSchema, ListTriggersResponse, ListTriggersResponseSchema, ModifyTriggerRequest, ModifyTriggerRequestSchema, ModifyTriggerResponse, ModifyTriggerResponseSchema, OcoIntent, OcoIntentSchema, OcoLeg, OcoLegSchema, PauseTriggerRequest, PauseTriggerRequestSchema, PauseTriggerResponse, PauseTriggerResponseSchema, ResumeTriggerRequest, ResumeTriggerRequestSchema, ResumeTriggerResponse, ResumeTriggerResponseSchema, StopDetails, StopDetailsSchema, TrailingDetails, TrailingDetailsSchema, TrailingStopTrigger, TrailingStopTriggerSchema, Trigger, TriggerCancelReason, TriggerCancelReasonSchema, TriggerEvent, TriggerEventBatch, TriggerEventBatchSchema, TriggerEventSchema, TriggerEventType, TriggerEventTypeSchema, TriggerFailureReason, TriggerFailureReasonSchema, TriggerIntent, TriggerIntentSchema, TriggerLimitFok, TriggerLimitFokSchema, TriggerLimitGtc, TriggerLimitGtcSchema, TriggerLimitIoc, TriggerLimitIocSchema, TriggerMarketIoc, TriggerMarketIocSchema, TriggerSchema, TriggerStatus, TriggerStatusSchema, TriggerType, TriggerTypeSchema, TriggersService, TwapDetails, TwapDetailsSchema, TwapLimitGtc, TwapLimitGtcSchema, TwapMarketIoc, TwapMarketIocSchema, TwapTrigger, TwapTriggerSchema, file_triggers_v1_triggers };
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file triggers/v1/triggers.proto.
|
|
@@ -646,6 +646,266 @@ type CreateTriggerResponse = Message<"triggers.v1.CreateTriggerResponse"> & {
|
|
|
646
646
|
* Use `create(CreateTriggerResponseSchema)` to create a new message.
|
|
647
647
|
*/
|
|
648
648
|
declare const CreateTriggerResponseSchema: GenMessage<CreateTriggerResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* OcoLeg configures one leg of an OCO: the price that triggers it and the
|
|
651
|
+
* order it then places for the OCO's whole remaining quantity.
|
|
652
|
+
*
|
|
653
|
+
* @generated from message triggers.v1.OcoLeg
|
|
654
|
+
*/
|
|
655
|
+
type OcoLeg = Message<"triggers.v1.OcoLeg"> & {
|
|
656
|
+
/**
|
|
657
|
+
* Trigger price in quote units scaled by 1e9.
|
|
658
|
+
*
|
|
659
|
+
* @generated from field: int64 trigger_price_ticks = 1;
|
|
660
|
+
*/
|
|
661
|
+
triggerPriceTicks: bigint;
|
|
662
|
+
/**
|
|
663
|
+
* The order the leg places when its trigger price is reached: a market
|
|
664
|
+
* order (IOC) or a resting limit order (GTC).
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: orders.v1.RiskExecution child = 2;
|
|
667
|
+
*/
|
|
668
|
+
child?: RiskExecution | undefined;
|
|
669
|
+
/**
|
|
670
|
+
* Price the leg watches. Unspecified or LAST_PRICE watches the last traded
|
|
671
|
+
* price. INDEX_PRICE watches the market's index price; on a market without
|
|
672
|
+
* an index price the OCO is rejected with
|
|
673
|
+
* TRIGGER_FAILURE_REASON_INDEX_PRICE_UNAVAILABLE on both legs. MARK_PRICE
|
|
674
|
+
* is not supported.
|
|
675
|
+
*
|
|
676
|
+
* @generated from field: orders.v1.TriggerPriceSource trigger_price_source = 3;
|
|
677
|
+
*/
|
|
678
|
+
triggerPriceSource: TriggerPriceSource;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* Describes the message triggers.v1.OcoLeg.
|
|
682
|
+
* Use `create(OcoLegSchema)` to create a new message.
|
|
683
|
+
*/
|
|
684
|
+
declare const OcoLegSchema: GenMessage<OcoLeg>;
|
|
685
|
+
/**
|
|
686
|
+
* OcoIntent configures an OCO over a quantity the account already holds: a
|
|
687
|
+
* take-profit and a stop-loss that both trade `side` for `qty_scaled`. The
|
|
688
|
+
* quantity is reserved once, when the OCO is created, and both legs share it,
|
|
689
|
+
* so it can be sold or bought only once. A SELL OCO protects a held base
|
|
690
|
+
* position: its take-profit is above the last price and its stop-loss below
|
|
691
|
+
* it. A BUY OCO buys with held quote: its take-profit is below the last price
|
|
692
|
+
* and its stop-loss above it.
|
|
693
|
+
*
|
|
694
|
+
* The first leg to reach its trigger price places its order for the OCO's
|
|
695
|
+
* remaining quantity. If that order fills only partly, the other leg keeps
|
|
696
|
+
* protecting the rest: when its own trigger price is reached it cancels the
|
|
697
|
+
* working order and places its own for what is left. When the whole quantity
|
|
698
|
+
* has been traded, the leg whose order traded last ends COMPLETED and the
|
|
699
|
+
* other ends CANCELED with reason OCO. Cancelling either leg, or the OCO with
|
|
700
|
+
* CancelOco, cancels both.
|
|
701
|
+
*
|
|
702
|
+
* @generated from message triggers.v1.OcoIntent
|
|
703
|
+
*/
|
|
704
|
+
type OcoIntent = Message<"triggers.v1.OcoIntent"> & {
|
|
705
|
+
/**
|
|
706
|
+
* Stable numeric pair ID from GetSpotConfig.
|
|
707
|
+
*
|
|
708
|
+
* @generated from field: uint32 symbol_id = 1;
|
|
709
|
+
*/
|
|
710
|
+
symbolId: number;
|
|
711
|
+
/**
|
|
712
|
+
* The side both legs trade: SELL protects a held base position, BUY spends
|
|
713
|
+
* held quote.
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: orders.v1.Side side = 2;
|
|
716
|
+
*/
|
|
717
|
+
side: Side;
|
|
718
|
+
/**
|
|
719
|
+
* Quantity both legs trade, scaled by the pair's base_quantity_scale; a
|
|
720
|
+
* multiple of the pair's quantity step.
|
|
721
|
+
*
|
|
722
|
+
* @generated from field: int64 qty_scaled = 3;
|
|
723
|
+
*/
|
|
724
|
+
qtyScaled: bigint;
|
|
725
|
+
/**
|
|
726
|
+
* Self-trade prevention mode of the legs' orders against orders of the same
|
|
727
|
+
* root account, including all its subaccounts. Defaults to EXPIRE_MAKER;
|
|
728
|
+
* DECREMENT is not supported.
|
|
729
|
+
*
|
|
730
|
+
* @generated from field: orders.v1.SelfTradePreventionMode self_trade_prevention_mode = 4;
|
|
731
|
+
*/
|
|
732
|
+
selfTradePreventionMode: SelfTradePreventionMode;
|
|
733
|
+
/**
|
|
734
|
+
* Client-provided OCO ID for idempotency, unique per sub-account and pair
|
|
735
|
+
* among OCOs. While the OCO is active and for 60 seconds after both legs
|
|
736
|
+
* ended, retrying the create with the identical intent returns the same
|
|
737
|
+
* OCO, and a different intent with the same ID returns
|
|
738
|
+
* CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID. At most 36 bytes in UTF-8.
|
|
739
|
+
*
|
|
740
|
+
* @generated from field: string client_list_id = 5;
|
|
741
|
+
*/
|
|
742
|
+
clientListId: string;
|
|
743
|
+
/**
|
|
744
|
+
* The take-profit leg. Its trigger price must be above the stop-loss's for
|
|
745
|
+
* a SELL OCO and below it for a BUY OCO.
|
|
746
|
+
*
|
|
747
|
+
* @generated from field: triggers.v1.OcoLeg take_profit = 6;
|
|
748
|
+
*/
|
|
749
|
+
takeProfit?: OcoLeg | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* The stop-loss leg.
|
|
752
|
+
*
|
|
753
|
+
* @generated from field: triggers.v1.OcoLeg stop_loss = 7;
|
|
754
|
+
*/
|
|
755
|
+
stopLoss?: OcoLeg | undefined;
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* Describes the message triggers.v1.OcoIntent.
|
|
759
|
+
* Use `create(OcoIntentSchema)` to create a new message.
|
|
760
|
+
*/
|
|
761
|
+
declare const OcoIntentSchema: GenMessage<OcoIntent>;
|
|
762
|
+
/**
|
|
763
|
+
* CreateOcoRequest submits one OCO for admission. An OCO whose trigger price
|
|
764
|
+
* the last price has already reached is rejected with
|
|
765
|
+
* TRIGGER_WOULD_TRIGGER_IMMEDIATELY on both legs, after the create is
|
|
766
|
+
* acknowledged: read the legs for their status. A create sent but not
|
|
767
|
+
* confirmed in time fails with TRIGGER_CREATE_OUTCOME_UNKNOWN: the OCO may
|
|
768
|
+
* have been created, so list the triggers with its client_list_id
|
|
769
|
+
* (ListTriggers client_list_id) before retrying.
|
|
770
|
+
*
|
|
771
|
+
* @generated from message triggers.v1.CreateOcoRequest
|
|
772
|
+
*/
|
|
773
|
+
type CreateOcoRequest = Message<"triggers.v1.CreateOcoRequest"> & {
|
|
774
|
+
/**
|
|
775
|
+
* Optional public subaccount ID. When omitted, subaccount-scoped API keys
|
|
776
|
+
* use their bound subaccount; other callers use their authenticated root
|
|
777
|
+
* account.
|
|
778
|
+
*
|
|
779
|
+
* @generated from field: optional fixed64 subaccount_id = 1;
|
|
780
|
+
*/
|
|
781
|
+
subaccountId?: bigint | undefined;
|
|
782
|
+
/**
|
|
783
|
+
* OCO to admit.
|
|
784
|
+
*
|
|
785
|
+
* @generated from field: triggers.v1.OcoIntent oco = 2;
|
|
786
|
+
*/
|
|
787
|
+
oco?: OcoIntent | undefined;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Describes the message triggers.v1.CreateOcoRequest.
|
|
791
|
+
* Use `create(CreateOcoRequestSchema)` to create a new message.
|
|
792
|
+
*/
|
|
793
|
+
declare const CreateOcoRequestSchema: GenMessage<CreateOcoRequest>;
|
|
794
|
+
/**
|
|
795
|
+
* CreateOcoResponse acknowledges the OCO's creation: its quantity is reserved
|
|
796
|
+
* and both legs are created. Their status and orders are visible through the
|
|
797
|
+
* trigger reads and events.
|
|
798
|
+
*
|
|
799
|
+
* @generated from message triggers.v1.CreateOcoResponse
|
|
800
|
+
*/
|
|
801
|
+
type CreateOcoResponse = Message<"triggers.v1.CreateOcoResponse"> & {
|
|
802
|
+
/**
|
|
803
|
+
* Assigned OCO ID, which both legs carry as order_list_id.
|
|
804
|
+
*
|
|
805
|
+
* @generated from field: fixed64 order_list_id = 1;
|
|
806
|
+
*/
|
|
807
|
+
orderListId: bigint;
|
|
808
|
+
/**
|
|
809
|
+
* Echoed client OCO ID.
|
|
810
|
+
*
|
|
811
|
+
* @generated from field: string client_list_id = 2;
|
|
812
|
+
*/
|
|
813
|
+
clientListId: string;
|
|
814
|
+
/**
|
|
815
|
+
* The take-profit leg's trigger ID.
|
|
816
|
+
*
|
|
817
|
+
* @generated from field: fixed64 take_profit_trigger_id = 3;
|
|
818
|
+
*/
|
|
819
|
+
takeProfitTriggerId: bigint;
|
|
820
|
+
/**
|
|
821
|
+
* The stop-loss leg's trigger ID.
|
|
822
|
+
*
|
|
823
|
+
* @generated from field: fixed64 stop_loss_trigger_id = 4;
|
|
824
|
+
*/
|
|
825
|
+
stopLossTriggerId: bigint;
|
|
826
|
+
/**
|
|
827
|
+
* Time creation admission completed.
|
|
828
|
+
*
|
|
829
|
+
* @generated from field: google.protobuf.Timestamp accepted_at = 5;
|
|
830
|
+
*/
|
|
831
|
+
acceptedAt?: Timestamp | undefined;
|
|
832
|
+
/**
|
|
833
|
+
* Admission completion time in nanoseconds since epoch (UTC).
|
|
834
|
+
*
|
|
835
|
+
* @generated from field: uint64 accepted_at_ts_ns = 6;
|
|
836
|
+
*/
|
|
837
|
+
acceptedAtTsNs: bigint;
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* Describes the message triggers.v1.CreateOcoResponse.
|
|
841
|
+
* Use `create(CreateOcoResponseSchema)` to create a new message.
|
|
842
|
+
*/
|
|
843
|
+
declare const CreateOcoResponseSchema: GenMessage<CreateOcoResponse>;
|
|
844
|
+
/**
|
|
845
|
+
* CancelOcoRequest cancels both legs of an OCO.
|
|
846
|
+
*
|
|
847
|
+
* @generated from message triggers.v1.CancelOcoRequest
|
|
848
|
+
*/
|
|
849
|
+
type CancelOcoRequest = Message<"triggers.v1.CancelOcoRequest"> & {
|
|
850
|
+
/**
|
|
851
|
+
* OCO ID from CreateOco. An ID that is not an OCO of the account, such as
|
|
852
|
+
* a trigger ID or a leg's ID, is refused TRIGGER_NOT_FOUND and nothing is
|
|
853
|
+
* canceled.
|
|
854
|
+
*
|
|
855
|
+
* @generated from field: fixed64 order_list_id = 1;
|
|
856
|
+
*/
|
|
857
|
+
orderListId: bigint;
|
|
858
|
+
/**
|
|
859
|
+
* Optional public subaccount ID for authorization. When omitted,
|
|
860
|
+
* subaccount-scoped API keys use their bound subaccount; other callers use
|
|
861
|
+
* their authenticated root account.
|
|
862
|
+
*
|
|
863
|
+
* @generated from field: optional fixed64 subaccount_id = 2;
|
|
864
|
+
*/
|
|
865
|
+
subaccountId?: bigint | undefined;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* Describes the message triggers.v1.CancelOcoRequest.
|
|
869
|
+
* Use `create(CancelOcoRequestSchema)` to create a new message.
|
|
870
|
+
*/
|
|
871
|
+
declare const CancelOcoRequestSchema: GenMessage<CancelOcoRequest>;
|
|
872
|
+
/**
|
|
873
|
+
* CancelOcoResponse confirms the cancellation: both legs end CANCELED, and
|
|
874
|
+
* the OCO's reserved quantity is released.
|
|
875
|
+
*
|
|
876
|
+
* @generated from message triggers.v1.CancelOcoResponse
|
|
877
|
+
*/
|
|
878
|
+
type CancelOcoResponse = Message<"triggers.v1.CancelOcoResponse"> & {
|
|
879
|
+
/**
|
|
880
|
+
* OCO ID that was canceled.
|
|
881
|
+
*
|
|
882
|
+
* @generated from field: fixed64 order_list_id = 1;
|
|
883
|
+
*/
|
|
884
|
+
orderListId: bigint;
|
|
885
|
+
/**
|
|
886
|
+
* Both legs' status after the cancel, which is always canceled.
|
|
887
|
+
*
|
|
888
|
+
* @generated from field: triggers.v1.TriggerStatus status = 2;
|
|
889
|
+
*/
|
|
890
|
+
status: TriggerStatus;
|
|
891
|
+
/**
|
|
892
|
+
* Server timestamp.
|
|
893
|
+
*
|
|
894
|
+
* @generated from field: google.protobuf.Timestamp ts = 3;
|
|
895
|
+
*/
|
|
896
|
+
ts?: Timestamp | undefined;
|
|
897
|
+
/**
|
|
898
|
+
* Server timestamp in nanoseconds since epoch (UTC).
|
|
899
|
+
*
|
|
900
|
+
* @generated from field: uint64 ts_ns = 4;
|
|
901
|
+
*/
|
|
902
|
+
tsNs: bigint;
|
|
903
|
+
};
|
|
904
|
+
/**
|
|
905
|
+
* Describes the message triggers.v1.CancelOcoResponse.
|
|
906
|
+
* Use `create(CancelOcoResponseSchema)` to create a new message.
|
|
907
|
+
*/
|
|
908
|
+
declare const CancelOcoResponseSchema: GenMessage<CancelOcoResponse>;
|
|
649
909
|
/**
|
|
650
910
|
* GetTriggerRequest retrieves one trigger by ID.
|
|
651
911
|
*
|
|
@@ -728,6 +988,21 @@ type ListTriggersRequest = Message<"triggers.v1.ListTriggersRequest"> & {
|
|
|
728
988
|
* @generated from field: optional fixed64 parent_order_id = 5;
|
|
729
989
|
*/
|
|
730
990
|
parentOrderId?: bigint | undefined;
|
|
991
|
+
/**
|
|
992
|
+
* Optional filter by OCO: the take-profit and the stop-loss of the OCO with
|
|
993
|
+
* this order_list_id.
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: optional fixed64 order_list_id = 6;
|
|
996
|
+
*/
|
|
997
|
+
orderListId?: bigint | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* Optional filter by OCO client ID: the take-profit and the stop-loss of
|
|
1000
|
+
* the OCO created with this client_list_id, 1 to 36 bytes in UTF-8. Use it
|
|
1001
|
+
* to find an OCO whose create failed with TRIGGER_CREATE_OUTCOME_UNKNOWN.
|
|
1002
|
+
*
|
|
1003
|
+
* @generated from field: optional string client_list_id = 7;
|
|
1004
|
+
*/
|
|
1005
|
+
clientListId?: string | undefined;
|
|
731
1006
|
/**
|
|
732
1007
|
* Maximum number of triggers to return. Defaults to 100 when omitted;
|
|
733
1008
|
* maximum is 1000.
|
|
@@ -1038,10 +1313,165 @@ type CancelTriggerResponse = Message<"triggers.v1.CancelTriggerResponse"> & {
|
|
|
1038
1313
|
* Use `create(CancelTriggerResponseSchema)` to create a new message.
|
|
1039
1314
|
*/
|
|
1040
1315
|
declare const CancelTriggerResponseSchema: GenMessage<CancelTriggerResponse>;
|
|
1316
|
+
/**
|
|
1317
|
+
* BatchCancelTriggersRequest cancels up to 50 of the account's triggers in one
|
|
1318
|
+
* request. Each trigger is canceled as CancelTrigger cancels it and answered
|
|
1319
|
+
* on its own, in request order; one item's rejection does not stop the others.
|
|
1320
|
+
*
|
|
1321
|
+
* @generated from message triggers.v1.BatchCancelTriggersRequest
|
|
1322
|
+
*/
|
|
1323
|
+
type BatchCancelTriggersRequest = Message<"triggers.v1.BatchCancelTriggersRequest"> & {
|
|
1324
|
+
/**
|
|
1325
|
+
* Optional public subaccount ID. When omitted, subaccount-scoped API keys
|
|
1326
|
+
* use their bound subaccount; other callers use their authenticated root
|
|
1327
|
+
* account. An explicit zero is rejected with ERROR_CODE_INVALID_ARGUMENT
|
|
1328
|
+
* and cancels nothing.
|
|
1329
|
+
*
|
|
1330
|
+
* @generated from field: optional fixed64 subaccount_id = 1;
|
|
1331
|
+
*/
|
|
1332
|
+
subaccountId?: bigint | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* Idempotency key (required). Retrying with the same request_id and the same
|
|
1335
|
+
* trigger_ids within 2 minutes returns the original results and cancels
|
|
1336
|
+
* nothing again. The same request_id with other trigger_ids rejects every
|
|
1337
|
+
* item with ERROR_CODE_CONFLICT_IDEMPOTENCY_KEY_REUSE.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from field: string request_id = 2;
|
|
1340
|
+
*/
|
|
1341
|
+
requestId: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Triggers to cancel: 1 to 50 distinct trigger IDs. Results follow this
|
|
1344
|
+
* order. Cancel more by sending further requests of up to 50.
|
|
1345
|
+
*
|
|
1346
|
+
* @generated from field: repeated fixed64 trigger_ids = 3;
|
|
1347
|
+
*/
|
|
1348
|
+
triggerIds: bigint[];
|
|
1349
|
+
};
|
|
1350
|
+
/**
|
|
1351
|
+
* Describes the message triggers.v1.BatchCancelTriggersRequest.
|
|
1352
|
+
* Use `create(BatchCancelTriggersRequestSchema)` to create a new message.
|
|
1353
|
+
*/
|
|
1354
|
+
declare const BatchCancelTriggersRequestSchema: GenMessage<BatchCancelTriggersRequest>;
|
|
1355
|
+
/**
|
|
1356
|
+
* BatchCancelTriggersResultItem is the outcome of one requested trigger cancel.
|
|
1357
|
+
*
|
|
1358
|
+
* @generated from message triggers.v1.BatchCancelTriggersResultItem
|
|
1359
|
+
*/
|
|
1360
|
+
type BatchCancelTriggersResultItem = Message<"triggers.v1.BatchCancelTriggersResultItem"> & {
|
|
1361
|
+
/**
|
|
1362
|
+
* Per-item cancellation outcome.
|
|
1363
|
+
*
|
|
1364
|
+
* @generated from field: triggers.v1.BatchCancelTriggersResultItem.Status status = 1;
|
|
1365
|
+
*/
|
|
1366
|
+
status: BatchCancelTriggersResultItem_Status;
|
|
1367
|
+
/**
|
|
1368
|
+
* The requested trigger ID, echoed.
|
|
1369
|
+
*
|
|
1370
|
+
* @generated from field: fixed64 trigger_id = 2;
|
|
1371
|
+
*/
|
|
1372
|
+
triggerId: bigint;
|
|
1373
|
+
/**
|
|
1374
|
+
* Error code when rejected, empty when accepted. TRIGGER_NOT_FOUND: no
|
|
1375
|
+
* trigger of the account has this ID. TRIGGER_STATUS_INVALID: the trigger
|
|
1376
|
+
* has already ended; treat it as done. RATE_LIMIT_EXCEEDED,
|
|
1377
|
+
* PAIR_BACKLOGGED and TRIGGER_CONTROL_IN_PROGRESS: retry the item in a new
|
|
1378
|
+
* request with a new request_id. Other codes are those CancelTrigger
|
|
1379
|
+
* returns.
|
|
1380
|
+
*
|
|
1381
|
+
* @generated from field: string code = 3;
|
|
1382
|
+
*/
|
|
1383
|
+
code: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Structured rejection details, with rate-limit guidance when the item was
|
|
1386
|
+
* rate limited.
|
|
1387
|
+
*
|
|
1388
|
+
* @generated from field: orders.v1.ErrorDetail error = 4;
|
|
1389
|
+
*/
|
|
1390
|
+
error?: ErrorDetail | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Describes the message triggers.v1.BatchCancelTriggersResultItem.
|
|
1394
|
+
* Use `create(BatchCancelTriggersResultItemSchema)` to create a new message.
|
|
1395
|
+
*/
|
|
1396
|
+
declare const BatchCancelTriggersResultItemSchema: GenMessage<BatchCancelTriggersResultItem>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Per-item cancellation outcome.
|
|
1399
|
+
*
|
|
1400
|
+
* @generated from enum triggers.v1.BatchCancelTriggersResultItem.Status
|
|
1401
|
+
*/
|
|
1402
|
+
declare enum BatchCancelTriggersResultItem_Status {
|
|
1403
|
+
/**
|
|
1404
|
+
* Batch trigger cancellation outcome was not provided.
|
|
1405
|
+
*
|
|
1406
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
1407
|
+
*/
|
|
1408
|
+
STATUS_UNSPECIFIED = 0,
|
|
1409
|
+
/**
|
|
1410
|
+
* The cancellation was accepted; the trigger's events report when it is
|
|
1411
|
+
* canceled.
|
|
1412
|
+
*
|
|
1413
|
+
* @generated from enum value: ACCEPTED = 1;
|
|
1414
|
+
*/
|
|
1415
|
+
ACCEPTED = 1,
|
|
1416
|
+
/**
|
|
1417
|
+
* The cancellation was rejected; code says why.
|
|
1418
|
+
*
|
|
1419
|
+
* @generated from enum value: REJECTED = 2;
|
|
1420
|
+
*/
|
|
1421
|
+
REJECTED = 2
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Describes the enum triggers.v1.BatchCancelTriggersResultItem.Status.
|
|
1425
|
+
*/
|
|
1426
|
+
declare const BatchCancelTriggersResultItem_StatusSchema: GenEnum<BatchCancelTriggersResultItem_Status>;
|
|
1427
|
+
/**
|
|
1428
|
+
* BatchCancelTriggersResponse returns one result per requested trigger.
|
|
1429
|
+
*
|
|
1430
|
+
* @generated from message triggers.v1.BatchCancelTriggersResponse
|
|
1431
|
+
*/
|
|
1432
|
+
type BatchCancelTriggersResponse = Message<"triggers.v1.BatchCancelTriggersResponse"> & {
|
|
1433
|
+
/**
|
|
1434
|
+
* Per-item results, in the same order as trigger_ids.
|
|
1435
|
+
*
|
|
1436
|
+
* @generated from field: repeated triggers.v1.BatchCancelTriggersResultItem results = 1;
|
|
1437
|
+
*/
|
|
1438
|
+
results: BatchCancelTriggersResultItem[];
|
|
1439
|
+
/**
|
|
1440
|
+
* Number of accepted cancellations.
|
|
1441
|
+
*
|
|
1442
|
+
* @generated from field: uint32 accepted_count = 2;
|
|
1443
|
+
*/
|
|
1444
|
+
acceptedCount: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* Number of rejected cancellations.
|
|
1447
|
+
*
|
|
1448
|
+
* @generated from field: uint32 rejected_count = 3;
|
|
1449
|
+
*/
|
|
1450
|
+
rejectedCount: number;
|
|
1451
|
+
/**
|
|
1452
|
+
* Server timestamp.
|
|
1453
|
+
*
|
|
1454
|
+
* @generated from field: google.protobuf.Timestamp ts = 4;
|
|
1455
|
+
*/
|
|
1456
|
+
ts?: Timestamp | undefined;
|
|
1457
|
+
/**
|
|
1458
|
+
* Server timestamp in nanoseconds since epoch (UTC).
|
|
1459
|
+
*
|
|
1460
|
+
* @generated from field: uint64 ts_ns = 5;
|
|
1461
|
+
*/
|
|
1462
|
+
tsNs: bigint;
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* Describes the message triggers.v1.BatchCancelTriggersResponse.
|
|
1466
|
+
* Use `create(BatchCancelTriggersResponseSchema)` to create a new message.
|
|
1467
|
+
*/
|
|
1468
|
+
declare const BatchCancelTriggersResponseSchema: GenMessage<BatchCancelTriggersResponse>;
|
|
1041
1469
|
/**
|
|
1042
1470
|
* ModifyTriggerRequest applies a limited patch to an existing trigger.
|
|
1043
|
-
* Supported for stop-loss, take-profit and trailing-stop triggers;
|
|
1044
|
-
* TWAP
|
|
1471
|
+
* Supported for stop-loss, take-profit and trailing-stop triggers; a running
|
|
1472
|
+
* ladder or TWAP supports only cancel and answers TRIGGER_NOT_MODIFIABLE. A
|
|
1473
|
+
* trigger of any type that has ended answers TRIGGER_STATUS_INVALID for at
|
|
1474
|
+
* least 60 s after it ends; after that it may answer TRIGGER_NOT_FOUND.
|
|
1045
1475
|
*
|
|
1046
1476
|
* @generated from message triggers.v1.ModifyTriggerRequest
|
|
1047
1477
|
*/
|
|
@@ -1203,8 +1633,10 @@ type ModifyTriggerResponse = Message<"triggers.v1.ModifyTriggerResponse"> & {
|
|
|
1203
1633
|
declare const ModifyTriggerResponseSchema: GenMessage<ModifyTriggerResponse>;
|
|
1204
1634
|
/**
|
|
1205
1635
|
* PauseTriggerRequest pauses an active trigger by ID. Supported for
|
|
1206
|
-
* stop-loss, take-profit and trailing-stop triggers; ladder
|
|
1207
|
-
*
|
|
1636
|
+
* stop-loss, take-profit and trailing-stop triggers; a running ladder or TWAP
|
|
1637
|
+
* supports only cancel and answers TRIGGER_NOT_MODIFIABLE. A trigger of any
|
|
1638
|
+
* type that has ended answers TRIGGER_STATUS_INVALID for at least 60 s after
|
|
1639
|
+
* it ends; after that it may answer TRIGGER_NOT_FOUND.
|
|
1208
1640
|
*
|
|
1209
1641
|
* @generated from message triggers.v1.PauseTriggerRequest
|
|
1210
1642
|
*/
|
|
@@ -1267,8 +1699,10 @@ type PauseTriggerResponse = Message<"triggers.v1.PauseTriggerResponse"> & {
|
|
|
1267
1699
|
declare const PauseTriggerResponseSchema: GenMessage<PauseTriggerResponse>;
|
|
1268
1700
|
/**
|
|
1269
1701
|
* ResumeTriggerRequest resumes a paused trigger by ID. Supported for
|
|
1270
|
-
* stop-loss, take-profit and trailing-stop triggers; ladder
|
|
1271
|
-
*
|
|
1702
|
+
* stop-loss, take-profit and trailing-stop triggers; a running ladder or TWAP
|
|
1703
|
+
* supports only cancel and answers TRIGGER_NOT_MODIFIABLE. A trigger of any
|
|
1704
|
+
* type that has ended answers TRIGGER_STATUS_INVALID for at least 60 s after
|
|
1705
|
+
* it ends; after that it may answer TRIGGER_NOT_FOUND.
|
|
1272
1706
|
*
|
|
1273
1707
|
* @generated from message triggers.v1.ResumeTriggerRequest
|
|
1274
1708
|
*/
|
|
@@ -1583,6 +2017,14 @@ type Trigger = Message<"triggers.v1.Trigger"> & {
|
|
|
1583
2017
|
* @generated from field: optional fixed64 parent_order_id = 6;
|
|
1584
2018
|
*/
|
|
1585
2019
|
parentOrderId?: bigint | undefined;
|
|
2020
|
+
/**
|
|
2021
|
+
* The OCO this take-profit or stop-loss belongs to: both triggers of an OCO
|
|
2022
|
+
* created with CreateOco carry its order_list_id, and neither has a parent
|
|
2023
|
+
* order. Empty for any other trigger.
|
|
2024
|
+
*
|
|
2025
|
+
* @generated from field: optional fixed64 order_list_id = 9;
|
|
2026
|
+
*/
|
|
2027
|
+
orderListId?: bigint | undefined;
|
|
1586
2028
|
/**
|
|
1587
2029
|
* Terminal reason for canceled or failed triggers. Other statuses leave it unset.
|
|
1588
2030
|
*
|
|
@@ -1719,11 +2161,20 @@ type Trigger = Message<"triggers.v1.Trigger"> & {
|
|
|
1719
2161
|
value?: undefined;
|
|
1720
2162
|
};
|
|
1721
2163
|
/**
|
|
1722
|
-
* Client-provided trigger ID for idempotency and correlation.
|
|
2164
|
+
* Client-provided trigger ID for idempotency and correlation. Empty for an
|
|
2165
|
+
* OCO's take-profit and stop-loss, which carry client_list_id instead.
|
|
1723
2166
|
*
|
|
1724
2167
|
* @generated from field: string client_trigger_id = 60;
|
|
1725
2168
|
*/
|
|
1726
2169
|
clientTriggerId: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* The client_list_id of the OCO this take-profit or stop-loss belongs to,
|
|
2172
|
+
* as given to CreateOco; both triggers of the OCO carry it. Empty for any
|
|
2173
|
+
* other trigger.
|
|
2174
|
+
*
|
|
2175
|
+
* @generated from field: string client_list_id = 66;
|
|
2176
|
+
*/
|
|
2177
|
+
clientListId: string;
|
|
1727
2178
|
/**
|
|
1728
2179
|
* Creation timestamp.
|
|
1729
2180
|
*
|
|
@@ -1962,7 +2413,20 @@ declare enum TriggerEventType {
|
|
|
1962
2413
|
* says why; the next fire takes the next child_seq.
|
|
1963
2414
|
* With TRIGGER_FAILURE_REASON_SELF_TRADE_PREVENTED, child_seq names the
|
|
1964
2415
|
* expired child order instead, which was placed and canceled by self-trade
|
|
1965
|
-
* prevention. A
|
|
2416
|
+
* prevention. A ladder level the order book rejected when it arrived (for
|
|
2417
|
+
* example TRIGGER_FAILURE_REASON_POST_ONLY_CROSS) is reported the same way
|
|
2418
|
+
* while the ladder keeps working its other levels: child_seq names that
|
|
2419
|
+
* level, whose EVENT_FIRED came first with its child order, now rejected
|
|
2420
|
+
* for that reason, and fire_price_ticks is the level's price. A rejected
|
|
2421
|
+
* level that was the ladder's last open level ends the ladder instead and
|
|
2422
|
+
* has no EVENT_FIRE_REFUSED, whatever the end: EVENT_FAILED, naming the
|
|
2423
|
+
* first rejected level, when every level was rejected; EVENT_CANCELED with
|
|
2424
|
+
* TRIGGER_CANCEL_REASON_USER_REQUEST when no level filled and the user
|
|
2425
|
+
* canceled a level (directly, by canceling all orders, or by the dead-man
|
|
2426
|
+
* switch); otherwise STATUS_COMPLETED with no event, whether a level filled
|
|
2427
|
+
* or the other levels ended unfilled for another reason, such as expiry or
|
|
2428
|
+
* self-trade prevention. Read each level's own child order for its
|
|
2429
|
+
* rejection.
|
|
1966
2430
|
*
|
|
1967
2431
|
* @generated from enum value: EVENT_FIRE_REFUSED = 7;
|
|
1968
2432
|
*/
|
|
@@ -2228,9 +2692,9 @@ declare enum TriggerFailureReason {
|
|
|
2228
2692
|
/**
|
|
2229
2693
|
* The maximum quote debit could not fund the minimum valid child order.
|
|
2230
2694
|
*
|
|
2231
|
-
* @generated from enum value:
|
|
2695
|
+
* @generated from enum value: TRIGGER_FAILURE_REASON_QUOTE_SIZE_TOO_SMALL = 24;
|
|
2232
2696
|
*/
|
|
2233
|
-
|
|
2697
|
+
QUOTE_SIZE_TOO_SMALL = 24,
|
|
2234
2698
|
/**
|
|
2235
2699
|
* The applicable fee rate exceeded the maximum accepted by the trigger.
|
|
2236
2700
|
*
|
|
@@ -2739,6 +3203,27 @@ declare const TriggersService: GenService<{
|
|
|
2739
3203
|
input: typeof CreateTriggerRequestSchema;
|
|
2740
3204
|
output: typeof CreateTriggerResponseSchema;
|
|
2741
3205
|
};
|
|
3206
|
+
/**
|
|
3207
|
+
* Create an OCO: a take-profit and a stop-loss over a quantity the account
|
|
3208
|
+
* already holds, which cancel each other.
|
|
3209
|
+
*
|
|
3210
|
+
* @generated from rpc triggers.v1.TriggersService.CreateOco
|
|
3211
|
+
*/
|
|
3212
|
+
createOco: {
|
|
3213
|
+
methodKind: "unary";
|
|
3214
|
+
input: typeof CreateOcoRequestSchema;
|
|
3215
|
+
output: typeof CreateOcoResponseSchema;
|
|
3216
|
+
};
|
|
3217
|
+
/**
|
|
3218
|
+
* Cancel both legs of an OCO.
|
|
3219
|
+
*
|
|
3220
|
+
* @generated from rpc triggers.v1.TriggersService.CancelOco
|
|
3221
|
+
*/
|
|
3222
|
+
cancelOco: {
|
|
3223
|
+
methodKind: "unary";
|
|
3224
|
+
input: typeof CancelOcoRequestSchema;
|
|
3225
|
+
output: typeof CancelOcoResponseSchema;
|
|
3226
|
+
};
|
|
2742
3227
|
/**
|
|
2743
3228
|
* Get a trigger by ID.
|
|
2744
3229
|
*
|
|
@@ -2781,6 +3266,15 @@ declare const TriggersService: GenService<{
|
|
|
2781
3266
|
* after either, armed stops and running TWAPs can still place orders. To
|
|
2782
3267
|
* stop them, cancel each live trigger with this method; ListTriggers lists
|
|
2783
3268
|
* them.
|
|
3269
|
+
* A trigger that has ended (completed, canceled or failed) answers a
|
|
3270
|
+
* cancel with ERROR_CODE_TRIGGER_STATUS_INVALID for at least 60 s after it
|
|
3271
|
+
* ends, including a repeat of a cancel that succeeded and a cancel retried
|
|
3272
|
+
* after a timeout: treat it as already done, and read the trigger to see
|
|
3273
|
+
* how it ended. After that it may answer ERROR_CODE_TRIGGER_NOT_FOUND
|
|
3274
|
+
* instead, which then means the same. Pausing, resuming or modifying an
|
|
3275
|
+
* ended trigger answers the same way. A trigger ID that names none of the
|
|
3276
|
+
* caller's triggers returns ERROR_CODE_TRIGGER_NOT_FOUND. Cancelling
|
|
3277
|
+
* either leg of an OCO cancels both.
|
|
2784
3278
|
*
|
|
2785
3279
|
* @generated from rpc triggers.v1.TriggersService.CancelTrigger
|
|
2786
3280
|
*/
|
|
@@ -2789,6 +3283,25 @@ declare const TriggersService: GenService<{
|
|
|
2789
3283
|
input: typeof CancelTriggerRequestSchema;
|
|
2790
3284
|
output: typeof CancelTriggerResponseSchema;
|
|
2791
3285
|
};
|
|
3286
|
+
/**
|
|
3287
|
+
* Cancel up to 50 of the account's triggers in one request, each canceled
|
|
3288
|
+
* as CancelTrigger cancels it: a TWAP's or ladder's open child orders are
|
|
3289
|
+
* canceled with it. Results come back per trigger, in request order: an
|
|
3290
|
+
* accepted item's trigger events report when it is canceled;
|
|
3291
|
+
* ERROR_CODE_TRIGGER_NOT_FOUND names an ID that is none of the account's
|
|
3292
|
+
* triggers, and ERROR_CODE_TRIGGER_STATUS_INVALID a trigger that has
|
|
3293
|
+
* already ended. Each trigger counts one against the account's cancel rate
|
|
3294
|
+
* limit, as a CancelTrigger does. A request_id identifies the request for 2
|
|
3295
|
+
* minutes: a retry with the same trigger_ids returns the original results,
|
|
3296
|
+
* so retry a request that timed out unchanged.
|
|
3297
|
+
*
|
|
3298
|
+
* @generated from rpc triggers.v1.TriggersService.BatchCancelTriggers
|
|
3299
|
+
*/
|
|
3300
|
+
batchCancelTriggers: {
|
|
3301
|
+
methodKind: "unary";
|
|
3302
|
+
input: typeof BatchCancelTriggersRequestSchema;
|
|
3303
|
+
output: typeof BatchCancelTriggersResponseSchema;
|
|
3304
|
+
};
|
|
2792
3305
|
/**
|
|
2793
3306
|
* Modify a trigger (limited patch).
|
|
2794
3307
|
*
|
|
@@ -2821,5 +3334,5 @@ declare const TriggersService: GenService<{
|
|
|
2821
3334
|
};
|
|
2822
3335
|
}>;
|
|
2823
3336
|
//#endregion
|
|
2824
|
-
export { CancelTriggerRequest, CancelTriggerRequestSchema, CancelTriggerResponse, CancelTriggerResponseSchema, ConditionalChildExecution, ConditionalChildExecutionSchema, ConditionalTrigger, ConditionalTriggerSchema, CreateTriggerRequest, CreateTriggerRequestSchema, CreateTriggerResponse, CreateTriggerResponseSchema, GetTriggerRequest, GetTriggerRequestSchema, GetTriggerResponse, GetTriggerResponseSchema, LadderDetails, LadderDetailsSchema, LadderDistribution, LadderDistributionSchema, LadderTrigger, LadderTriggerSchema, ListTriggerEventsRequest, ListTriggerEventsRequestSchema, ListTriggerEventsResponse, ListTriggerEventsResponseSchema, ListTriggersRequest, ListTriggersRequestSchema, ListTriggersResponse, ListTriggersResponseSchema, ModifyTriggerRequest, ModifyTriggerRequestSchema, ModifyTriggerResponse, ModifyTriggerResponseSchema, PauseTriggerRequest, PauseTriggerRequestSchema, PauseTriggerResponse, PauseTriggerResponseSchema, ResumeTriggerRequest, ResumeTriggerRequestSchema, ResumeTriggerResponse, ResumeTriggerResponseSchema, StopDetails, StopDetailsSchema, TrailingDetails, TrailingDetailsSchema, TrailingStopTrigger, TrailingStopTriggerSchema, Trigger, TriggerCancelReason, TriggerCancelReasonSchema, TriggerEvent, TriggerEventBatch, TriggerEventBatchSchema, TriggerEventSchema, TriggerEventType, TriggerEventTypeSchema, TriggerFailureReason, TriggerFailureReasonSchema, TriggerIntent, TriggerIntentSchema, TriggerLimitFok, TriggerLimitFokSchema, TriggerLimitGtc, TriggerLimitGtcSchema, TriggerLimitIoc, TriggerLimitIocSchema, TriggerMarketIoc, TriggerMarketIocSchema, TriggerSchema, TriggerStatus, TriggerStatusSchema, TriggerType, TriggerTypeSchema, TriggersService, TwapDetails, TwapDetailsSchema, TwapLimitGtc, TwapLimitGtcSchema, TwapMarketIoc, TwapMarketIocSchema, TwapTrigger, TwapTriggerSchema, file_triggers_v1_triggers, triggers_pb_d_exports };
|
|
3337
|
+
export { BatchCancelTriggersRequest, BatchCancelTriggersRequestSchema, BatchCancelTriggersResponse, BatchCancelTriggersResponseSchema, BatchCancelTriggersResultItem, BatchCancelTriggersResultItemSchema, BatchCancelTriggersResultItem_Status, BatchCancelTriggersResultItem_StatusSchema, CancelOcoRequest, CancelOcoRequestSchema, CancelOcoResponse, CancelOcoResponseSchema, CancelTriggerRequest, CancelTriggerRequestSchema, CancelTriggerResponse, CancelTriggerResponseSchema, ConditionalChildExecution, ConditionalChildExecutionSchema, ConditionalTrigger, ConditionalTriggerSchema, CreateOcoRequest, CreateOcoRequestSchema, CreateOcoResponse, CreateOcoResponseSchema, CreateTriggerRequest, CreateTriggerRequestSchema, CreateTriggerResponse, CreateTriggerResponseSchema, GetTriggerRequest, GetTriggerRequestSchema, GetTriggerResponse, GetTriggerResponseSchema, LadderDetails, LadderDetailsSchema, LadderDistribution, LadderDistributionSchema, LadderTrigger, LadderTriggerSchema, ListTriggerEventsRequest, ListTriggerEventsRequestSchema, ListTriggerEventsResponse, ListTriggerEventsResponseSchema, ListTriggersRequest, ListTriggersRequestSchema, ListTriggersResponse, ListTriggersResponseSchema, ModifyTriggerRequest, ModifyTriggerRequestSchema, ModifyTriggerResponse, ModifyTriggerResponseSchema, OcoIntent, OcoIntentSchema, OcoLeg, OcoLegSchema, PauseTriggerRequest, PauseTriggerRequestSchema, PauseTriggerResponse, PauseTriggerResponseSchema, ResumeTriggerRequest, ResumeTriggerRequestSchema, ResumeTriggerResponse, ResumeTriggerResponseSchema, StopDetails, StopDetailsSchema, TrailingDetails, TrailingDetailsSchema, TrailingStopTrigger, TrailingStopTriggerSchema, Trigger, TriggerCancelReason, TriggerCancelReasonSchema, TriggerEvent, TriggerEventBatch, TriggerEventBatchSchema, TriggerEventSchema, TriggerEventType, TriggerEventTypeSchema, TriggerFailureReason, TriggerFailureReasonSchema, TriggerIntent, TriggerIntentSchema, TriggerLimitFok, TriggerLimitFokSchema, TriggerLimitGtc, TriggerLimitGtcSchema, TriggerLimitIoc, TriggerLimitIocSchema, TriggerMarketIoc, TriggerMarketIocSchema, TriggerSchema, TriggerStatus, TriggerStatusSchema, TriggerType, TriggerTypeSchema, TriggersService, TwapDetails, TwapDetailsSchema, TwapLimitGtc, TwapLimitGtcSchema, TwapMarketIoc, TwapMarketIocSchema, TwapTrigger, TwapTriggerSchema, file_triggers_v1_triggers, triggers_pb_d_exports };
|
|
2825
3338
|
//# sourceMappingURL=triggers_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers_pb.d.ts","names":[],"sources":["../../../../src/gen/triggers/v1/triggers_pb.ts"],"mappings":";;;;;;;;;;cAgBa,2BAA2B;;;;;;;;;;;KAa5B,mBAAmB;;;;;;;;EAQ7B;;;;;;IAME;IACA;;;;;;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