diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/calculator/TriggerOrdersInputCalculator.kt b/src/commonMain/kotlin/exchange.dydx.abacus/calculator/TriggerOrdersInputCalculator.kt index f190d50c3..e24cbcb29 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/calculator/TriggerOrdersInputCalculator.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/calculator/TriggerOrdersInputCalculator.kt @@ -14,7 +14,7 @@ import exchange.dydx.abacus.utils.safeSet import kotlin.math.abs internal object TriggerOrdersConstants { - const val TRIGGER_ORDER_DEFAULT_DURATION_DAYS = 28.0 + const val TRIGGER_ORDER_DEFAULT_DURATION_DAYS = 90.0 } @Suppress("UNCHECKED_CAST") diff --git a/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/V4TransactionTests.kt b/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/V4TransactionTests.kt index 4607f50b4..23f375ade 100644 --- a/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/V4TransactionTests.kt +++ b/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/V4TransactionTests.kt @@ -221,7 +221,7 @@ class V4TransactionTests : NetworkTests() { fun validateLimitOrderDefaults(payload: HumanReadablePlaceOrderPayload) { assertEquals(payload.execution, "DEFAULT") assertEquals(payload.timeInForce, null) - assertEquals(payload.goodTilTimeInSeconds, 2419200) + assertEquals(payload.goodTilTimeInSeconds, 7776000) assertEquals(payload.reduceOnly, true) assertEquals(payload.postOnly, false) } diff --git a/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/v2/V4TransactionTests.kt b/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/v2/V4TransactionTests.kt index 405ca6a56..207ef6ae8 100644 --- a/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/v2/V4TransactionTests.kt +++ b/src/commonTest/kotlin/exchange.dydx.abacus/app/manager/v2/V4TransactionTests.kt @@ -244,7 +244,7 @@ class V4TransactionTests : NetworkTests() { fun validateLimitOrderDefaults(payload: HumanReadablePlaceOrderPayload) { assertEquals(payload.execution, "DEFAULT") assertEquals(payload.timeInForce, null) - assertEquals(payload.goodTilTimeInSeconds, 2419200) + assertEquals(payload.goodTilTimeInSeconds, 7776000) assertEquals(payload.reduceOnly, true) assertEquals(payload.postOnly, false) }