Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I backtest a portfolio's asset allocation? #5

Open
aam1r opened this issue Sep 10, 2020 · 1 comment
Open

How do I backtest a portfolio's asset allocation? #5

aam1r opened this issue Sep 10, 2020 · 1 comment

Comments

@aam1r
Copy link

aam1r commented Sep 10, 2020

Thanks for making this! Looks really cool and I am excited to try it out.

I would like to use this to backtest a portfolio's asset allocation and compare it to an index.

Example:

Ticker,% of Allocation
AAPL,0.5
TSLA,0.25
MSFT,0.20
AMZN,0.05

Given this fixed asset allocation of the tickers above, how do I backtest this portfolio and compare it against an index?

The key thing to note here is that the allocation is fixed in terms of % of portfolio.

@tradytics
Copy link
Owner

Hi, so the tool is more of an portfolio optimization tool than a backtesting tool. It's hard to give raw weights to the tool and then ask it to backtest.

However, the backtesting script can be modified a bit to add this functionality directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants