diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/output/Configs.kt b/src/commonMain/kotlin/exchange.dydx.abacus/output/Configs.kt index 70f06ae5d..bfcd7e2bd 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/output/Configs.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/output/Configs.kt @@ -8,7 +8,6 @@ import exchange.dydx.abacus.utils.Logger import kollections.JsExport import kollections.iListOf import kollections.iMutableListOf -import kollections.toIList import kotlinx.serialization.Serializable @JsExport diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/validator/TriggerOrdersInputValidator.kt b/src/commonMain/kotlin/exchange.dydx.abacus/validator/TriggerOrdersInputValidator.kt index 9f250ffcb..9c5c65adf 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/validator/TriggerOrdersInputValidator.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/validator/TriggerOrdersInputValidator.kt @@ -1,7 +1,6 @@ package exchange.dydx.abacus.validator import abs import exchange.dydx.abacus.output.input.OrderSide -import exchange.dydx.abacus.output.input.OrderTimeInForce import exchange.dydx.abacus.output.input.OrderType import exchange.dydx.abacus.protocols.LocalizerProtocol import exchange.dydx.abacus.protocols.ParserProtocol @@ -559,19 +558,6 @@ internal class TriggerOrdersInputValidator( } } -private fun isStatefulOrder(orderType: OrderType, timeInForce: OrderTimeInForce): Boolean { - return when (orderType) { - OrderType.market -> false - OrderType.limit -> { - when (timeInForce) { - OrderTimeInForce.GTT -> true - else -> false - } - } - else -> true - } -} - private fun requiredTriggerToLiquidationPrice(type: OrderType?, side: OrderSide): RelativeToPrice? { return when (type) { OrderType.stopMarket ->