ClientSizing

Implements ISizing

Client implementation for position sizing calculation.

Features:

  • Multiple sizing methods (fixed %, Kelly, ATR)
  • Min/max position constraints
  • Max position percentage limit
  • Callback support for validation and logging

Used by strategy execution to determine optimal position sizes.

constructor(params: ISizingParams);
params: ISizingParams
calculate(params: ISizingCalculateParams): Promise<number>;

Calculates position size based on configured method and constraints.