Interface OpenOrdersParamMultiInstrument
- All Superinterfaces:
OpenOrdersParams
- All Known Implementing Classes:
DefaultOpenOrdersParamMultiInstrument
public interface OpenOrdersParamMultiInstrument extends OpenOrdersParams
-
Method Summary
Modifier and Type Method Description default boolean
accept(LimitOrder order)
Checks if passed order is suitable for open orders params.Collection<Instrument>
getInstruments()
void
setInstruments(Collection<Instrument> instruments)
Methods inherited from interface org.knowm.xchange.service.trade.params.orders.OpenOrdersParams
accept
-
Method Details
-
accept
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 interfaceOpenOrdersParams
- Parameters:
order
- The order to filter.- Returns:
- true if order is ok
-
getInstruments
Collection<Instrument> getInstruments() -
setInstruments
-