Class EXXOpenOrdersParams

java.lang.Object
org.knowm.xchange.exx.dto.params.EXXOpenOrdersParams
All Implemented Interfaces:
OpenOrdersParams

public class EXXOpenOrdersParams
extends Object
implements OpenOrdersParams
  • Constructor Details

    • EXXOpenOrdersParams

      public EXXOpenOrdersParams()
      No args constructor for use in serialization
    • EXXOpenOrdersParams

      public EXXOpenOrdersParams​(CurrencyPair currencyPair, String type, int pageIndex)
      Parameters:
      type -
      pageIndex -
      currency -
  • Method Details

    • accept

      public boolean accept​(LimitOrder order)
      Description copied from interface: OpenOrdersParams
      Checks if passed order is suitable for open orders params. May be used for XChange side orders filtering
      Specified by:
      accept in interface OpenOrdersParams
      Parameters:
      order - The order to filter.
      Returns:
      true if order is ok
    • getCurrencyPair

      public CurrencyPair getCurrencyPair()
    • setCurrencyPair

      public void setCurrencyPair​(CurrencyPair currencyPair)
    • getType

      public String getType()
    • setType

      public void setType​(String type)
    • getPageIndex

      public int getPageIndex()
    • setPageIndex

      public void setPageIndex​(int pageIndex)