Skip to content

Commit 98e8170

Browse files
committed
fix: rebalancing strategy period in portfolio link to okama.io
1 parent 02ba600 commit 98e8170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

okama/portfolio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ def okamaio_link(self) -> str:
23562356
new_url += f"&first_date={self.first_date.strftime('%Y-%m-%d')}"
23572357
new_url += f"&last_date={self.last_date.strftime('%Y-%m-%d')}"
23582358
# TODO: change rebalancing strategy in the link
2359-
new_url += f"&rebal={self.rebalancing_strategy}"
2359+
new_url += f"&rebal={self.rebalancing_strategy.period}"
23602360
new_url += f"&symbol={self.symbol}"
23612361
return new_url
23622362

0 commit comments

Comments
 (0)