• Map an interval token to seconds for bucketing. The count is optional so the bare OpenAlgo tokens D and W (daily / weekly) work alongside 1d/1w, e.g. D -> 86400, 1m -> 60, 1h -> 3600. Unknown tokens fall back to 60.

    Parameters

    • interval: string

    Returns number