Class OrderHistoryRequest


  • public class OrderHistoryRequest
    extends Object
    • Field Detail

      • symbolId

        public final long symbolId
      • direction

        public final Integer direction
        search direction: 1-consult forwardly from start time, 2-consult backwardly from start time. default 2
      • start

        public final Long start
        transmit nothing or 0 from current time, or transmit Unix timestamp (ns)
      • count

        public final Integer count
        counts of records, in default 10
      • status

        public final int status
        order status: 0-all states, 1-pending trade, 2-successful trade, 3-canceled, 4-failed
    • Constructor Detail

      • OrderHistoryRequest

        public OrderHistoryRequest​(long symbolId,
                                   Integer direction,
                                   Long start,
                                   Integer count,
                                   int status)
      • OrderHistoryRequest

        public OrderHistoryRequest​(long symbolId,
                                   int status)