FixedQuantity
class backtide.sizers.FixedQuantity(quantity)
Buy exactly N units.
Returns the configured quantity regardless of price or equity. Simple,
price-naive sizing — appropriate for crypto base units or quick prototyping.
| Parameters |
The exact number of units to trade per order.
|
See Also
Abstract base class for all position sizers.
Allocate a fixed percentage of total current equity.
Buy a fixed amount of currency worth of the asset.
Methods
| calculate | Calculate the order quantity for this sizer. |
method backtide.sizerscalculate(equity, price, stop_distance=None, atr=None)
Calculate the order quantity for this sizer.