Skip to content

Commit

Permalink
Set TimeInForce.DAY for all tests orders
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed May 9, 2024
1 parent 914d9ce commit 29cc284
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests/unit/api/order/placeConditionalOrder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ describe("Place Conditional Orders", () => {
conditionsIgnoreRth: true,
conditionsCancelOrder: false,
conditions: [sample_execution_condition],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down Expand Up @@ -209,6 +210,7 @@ describe("Place Conditional Orders", () => {
conditionsIgnoreRth: true,
conditionsCancelOrder: false,
conditions: [sample_margin_condition],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down Expand Up @@ -265,6 +267,7 @@ describe("Place Conditional Orders", () => {
conditionsIgnoreRth: true,
conditionsCancelOrder: false,
conditions: [sample_percent_condition],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down Expand Up @@ -321,6 +324,7 @@ describe("Place Conditional Orders", () => {
conditionsIgnoreRth: true,
conditionsCancelOrder: false,
conditions: [sample_time_condition],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down Expand Up @@ -377,6 +381,7 @@ describe("Place Conditional Orders", () => {
conditionsIgnoreRth: true,
conditionsCancelOrder: false,
conditions: [sample_volume_condition],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down Expand Up @@ -440,6 +445,7 @@ describe("Place Conditional Orders", () => {
sample_time_condition,
sample_volume_condition,
],
tif: TimeInForce.DAY,
transmit: true,
};

Expand Down

0 comments on commit 29cc284

Please sign in to comment.