alpheast.position_sizing.base_position_sizing module¶ class alpheast.position_sizing.base_position_sizing.BasePositionSizing[source]¶ Bases: ABC abstractmethod calculate_quantity(symbol, direction, current_price, portfolio_cash, portfolio_holdings, **kwargs)[source]¶ Calculates the quantity to trade based on the given context. Return type: Decimal