add more filter rules to options flow

This commit is contained in:
MuslemRahimi 2024-11-09 20:10:52 +01:00
parent ed8155c8fa
commit 2b2bdc05bf
2 changed files with 11 additions and 1 deletions

View File

@ -90,7 +90,15 @@
}, },
execution_estimate: { execution_estimate: {
label: "Execution", label: "Execution",
step: ["At Ask", "At Bid", "At Midpoint", "Below Ask", "Below Bid"], step: [
"At Ask",
"At Bid",
"At Midpoint",
"Above Ask",
"Above Bid",
"Below Ask",
"Below Bid",
],
defaultValue: "any", defaultValue: "any",
}, },
option_activity_type: { option_activity_type: {

View File

@ -20,6 +20,8 @@ function convertUnitToValue(
"at bid", "at bid",
"at ask", "at ask",
"at midpoint", "at midpoint",
"above bid",
"above ask",
"below bid", "below bid",
"below ask", "below ask",
"sweep", "sweep",