Skip to main content

Module builder

Module builder 

Source
Expand description

Fluent builder APIs for constructing orders.

Re-exports§

pub use algo_builders::AlgoParams;
pub use algo_builders::ArrivalPriceBuilder;
pub use algo_builders::PctVolBuilder;
pub use algo_builders::RiskAversion;
pub use algo_builders::TwapBuilder;
pub use algo_builders::TwapStrategyType;
pub use algo_builders::VwapBuilder;
pub use algo_helpers::arrival_price;
pub use algo_helpers::pct_vol;
pub use algo_helpers::twap;
pub use algo_helpers::vwap;
pub use condition_helpers::execution;
pub use condition_helpers::margin;
pub use condition_helpers::percent_change;
pub use condition_helpers::price;
pub use condition_helpers::time;
pub use condition_helpers::volume;

Modules§

algo_builders
Builder structs for IB algorithmic order strategies.
algo_helpers
Helper functions for creating algorithmic order strategies with a fluent API.
condition_helpers
Helper functions for creating order conditions with a fluent API.

Structs§

BracketOrderBuilder
Builder for bracket orders
BracketOrderIds
Represents the order IDs for a bracket order
OrderAnalysis
Represents the outcome of analyzing an order for margin/commission
OrderBuilder
Builder for creating orders with a fluent interface
OrderId
Represents a unique order identifier
Price
Represents a price value
Quantity
Represents a quantity of shares/contracts

Enums§

AuctionType
Auction type for auction orders
OrderType
Order types supported by Interactive Brokers
TimeInForce
Time in force options
ValidationError
Validation errors