We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ba600 commit 98e8170Copy full SHA for 98e8170
okama/portfolio.py
@@ -2356,7 +2356,7 @@ def okamaio_link(self) -> str:
2356
new_url += f"&first_date={self.first_date.strftime('%Y-%m-%d')}"
2357
new_url += f"&last_date={self.last_date.strftime('%Y-%m-%d')}"
2358
# TODO: change rebalancing strategy in the link
2359
- new_url += f"&rebal={self.rebalancing_strategy}"
+ new_url += f"&rebal={self.rebalancing_strategy.period}"
2360
new_url += f"&symbol={self.symbol}"
2361
return new_url
2362
0 commit comments