Comments (9)
it looks like there are NaN
values in the return forecast, could you inspect it? it could be an issue with the data source...
from cvxportfolio.
from cvxportfolio.
not sure whats going on.
from cvxportfolio.
so interesting, r_hat.all() seems to have worked?
I'm not sure why and to be honest I am not sure if this is mathematically correct.
How would could I find out?
Best,
Andrew
from cvxportfolio.
sorry but i can reproduce your error and i don't have enough information for understanding what's wrong. can you isolate the error in a (short) python script and post it here?
from cvxportfolio.
Hi Enzo,
Champion!
Its probably my mistake.
Will try it again tonight with updated packages.
Many thanks
Best,
Andrew
from cvxportfolio.
Hi Enzo!
So i have updated pandas and everything looks like its working.
however, on the real-time optimization example, I get the following error -
Best,
Andrew
from cvxportfolio.
from cvxportfolio.
from cvxportfolio.
Related Issues (20)
- Make `MarketSimulator`, `TransactionCost`, `HoldingCost` agnostic to asset class and subclass them to specialize them
- Query: How do I use ESG scores of a company to optimize a portfolio? HOT 3
- FactorModelSigma -> FactorModelCovariance HOT 3
- Error while calculating returns from 2010. HOT 3
- pip install complains of scipy<1.11.0 HOT 4
- User provided returns forecast (`r_hat`) can be problematic HOT 1
- Interest rate on short sell cash proceeds
- Error from sp500_ndx100 example HOT 1
- Issue When Running examples/sp500_ndx100.py HOT 5
- poetry for dependency management HOT 6
- Best practices for dealing with nan assets (e.g., IPOs) HOT 3
- MarketData <> prepare_data HOT 7
- questions / thoughts on examples folder HOT 2
- suggestion for splitting backtest() method into single and multiple HOT 2
- Implement TurnoverLimit and other constraints from Chapter 4 of the book
- simulator.simulate() doesn't work unless backtest() is called first HOT 3
- Dollar volume assumption HOT 1
- Pulling out F parameter in FactorModelCovariance
- Memory Error When use more than two policiy HOT 1
- PEP8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cvxportfolio.