Skip to content

Commit 9969b29

Browse files
author
Shlomi Kushchi
authored
Merge pull request #59 from jtbales/master
Add support for backfill_from using static data
2 parents e6aff55 + cc66dfd commit 9969b29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alpaca_backtrader_api/alpacadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def start(self):
195195

196196
if self.p.backfill_from is not None:
197197
self._state = self._ST_FROM
198+
self.p.backfill_from.setenvironment(self._env)
198199
self.p.backfill_from._start()
199200
else:
200201
self._start_finish()

0 commit comments

Comments
 (0)