Class Deal


  • public class Deal
    extends Object
    {"charge": "0.0066", "deal_type": 1, "order_id": "1540349135948523001", "order_type": 2, "price": "6557.2000", "symbol_id": 101, "timestamp": 1540349180147282172, "trade_id": "15403491801472794729", "volume": "0.0010"}
    • Field Detail

      • charge

        public final BigDecimal charge
        commission of current trade
      • dealType

        public final int dealType
        deal type: 1-buy, 2-sell
      • orderId

        public final String orderId
      • orderType

        public final int orderType
        order type: 1-buy, 2-sell
      • symbolId

        public final int symbolId
      • timestamp

        public final String timestamp
        timestamp is provided in nano seconds
      • tradeId

        public final String tradeId
    • Method Detail

      • getTimestamp

        public Date getTimestamp()