Class TradeHistoryReq

    • Constructor Detail

      • TradeHistoryReq

        public TradeHistoryReq()
    • Method Detail

      • market

        public TradeHistoryReq market​(String market)
        (string) - If specified, will return an array of trade objects for the market, if omitted, will return an object of arrays of trade objects keyed by each market
      • getMarket

        public String getMarket()
      • setMarket

        public void setMarket​(String market)
      • address

        public TradeHistoryReq address​(String address)
        (address string) - If specified, return value will only include trades that involve the address as the maker or taker. Note: if specified the type property of the trade objects will refer to the action on the market taken relative to the user, not relative to the market. This behavior is designed to mimic the My Trades section of the IDEX appication, also to mimic the behavior of the private returnTradeHistory API call on Poloniex
      • getAddress

        public String getAddress()
      • setAddress

        public void setAddress​(String address)
      • start

        public TradeHistoryReq start​(String start)
        (number) - The inclusive UNIX timestamp (seconds since epoch, not ms) marking the earliest trade that will be returned in the response, if omitted will default to 0
      • getStart

        public String getStart()
      • setStart

        public void setStart​(String start)
      • end

        public TradeHistoryReq end​(String end)
        (number) - The inclusive UNIX timestamp marking the latest trade that will be returned in the response. If omitted will default to the current timestamp
      • getEnd

        public String getEnd()
      • setEnd

        public void setEnd​(String end)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object