Skip to content

Commit 4bd91cf

Browse files
committed
Fix get ticker method
1 parent 59eaf86 commit 4bd91cf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

investing_algorithm_framework/app/algorithm.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,6 @@ def get_allocated(self, market=None, identifier=None) -> float:
551551
f"{portfolio.trading_symbol.upper()}"
552552
ticker = self._market_data_source_service.get_ticker(
553553
symbol=symbol, market=market,
554-
).get_data(
555-
backtest_index_date=self.config
556-
.get(BACKTESTING_INDEX_DATETIME)
557554
)
558555
allocated = allocated + \
559556
(position.get_amount() * ticker["bid"])

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (2, 2, 3, 'alpha', 0)
1+
VERSION = (2, 2, 4, 'alpha', 0)
22

33

44
def get_version(version=None):

0 commit comments

Comments
 (0)