This commit is contained in:
Ichinga Samuel
2024-11-23 11:36:30 +01:00
parent 27411e8d12
commit 4859972a80
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aiomql"
version = "4.0.1"
version = "4.0.2"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
+1
View File
@@ -183,6 +183,7 @@ class BackTester:
self.executor.add_strategy(strategy=strategy)
return True
else:
self.mt._market_book_add(strategy.symbol.name)
info = self.mt._symbol_info(strategy.symbol.name)
time = datetime.fromtimestamp(self.backtest_engine.cursor.time, tz=UTC)
tick = self.mt._copy_ticks_from(strategy.symbol.name, time, 1, CopyTicks.ALL)