Indeed, the trades are not closed 'outside market hours'; rather many are opened because MaxLong is ignored in Train.

I understand this was done on purpose to enforce good development practices; but IMHO would be better to have MaxLong work consistently by default and leave modifications for Train to the user.