Skip to content

Commit

Permalink
Update 02 Null Model.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMelchin authored Jul 17, 2024
1 parent 7170c3b commit c2c4881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p>The <code>NullSlippageModel</code> sets the slippage of each order to zero. It's the default slippage model of the <a href='/docs/v2/writing-algorithms/reality-modeling/brokerages/supported-models/quantconnect-paper-trading'>DefaultBrokerageModel</a>.</p>

<div class="section-example-container">
<pre class="csharp">security.set_slippage_model(NullSlippageModel.instance);</pre>
<pre class="csharp">security.set_slippage_model(NullSlippageModel.Instance);</pre>
<pre class="python">security.set_slippage_model(NullSlippageModel())</pre>
</div>

Expand Down

0 comments on commit c2c4881

Please sign in to comment.