correct datetime in close trade operation