Skip to content

Commit

Permalink
Okx: Fix TestUpdateOrderExecutionLimits
Browse files Browse the repository at this point in the history
DriveBy fix of new options price step limit.
Highlights that we need to mock this data or just assert it's positive
  • Loading branch information
gbjk committed Sep 7, 2023
1 parent ba4188b commit 5eba5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/okx/okx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ func TestUpdateOrderExecutionLimits(t *testing.T) {
}
stepIncr := 0.1
if a == asset.Options {
stepIncr = 0.0005
stepIncr = 0.0001
}

tests[a] = []limitTest{{pairs[0], stepIncr, 1}}
Expand Down

0 comments on commit 5eba5a9

Please sign in to comment.