Skip to main content Module v1 Copy item path Source __buffa attached_risk_leg_state batch_create_result_item batch_replace_order_item cancel_order_request get_order_request market_ioc modify_order_request order_intent risk_execution risk_policy trailing_stop_policy AttachedRisk AttachedRisk is the single parent-side view for attached-risk configuration
and runtime status. AttachedRiskLegState AttachedRiskLegState provides runtime linkage/state for one attached-risk leg. AttachedRiskLegStateOwnedView Self-contained, 'static owned view of a AttachedRiskLegState message. AttachedRiskLegStateView AttachedRiskLegState provides runtime linkage/state for one attached-risk leg. AttachedRiskOwnedView Self-contained, 'static owned view of a AttachedRisk message. AttachedRiskStopLoss AttachedRiskStopLoss carries both stop-loss config and runtime state. AttachedRiskStopLossOwnedView Self-contained, 'static owned view of a AttachedRiskStopLoss message. AttachedRiskStopLossView AttachedRiskStopLoss carries both stop-loss config and runtime state. AttachedRiskTakeProfit AttachedRiskTakeProfit carries both take-profit config and runtime state. AttachedRiskTakeProfitOwnedView Self-contained, 'static owned view of a AttachedRiskTakeProfit message. AttachedRiskTakeProfitView AttachedRiskTakeProfit carries both take-profit config and runtime state. AttachedRiskTrailingStop AttachedRiskTrailingStop carries both trailing-stop config and runtime state. AttachedRiskTrailingStopOwnedView Self-contained, 'static owned view of a AttachedRiskTrailingStop message. AttachedRiskTrailingStopView AttachedRiskTrailingStop carries both trailing-stop config and runtime state. AttachedRiskView AttachedRisk is the single parent-side view for attached-risk configuration
and runtime status. BatchCancelItem BatchCancelItem identifies a single order to cancel within a batch. BatchCancelItemOwnedView Self-contained, 'static owned view of a BatchCancelItem message. BatchCancelItemView BatchCancelItem identifies a single order to cancel within a batch. BatchCancelOrdersRequest BatchCancelOrdersRequest cancels multiple orders by explicit ID. BatchCancelOrdersRequestOwnedView Self-contained, 'static owned view of a BatchCancelOrdersRequest message. BatchCancelOrdersRequestView BatchCancelOrdersRequest cancels multiple orders by explicit ID. BatchCancelOrdersResponse BatchCancelOrdersResponse returns per-item results for a batch cancel. BatchCancelOrdersResponseOwnedView Self-contained, 'static owned view of a BatchCancelOrdersResponse message. BatchCancelOrdersResponseView BatchCancelOrdersResponse returns per-item results for a batch cancel. BatchCancelResultItem BatchCancelResultItem contains the per-item result of a batch cancel. BatchCancelResultItemOwnedView Self-contained, 'static owned view of a BatchCancelResultItem message. BatchCancelResultItemView BatchCancelResultItem contains the per-item result of a batch cancel. BatchCreateAccepted =============================================================================
BatchCreateOrders: best-effort batch order placement BatchCreateAcceptedOwnedView Self-contained, 'static owned view of a BatchCreateAccepted message. BatchCreateAcceptedView =============================================================================
BatchCreateOrders: best-effort batch order placement BatchCreateOrdersRequest BatchCreateOrdersRequest places multiple orders in one request. BatchCreateOrdersRequestOwnedView Self-contained, 'static owned view of a BatchCreateOrdersRequest message. BatchCreateOrdersRequestView BatchCreateOrdersRequest places multiple orders in one request. BatchCreateOrdersResponse BatchCreateOrdersResponse returns per-item results for a batch create. BatchCreateOrdersResponseOwnedView Self-contained, 'static owned view of a BatchCreateOrdersResponse message. BatchCreateOrdersResponseView BatchCreateOrdersResponse returns per-item results for a batch create. BatchCreateRejected BatchCreateRejected contains the typed reason an item was not admitted. BatchCreateRejectedOwnedView Self-contained, 'static owned view of a BatchCreateRejected message. BatchCreateRejectedView BatchCreateRejected contains the typed reason an item was not admitted. BatchCreateResultItem BatchCreateResultItem contains exactly one per-item batch outcome. BatchCreateResultItemOwnedView Self-contained, 'static owned view of a BatchCreateResultItem message. BatchCreateResultItemView BatchCreateResultItem contains exactly one per-item batch outcome. BatchReplaceAdmissionItem BatchReplaceAdmissionItem contains the index-stable admission result for one item. BatchReplaceAdmissionItemOwnedView Self-contained, 'static owned view of a BatchReplaceAdmissionItem message. BatchReplaceAdmissionItemView BatchReplaceAdmissionItem contains the index-stable admission result for one item. BatchReplaceOrderItem BatchReplaceOrderItem identifies one replacement inside a quote-refresh batch. BatchReplaceOrderItemOwnedView Self-contained, 'static owned view of a BatchReplaceOrderItem message. BatchReplaceOrderItemView BatchReplaceOrderItem identifies one replacement inside a quote-refresh batch. BatchReplaceOrdersRequest BatchReplaceOrdersRequest replaces same-symbol orders as one quote refresh. BatchReplaceOrdersRequestOwnedView Self-contained, 'static owned view of a BatchReplaceOrdersRequest message. BatchReplaceOrdersRequestView BatchReplaceOrdersRequest replaces same-symbol orders as one quote refresh. BatchReplaceOrdersResponse BatchReplaceOrdersResponse is the durable admission receipt for a batch. BatchReplaceOrdersResponseOwnedView Self-contained, 'static owned view of a BatchReplaceOrdersResponse message. BatchReplaceOrdersResponseView BatchReplaceOrdersResponse is the durable admission receipt for a batch. BatchReplaceStatusItem BatchReplaceStatusItem is the index-stable execution status for one replacement. BatchReplaceStatusItemOwnedView Self-contained, 'static owned view of a BatchReplaceStatusItem message. BatchReplaceStatusItemView BatchReplaceStatusItem is the index-stable execution status for one replacement. CancelAllAfterRequest =============================================================================
CancelAllAfter: dead-man switch heartbeat CancelAllAfterRequestOwnedView Self-contained, 'static owned view of a CancelAllAfterRequest message. CancelAllAfterRequestView =============================================================================
CancelAllAfter: dead-man switch heartbeat CancelAllAfterResponse CancelAllAfterResponse returns dead-man switch arming/disable status. CancelAllAfterResponseOwnedView Self-contained, 'static owned view of a CancelAllAfterResponse message. CancelAllAfterResponseView CancelAllAfterResponse returns dead-man switch arming/disable status. CancelAllOrdersRequest =============================================================================
CancelAllOrders: filter-based mass cancel (kill switch / safety) CancelAllOrdersRequestOwnedView Self-contained, 'static owned view of a CancelAllOrdersRequest message. CancelAllOrdersRequestView =============================================================================
CancelAllOrders: filter-based mass cancel (kill switch / safety) CancelAllOrdersResponse CancelAllOrdersResponse returns the result of a cancel-all operation. CancelAllOrdersResponseOwnedView Self-contained, 'static owned view of a CancelAllOrdersResponse message. CancelAllOrdersResponseView CancelAllOrdersResponse returns the result of a cancel-all operation. CancelOrderRequest CancelOrderRequest is the binary (protobuf) request for canceling orders. CancelOrderRequestOwnedView Self-contained, 'static owned view of a CancelOrderRequest message. CancelOrderRequestView CancelOrderRequest is the binary (protobuf) request for canceling orders. CancelOrderResponse CancelOrderResponse is the binary (protobuf) response after canceling an order. CancelOrderResponseOwnedView Self-contained, 'static owned view of a CancelOrderResponse message. CancelOrderResponseView CancelOrderResponse is the binary (protobuf) response after canceling an order. CreateOrderRequest CreateOrderRequest submits one order intent for admission. CreateOrderRequestOwnedView Self-contained, 'static owned view of a CreateOrderRequest message. CreateOrderRequestView CreateOrderRequest submits one order intent for admission. CreateOrderResponse CreateOrderResponse acknowledges admission only. It does not report whether
the order is working, filled, canceled, or rejected after admission; use
order reads or realtime streams for execution state. CreateOrderResponseOwnedView Self-contained, 'static owned view of a CreateOrderResponse message. CreateOrderResponseView CreateOrderResponse acknowledges admission only. It does not report whether
the order is working, filled, canceled, or rejected after admission; use
order reads or realtime streams for execution state. ErrorDetail ErrorDetail is attached to ConnectRPC errors for structured error handling.
Clients can inspect this to get a stable machine-readable error code. ErrorDetailOwnedView Self-contained, 'static owned view of a ErrorDetail message. ErrorDetailView ErrorDetail is attached to ConnectRPC errors for structured error handling.
Clients can inspect this to get a stable machine-readable error code. FieldViolation FieldViolation describes one actionable request validation failure. FieldViolationOwnedView Self-contained, 'static owned view of a FieldViolation message. FieldViolationView FieldViolation describes one actionable request validation failure. GetBatchReplaceStatusRequest GetBatchReplaceStatusRequest retrieves one admitted batch by server identity. GetBatchReplaceStatusRequestOwnedView Self-contained, 'static owned view of a GetBatchReplaceStatusRequest message. GetBatchReplaceStatusRequestView GetBatchReplaceStatusRequest retrieves one admitted batch by server identity. GetBatchReplaceStatusResponse GetBatchReplaceStatusResponse returns durable batch and per-item finality. GetBatchReplaceStatusResponseOwnedView Self-contained, 'static owned view of a GetBatchReplaceStatusResponse message. GetBatchReplaceStatusResponseView GetBatchReplaceStatusResponse returns durable batch and per-item finality. GetOpenOrdersRequest GetOpenOrdersRequest lists currently non-terminal orders for an account. GetOpenOrdersRequestOwnedView Self-contained, 'static owned view of a GetOpenOrdersRequest message. GetOpenOrdersRequestView GetOpenOrdersRequest lists currently non-terminal orders for an account. GetOpenOrdersResponse GetOpenOrdersResponse returns open orders and an optional next-page cursor. GetOpenOrdersResponseOwnedView Self-contained, 'static owned view of a GetOpenOrdersResponse message. GetOpenOrdersResponseView GetOpenOrdersResponse returns open orders and an optional next-page cursor. GetOrderHistoryRequest GetOrderHistoryRequest lists terminal orders for an account. GetOrderHistoryRequestOwnedView Self-contained, 'static owned view of a GetOrderHistoryRequest message. GetOrderHistoryRequestView GetOrderHistoryRequest lists terminal orders for an account. GetOrderHistoryResponse GetOrderHistoryResponse returns historical orders and an optional next-page cursor. GetOrderHistoryResponseOwnedView Self-contained, 'static owned view of a GetOrderHistoryResponse message. GetOrderHistoryResponseView GetOrderHistoryResponse returns historical orders and an optional next-page cursor. GetOrderRequest GetOrderRequest retrieves a single order and related execution context. GetOrderRequestOwnedView Self-contained, 'static owned view of a GetOrderRequest message. GetOrderRequestView GetOrderRequest retrieves a single order and related execution context. GetOrderResponse GetOrderResponse returns the order plus related trades and transfer legs. GetOrderResponseOwnedView Self-contained, 'static owned view of a GetOrderResponse message. GetOrderResponseView GetOrderResponse returns the order plus related trades and transfer legs. GetUserTradesRequest GetUserTradesRequest lists trade fills for an account. GetUserTradesRequestOwnedView Self-contained, 'static owned view of a GetUserTradesRequest message. GetUserTradesRequestView GetUserTradesRequest lists trade fills for an account. GetUserTradesResponse GetUserTradesResponse returns user trade fills and an optional next-page cursor. GetUserTradesResponseOwnedView Self-contained, 'static owned view of a GetUserTradesResponse message. GetUserTradesResponseView GetUserTradesResponse returns user trade fills and an optional next-page cursor. LimitFok LimitFok configures a fill-or-kill limit order. LimitFokOwnedView Self-contained, 'static owned view of a LimitFok message. LimitFokView LimitFok configures a fill-or-kill limit order. LimitGtc LimitGtc configures a good-til-canceled limit order. LimitGtcOwnedView Self-contained, 'static owned view of a LimitGtc message. LimitGtcView LimitGtc configures a good-til-canceled limit order. LimitIoc LimitIoc configures an immediate-or-cancel limit order. LimitIocOwnedView Self-contained, 'static owned view of a LimitIoc message. LimitIocView LimitIoc configures an immediate-or-cancel limit order. MarketIoc =============================================================================
Connect/Proto-facing Messages (scaled ints, fixed64 IDs) MarketIocOwnedView Self-contained, 'static owned view of a MarketIoc message. MarketIocView =============================================================================
Connect/Proto-facing Messages (scaled ints, fixed64 IDs) ModifyOrderRequest =============================================================================
BatchCancelOrders: explicit-ID batch cancel (bot control loop) ModifyOrderRequestOwnedView Self-contained, 'static owned view of a ModifyOrderRequest message. ModifyOrderRequestView =============================================================================
BatchCancelOrders: explicit-ID batch cancel (bot control loop) ModifyOrderResponse ModifyOrderResponse returns deterministic modify outcome. ModifyOrderResponseOwnedView Self-contained, 'static owned view of a ModifyOrderResponse message. ModifyOrderResponseView ModifyOrderResponse returns deterministic modify outcome. Order =============================================================================
Connect/Proto-facing Messages (scaled ints, fixed64 IDs) OrderIntent OrderIntent contains one order’s complete, transport-independent placement
intent. Single and batch create use this same message. OrderIntentOwnedView Self-contained, 'static owned view of a OrderIntent message. OrderIntentView OrderIntent contains one order’s complete, transport-independent placement
intent. Single and batch create use this same message. OrderOrigin OrderOrigin explains why an order exists and where it came from. OrderOriginOwnedView Self-contained, 'static owned view of a OrderOrigin message. OrderOriginView OrderOrigin explains why an order exists and where it came from. OrderOwnedView Self-contained, 'static owned view of a Order message. OrderTransfer OrderTransfer is the Connect-facing minimal per-leg transfer view. OrderTransferOwnedView Self-contained, 'static owned view of a OrderTransfer message. OrderTransferView OrderTransfer is the Connect-facing minimal per-leg transfer view. OrderView =============================================================================
Connect/Proto-facing Messages (scaled ints, fixed64 IDs) PreviewOrderRequest PreviewOrderRequest asks whether one complete order intent is currently
admissible. It uses the same order contract as CreateOrderRequest. Previewing
creates no order, hold, reservation, or client-order-ID claim. PreviewOrderRequestOwnedView Self-contained, 'static owned view of a PreviewOrderRequest message. PreviewOrderRequestView PreviewOrderRequest asks whether one complete order intent is currently
admissible. It uses the same order contract as CreateOrderRequest. Previewing
creates no order, hold, reservation, or client-order-ID claim. PreviewOrderResponse PreviewOrderResponse reports whether an order is currently admissible and
returns any sizing and price-protection values resolved during evaluation.
The result is advisory: account, market, and policy inputs may change, and
CreateOrder always evaluates the intent again. PreviewOrderResponseOwnedView Self-contained, 'static owned view of a PreviewOrderResponse message. PreviewOrderResponseView PreviewOrderResponse reports whether an order is currently admissible and
returns any sizing and price-protection values resolved during evaluation.
The result is advisory: account, market, and policy inputs may change, and
CreateOrder always evaluates the intent again. RiskExecution RiskExecution selects the child execution supported by attached take-profit
and stop-loss policies. RiskExecutionOwnedView Self-contained, 'static owned view of a RiskExecution message. RiskExecutionView RiskExecution selects the child execution supported by attached take-profit
and stop-loss policies. RiskLimitGtc RiskLimitGtc configures an attached risk leg that submits a resting limit
child. Attached risk legs do not support post-only. RiskLimitGtcOwnedView Self-contained, 'static owned view of a RiskLimitGtc message. RiskLimitGtcView RiskLimitGtc configures an attached risk leg that submits a resting limit
child. Attached risk legs do not support post-only. RiskMarketIoc RiskMarketIoc configures an attached risk leg that submits a market child
with implicit immediate-or-cancel behavior. RiskMarketIocOwnedView Self-contained, 'static owned view of a RiskMarketIoc message. RiskMarketIocView RiskMarketIoc configures an attached risk leg that submits a market child
with implicit immediate-or-cancel behavior. RiskPolicy RiskPolicy defines optional risk controls (TP/SL/TrailingStop) attached to an
order. These arm after the parent order fills and fire when conditions are
met. If the parent order is canceled before any fill, attached risk controls
are discarded. RiskPolicyOwnedView Self-contained, 'static owned view of a RiskPolicy message. RiskPolicyView RiskPolicy defines optional risk controls (TP/SL/TrailingStop) attached to an
order. These arm after the parent order fills and fire when conditions are
met. If the parent order is canceled before any fill, attached risk controls
are discarded. StopLossPolicy StopLossPolicy defines a stop-loss attached to an order. It evaluates last
trade price, arms after the parent fills, and submits the selected child. StopLossPolicyOwnedView Self-contained, 'static owned view of a StopLossPolicy message. StopLossPolicyView StopLossPolicy defines a stop-loss attached to an order. It evaluates last
trade price, arms after the parent fills, and submits the selected child. TakeProfitPolicy TakeProfitPolicy defines a take-profit attached to an order. It evaluates
last trade price, arms after the parent fills, and submits the selected child. TakeProfitPolicyOwnedView Self-contained, 'static owned view of a TakeProfitPolicy message. TakeProfitPolicyView TakeProfitPolicy defines a take-profit attached to an order. It evaluates
last trade price, arms after the parent fills, and submits the selected child. TrailingStopPolicy TrailingStopPolicy defines a trailing stop attached to an order.
Tracks peak (for sell) or trough (for buy) and fires when price reverses by
the distance. TrailingStopPolicyOwnedView Self-contained, 'static owned view of a TrailingStopPolicy message. TrailingStopPolicyView TrailingStopPolicy defines a trailing stop attached to an order.
Tracks peak (for sell) or trough (for buy) and fires when price reverses by
the distance. UserTrade UserTrade is the Connect-facing per-user trade fill view. UserTradeOwnedView Self-contained, 'static owned view of a UserTrade message. UserTradeView UserTrade is the Connect-facing per-user trade fill view. BatchReplaceAdmissionStatus BatchReplaceAdmissionStatus summarizes admission of one quote-refresh batch. BatchReplaceItemAdmissionStatus BatchReplaceItemAdmissionStatus describes admission of one replacement. BatchReplacePhase BatchReplacePhase is the recoverable execution phase for one replacement. ErrorCode ErrorCode enumerates stable machine-readable error codes for the Orders API.
These mirror the REST problem+json “code” field for parity between REST and
ConnectRPC clients. FeeAsset FeeAsset identifies the asset in which an order fee is charged. ModifyActionTaken ModifyActionTaken describes what action was applied for a modify request. ModifyBehavior ModifyBehavior controls how ModifyOrder should handle amend-vs-replace paths.
MODIFY_BEHAVIOR_UNSPECIFIED is treated as AMEND_OR_REPLACE by server logic. OrderOriginScope OrderOriginScope captures broad origin classes for an order. OrderStatus Read-only Orders API (open orders and historical orders).
Separate from write surface to allow independent evolution/versioning.
Shared enums (Side, OrderType, TimeInForce, SelfTradePreventionMode,
FeeAsset) are imported from orders.proto. OrderTriggerType OrderTriggerType captures the trigger strategy that generated the order. OrderType SelfTradePreventionMode Side =============================================================================
Shared Enums (used by both REST and binary messages) TimeInForce TriggerDirection TriggerDirection defines whether the trigger fires when price goes above or
below threshold. TriggerPriceSource =============================================================================
Trigger System: Risk Controls + Conditional Orders register_types Register this package’s Any type entries and extension entries.