From f79e55bf9ac43ff2041dfcc49968877faf8a6834 Mon Sep 17 00:00:00 2001 From: Tim Olson <> Date: Wed, 13 Dec 2023 15:02:48 -0400 Subject: [PATCH] tranche tweak --- src/orderbuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/orderbuild.js b/src/orderbuild.js index 8a66fc7..8ae2291 100644 --- a/src/orderbuild.js +++ b/src/orderbuild.js @@ -46,7 +46,7 @@ export function timesliceTranches() { window = Math.round(duration / n) } if( window < 60 ) - window = 60 + window = 60 // always allow at least one minute for execution const amtPerTranche = Math.ceil(MAX_FRACTION / n) duration -= 15 // subtract 15 seconds so the last tranche completes before the deadline for (let i = 0; i < n; i++) {