order_sizer#

tradeexecutor.strategy.qstrader.order_sizer Python module in Trading Strategy framework.

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.