Skip to main content

Questions tagged [numpy]

Filter by
Sorted by
Tagged with
1 vote
2 answers
221 views

Here is the premise: I have a three asset portfolio, I know the assets covariance, the client's risk aversion and the expected return of one of the assets. I also have a desired set of weights. So, 1) ...
Farrep7's user avatar
  • 21
2 votes
2 answers
6k views

I am trying to calculate Slope for the rolling window of 5 and 20 periods and append it to the existing data frame. The length of the total dataset would be let's say 30 days. I have two columns "...
Add's user avatar
  • 1,427