Skip to content

Commit 5310964

Browse files
authored
Update filter-examples-strategies.html
1 parent 735c616 commit 5310964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/universes/option/filter-examples-strategies.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="section-example-container">
22
<pre class="csharp">// Example 1: Select a Straddle
3-
option.SetFilter(optionFilterUniverse => optionFilterUniverse.Straddle(30, 5, 10));
3+
option.SetFilter(optionFilterUniverse => optionFilterUniverse.Straddle(30));
44

55
// Example 2: Select the contracts (including weeklys) that expire in the next 30 days that form an Iron Condor
66
option.SetFilter(optionFilterUniverse => optionFilterUniverse.Strikes(-20, 20).Expiration(0, 30).IronCondor(30, 5, 10));
@@ -9,7 +9,7 @@
99
option.SetFilter(optionFilterUniverse => optionFilterUniverse.Expiration(0, 0).Strangle(30, 5, -10));
1010
</pre>
1111
<pre class="python"># Example 1: Select a Straddle
12-
option.set_filter(lambda option_filter_universe: option_filter_universe.straddle(30, 5, 10))
12+
option.set_filter(lambda option_filter_universe: option_filter_universe.straddle(30))
1313

1414
# Example 2: Select the contracts (including weeklys) that expire in the next 30 days that form an Iron Condor
1515
option.set_filter(lambda option_filter_universe: option_filter_universe.strikes(-20, 20).expiration(0, 30).iron_condor(30, 5, 10))

0 commit comments

Comments
 (0)