class BitcoindeOpenOrdersParams
    implements OpenOrdersParamCurrencyPair, OpenOrdersParamOffset {

  private CurrencyPair currencyPair;
  private BitcoindeType type;
  private BitcoindeOrderState state;
  private Date start;
  private Date end;
  private Integer offset;

  public BitcoindeOpenOrdersParams(final BitcoindeOrderState state) {
    this.state = state;
  }

  @Override
  public boolean accept(final LimitOrder order) {
    return accept((Order) order);
  }

  @Override
  public boolean accept(final Order order) {<FILL_FUNCTION_BODY>}
}

    return order != null
        && order.getInstrument().equals(currencyPair)
        && order.getType() == BitcoindeAdapters.adaptOrderType(this.type)
        && order.getStatus() == BitcoindeAdapters.adaptOrderStatus(this.state)
        && !order.getTimestamp().before(this.start)
        && !order.getTimestamp().after(this.end);
  
<no_super_class>