• Order tick indexes in ascending order. If the lower tick index is greater than the upper tick index, the indexes are swapped. This is useful for ensuring that the lower tick index is always less than the upper tick index.

    Parameters

    • tick_index_1 - A i32 integer representing the first tick index
    • tick_index_2 - A i32 integer representing the second tick index

    Returns

    • A TickRange struct containing the lower and upper tick index

    Parameters

    • tick_index_1: number
    • tick_index_2: number

    Returns TickRange