Skip to main content

Module bracket

Module bracket 

Source
Expand description

Bracket order types for the BracketOrderClient trait. Bracket order types for the BracketOrderClient trait.

A bracket order consists of three linked orders:

  1. Entry: Limit order to enter the position
  2. Take Profit: Limit order to exit at profit target
  3. Stop Loss: Stop (or stop-limit) order to exit at loss limit

When either exit leg fills, the exchange automatically cancels the other.

Structs§

BracketOrderRequestBuilder
Builder for creating BracketOrderRequest with a fluent API.
BracketOrderResult
Result of bracket order placement.
RequestOpenBracket
Request parameters for opening a bracket order.

Type Aliases§

BracketOrderRequest
Bracket order request: entry + take-profit + stop-loss.