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

Custom portfolio benchmark #28

Open
jankrepl opened this issue May 28, 2020 · 4 comments
Open

Custom portfolio benchmark #28

jankrepl opened this issue May 28, 2020 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jankrepl
Copy link
Owner

It would be nice to have a benchmark that is just some predefined portfolio. One would construct it by passing all the weights.

@jankrepl jankrepl added enhancement New feature or request good first issue Good for newcomers labels May 28, 2020
@diegolovison
Copy link

Hi,

Generating synthetic data is harder.

In this case:

  1. Could you please upload the daily returns or give me 100 stocks that I can download from yahoo finance or can I pick 100 random stocks from sp500_mean.csv ?

  2. The issue has the content benchmark that is just some predefined portfolio? Can I upload a benchmark example that will generate weights "from the optional rebalance count"?

@jankrepl
Copy link
Owner Author

Hey there!

I think what I meant here was that it would be nice to create a new Benchmark subclass (see deepdow/benchmarks.py) that would accept a fixed w of shape (n_assets, ) representing predefined weights. The __call__ method would just return it independently of x.

The actual choice of w would be completely up to the user. I hope that makes sense:)

@diegolovison
Copy link

What I wish to do it is not related to that. Thanks for the clarification.

@guillermop98
Copy link
Contributor

Hey @jankrepl, have you been able to get more into to this type of predefined portfolio benchmark?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants