What time must trades and pending orders be closed by?