The Capital Asset Pricing Model (CAPM) is a way to determine the rate of return for an asset, a single stock or the entire portfolio.
I wanted to see how this would be calculated in F#, so here you go, enjoy:
let capm (beta:float) (y:float) (z:float) = y + (beta * (z - y));;
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.