fix problem of otype on read_orders

fix problem of otype on read_orders through generalization of securerequest