Types
AmendOrderBuilder
type
Builder class for modifying existing trading orders with updated parameters.
Methods
Commission
type
Represents trading commission settings with configurable commission type and value.
ExitOrder
type
Represents exit order settings for take profit and stop loss.
Order
type
Represents a trading order with properties for tracking its status, execution type, and parameters.
Fields
PlaceOrderBuilder
type
Builder class for creating new trading orders with specified parameters.
Methods
Position
type
Represents a current trading position with size and entry price information.
Stop
type
Represents trigger settings for a stop-order.
Trading
type
Main class for executing trading operations including order creation, modification, and cancellation. Provides access to account cash and position information.
Methods
Enums
commission_type
enum
Enum representing the type of commission calculation.
intrabar_order_filter
enum
Enum defining when orders should be executed within a bar during backtesting.
Static fields
market_order_price
enum
Enum defining the price at which market orders are executed in backtesting.
Static fields
order_execution_type
enum
Enum representing the execution type of a trading order.
Static fields
order_side
enum
Enum representing the side of a trading order.
order_status
enum
Enum representing the current status of a trading order.
Static fields
trigger_direction
enum
Enum representing the direction of a stop order trigger.
Static fields