Interface OpenOrdersParams

    • Method Detail

      • accept

        boolean accept​(LimitOrder order)
        Checks if passed order is suitable for open orders params. May be used for XChange side orders filtering
        Parameters:
        order - The order to filter.
        Returns:
        true if order is ok
      • accept

        default boolean accept​(Order order)
        Added later, this method allows the filter to also to apply to stop orders, at a small cost. It should be explicitly implemented for better performance.
        Parameters:
        order - The order to filter.
        Returns:
        true if order is ok.