Class TradeHistoryReq

Direct Known Subclasses:

public class TradeHistoryReq
extends Object
  • Constructor Details

    • TradeHistoryReq

      public TradeHistoryReq()
  • Method Details

    • 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)
    • equals

      public boolean equals​(Object o)
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object
    • toString

      public String toString()
      toString in class Object