Set time-in-force when placing an order. Time-in-force can be Day or GTC (Good-Til-Cancelled).
Day
A Day order is active until the market closes on the day it was placed, after which the order will be cancelled.
GTC
A GTC order remains active for 90 days until the order is fully filled, cancelled or experiences order failures. After 90 days, any unfilled GTC orders will be cancelled.