cvxportfolio icon indicating copy to clipboard operation
cvxportfolio copied to clipboard

Should I assume this project is dead?

Open thayes75 opened this issue 3 years ago • 4 comments

Hi all,

While it seems there was a small push about a year ago to update the project, there are far too many broken issues (benchmarks don't work, for example). Should I assume this project is dead/abandoned?

Cheers

thayes75 avatar Mar 04 '21 12:03 thayes75

Judging from the response so far probably yes. I'm still using this but constantly having to fix/workaround some issues. Will try making a pull request if I manage to write a good fix for something but no promises.

avocadotruck94 avatar Apr 15 '21 20:04 avocadotruck94

Actually, I have a version that works with most of the latest packages (as of Nov/Dec 2020 at least), I'll look to share it by the end of the week. I also created this helper lib that outputs directly what cvxportfolio needs to run optimizations: https://github.com/roprisor/alphamodel. There are a few example notebooks so it should be straightforward to use.

roprisor avatar Apr 27 '21 02:04 roprisor

I would definitely be interested. I have some kludges I was working on for the factorized risk model, but the two things I could not figure out was:

  • The DollarNeutral constraint never seemed to work
  • Passing a benchmark as a dataframe (i.e. weights for each dates/IDs)

thayes75 avatar May 02 '21 14:05 thayes75

Would also be interested, currently struggling with below error on all of my machines (except one)

Traceback (most recent call last):
  File "/home/bob/jalouse/main.py", line 171, in <module>
    run(3)
  File "/home/bob/jalouse/main.py", line 167, in run
    return func()
  File "/home/bob/jalouse/main.py", line 150, in sim
    sim_function(info)
  File "/home/bob/jalouse/sim.py", line 1109, in sim_function
    port_results = mpo_market_sim(Date, returns, all_return_estimates, sigmas_hat_residuals, all_sigmas_estimates,
  File "/home/bob/jalouse/portfolio_opt.py", line 911, in mpo_market_sim
    returns_forecast = cp.MPOReturnsForecast(all_return_estimates)
TypeError: Can't instantiate abstract class MPOReturnsForecast with abstract methods weight_expr

Reviewed similar issues in https://github.com/cvxgrp/cvxportfolio/issues/34 https://github.com/cvxgrp/cvxportfolio/issues/22

but no luck

avocadotruck94 avatar May 09 '21 13:05 avocadotruck94

Hello, the project is being restored now. Basic testing passes and two example notebooks (see https://cvxportfolio.readthedocs.io/en/latest/examples/index.html) run. Please be patient as we fix the rest.

enzbus avatar Apr 11 '23 11:04 enzbus