Class BitcoindeOpenOrdersParams
java.lang.Object
org.knowm.xchange.bitcoinde.v4.service.BitcoindeOpenOrdersParams
- All Implemented Interfaces:
CurrencyPairParam
,OpenOrdersParamCurrencyPair
,OpenOrdersParamOffset
,OpenOrdersParams
public class BitcoindeOpenOrdersParams extends Object implements OpenOrdersParamCurrencyPair, OpenOrdersParamOffset
-
Constructor Summary
Constructors Constructor Description BitcoindeOpenOrdersParams(BitcoindeOrderState state)
-
Method Summary
Modifier and Type Method Description boolean
accept(Order order)
Added later, this method allows the filter to also to apply to stop orders, at a small cost.boolean
accept(LimitOrder order)
Checks if passed order is suitable for open orders params.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchange.service.trade.params.orders.OpenOrdersParamCurrencyPair
getCurrencyPair, setCurrencyPair
Methods inherited from interface org.knowm.xchange.service.trade.params.orders.OpenOrdersParamOffset
getOffset, setOffset
-
Constructor Details
-
BitcoindeOpenOrdersParams
-
-
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 interfaceOpenOrdersParamCurrencyPair
- Specified by:
accept
in interfaceOpenOrdersParamOffset
- Specified by:
accept
in interfaceOpenOrdersParams
- Parameters:
order
- The order to filter.- Returns:
- true if order is ok
-
accept
Description copied from interface:OpenOrdersParams
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.- Specified by:
accept
in interfaceOpenOrdersParamCurrencyPair
- Specified by:
accept
in interfaceOpenOrdersParams
- Parameters:
order
- The order to filter.- Returns:
- true if order is ok.
-