3.3.2.6Expiry on pending orders

The expiry on a pending order can be specified using any of the following. (It is ignored on new trades.)

expiry:

Description

number

An absolute expiry time (UTC, milliseconds)

"day" (expiry: "day")

End-of-day. The time zone for the "day" is taken from the user's settings for the MyTrader platform.

{seconds: x}

Number of seconds from current time

{minutes: x}

Number of minutes from current time

{hours: x}

Number of hours from current time