Skip to content

Commit

Permalink
Update 03 Trading During Warm Up.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMelchin authored Dec 20, 2024
1 parent 1fdc74e commit ec2b619
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
<p>
You can't place trades during the warm-up period because they would be operating on fictional fast-forwarded data.
If you try to place a trade during warm-up, LEAN throws the following error:
</p>
<div class='error-messages'>Backtest Handled Error: This operation is not allowed in Initialize or during warm up: OrderRequest.Submit. Please move this code to the OnWarmupFinished() method.</div></p>

0 comments on commit ec2b619

Please sign in to comment.