Returns the original estimated duration for the current pending signal.
Reflects minuteEstimatedTime as set in the signal DTO — the maximum number of minutes the position is expected to be active before time_expired.
minuteEstimatedTime
time_expired
Returns null if no pending signal exists.
Trading pair symbol
Promise resolving to estimated duration in minutes or null
import { getPositionEstimateMinutes } from "backtest-kit";const estimate = await getPositionEstimateMinutes("BTCUSDT");// e.g. 120 (2 hours) Copy
import { getPositionEstimateMinutes } from "backtest-kit";const estimate = await getPositionEstimateMinutes("BTCUSDT");// e.g. 120 (2 hours)
Returns the original estimated duration for the current pending signal.
Reflects
minuteEstimatedTimeas set in the signal DTO — the maximum number of minutes the position is expected to be active beforetime_expired.Returns null if no pending signal exists.