Function get8AMUTCDate

  • Aligns a given date to 8 AM UTC of the current or next day. This function is used to standardize times, reducing liquidity fragmentation.

    Parameters

    • Optional date: Date

      The date to adjust. If not provided, the current date is used.

    Returns number

    The Unix timestamp for 8 AM UTC of the adjusted date.

Generated using TypeDoc