From 29cc284793e8e8d69bc826a2d2017f5f1b9a0783 Mon Sep 17 00:00:00 2001 From: Ronan-Yann Lorin Date: Thu, 9 May 2024 11:06:26 +0200 Subject: [PATCH] Set TimeInForce.DAY for all tests orders --- src/tests/unit/api/order/placeConditionalOrder.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/unit/api/order/placeConditionalOrder.test.ts b/src/tests/unit/api/order/placeConditionalOrder.test.ts index a8606d2f..c3caac0a 100644 --- a/src/tests/unit/api/order/placeConditionalOrder.test.ts +++ b/src/tests/unit/api/order/placeConditionalOrder.test.ts @@ -153,6 +153,7 @@ describe("Place Conditional Orders", () => { conditionsIgnoreRth: true, conditionsCancelOrder: false, conditions: [sample_execution_condition], + tif: TimeInForce.DAY, transmit: true, }; @@ -209,6 +210,7 @@ describe("Place Conditional Orders", () => { conditionsIgnoreRth: true, conditionsCancelOrder: false, conditions: [sample_margin_condition], + tif: TimeInForce.DAY, transmit: true, }; @@ -265,6 +267,7 @@ describe("Place Conditional Orders", () => { conditionsIgnoreRth: true, conditionsCancelOrder: false, conditions: [sample_percent_condition], + tif: TimeInForce.DAY, transmit: true, }; @@ -321,6 +324,7 @@ describe("Place Conditional Orders", () => { conditionsIgnoreRth: true, conditionsCancelOrder: false, conditions: [sample_time_condition], + tif: TimeInForce.DAY, transmit: true, }; @@ -377,6 +381,7 @@ describe("Place Conditional Orders", () => { conditionsIgnoreRth: true, conditionsCancelOrder: false, conditions: [sample_volume_condition], + tif: TimeInForce.DAY, transmit: true, }; @@ -440,6 +445,7 @@ describe("Place Conditional Orders", () => { sample_time_condition, sample_volume_condition, ], + tif: TimeInForce.DAY, transmit: true, };