declare function getPositionInvestedCount(symbol: string): Promise<number | null>;
Returns the number of DCA entries made for the current pending signal.
1 = original entry only (no DCA). Increases by 1 with each successful commitAverageBuy().
Returns null if no pending signal exists.
Automatically detects backtest/live mode from execution context.
| Parameter | Description |
|---|---|
symbol |
Trading pair symbol |