managing open trades