order_sizer#

tradeexecutor.strategy.qstrader.order_sizer module.

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.