okamaio_link
- property Portfolio.okamaio_link
URL link to portfolio at okama.io.
Portfolio with the same tickers, weights and other properties at okama.io financial widgets.
- Returns:
- str
URL link to portfolio at okama.io.
Examples
>>> pf = ok.Portfolio( ... ["SPY.US", "AGG.US"], ... weights=[0.60, 0.40], ... rebalancing_strategy=ok.Rebalance(period="year", abs_deviation=0.05), ... ) >>> pf.okamaio_link 'https://okama.io/portfolio?tickers=SPY.US,AGG.US&weights=60.0,40.0&ccy=USD&first_date=2003-10-01&last_date=2024-08-01&rebal=year&rebalancing_period=year&rebalancing_abs_deviation=0.05&symbol=portfolio_6323.PF'