Skip to content

Commit 746fc56

Browse files
committed
Remove process_pending_orders call in Alpaca broker since it is only implemented in BacktestingBroker.
1 parent b5a099f commit 746fc56

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lumibot/brokers/alpaca.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@ def _await_market_to_close(self, timedelta=None, strategy=None):
326326
The calling strategy; forwarded so pending orders can be processed
327327
the same way BacktestingBroker does.
328328
"""
329-
# First, handle any orders waiting to be processed.
330-
self.process_pending_orders(strategy=strategy)
331-
332329
# Seconds until the bell rings
333330
time_to_close = self.get_time_to_close()
334331

0 commit comments

Comments
 (0)