Skip to content

Commit 651a505

Browse files
committed
debug
1 parent 7036b3b commit 651a505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/risk_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _calculate_atr(portfolio, ticker, period: int = 14) -> float:
150150
logger.info(f"start_date : {start_date}")
151151
logger.info(f"end_date : {end_date}")
152152

153-
df = get_universe_data(start_date=start_date, end_date=end_date, tickers=ticker)
153+
df = get_universe_data(start_date=start_date, end_date=end_date, tickers=[ticker])
154154
logger.info(f"Data for ATR calculation for {ticker}: {df}")
155155

156156
if len(df) < 2:

0 commit comments

Comments
 (0)