Interface OpenOrdersParamOffset

All Superinterfaces:
OpenOrdersParams
All Known Implementing Classes:
BankeraTradeService.BankeraOpenOrderParams, BitcoindeOpenOrdersParams

public interface OpenOrdersParamOffset
extends OpenOrdersParams
  • Method Summary

    Modifier and Type Method Description
    default boolean accept​(LimitOrder order)
    Checks if passed order is suitable for open orders params.
    Integer getOffset()  
    void setOffset​(Integer offset)  

    Methods inherited from interface org.knowm.xchange.service.trade.params.orders.OpenOrdersParams

    accept
  • Method Details

    • accept

      default 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
    • getOffset

      Integer getOffset()
    • setOffset

      void setOffset​(Integer offset)