You can use custom weights:
from EigenLedger import portfolio_analysis, Engine portfolio = Engine( start_date = "2018-01-01", portfolio= ["BABA", "PDD", "KO", "AMD","^IXIC"], weights = [0.1, 0.3, 0.15, 0.25, 0.2], #custom weights ) portfolio_analysis(portfolio)
Last updated 5 days ago