Skip to content

Commit ec2b619

Browse files
authored
Update 03 Trading During Warm Up.php
1 parent 1fdc74e commit ec2b619

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
<p>
2+
You can't place trades during the warm-up period because they would be operating on fictional fast-forwarded data.
3+
If you try to place a trade during warm-up, LEAN throws the following error:
4+
</p>
15
6+
<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 commit comments

Comments
 (0)