order_sizer#

API documentation for tradeexecutor.strategy.qstrader.order_sizer Python module in Trading Strategy.

Module description#

Convert portfolio weightings to US dollar sized buy and sell trades.

Classes#

CashBufferedOrderSizer

Creates a target portfolio of quantities for each Asset using its provided weight and total equity available in the Broker portfolio.