Skip to content

Instantly share code, notes, and snippets.

Avatar
:electron:
Research

Dr William Joseph Klubinski WilliamJosephKlubinski

:electron:
Research
View GitHub Profile
View Volatility.py
import numpy
import numpy.random as nrand
def vol(returns):
# Return the standard deviation of returns
return numpy.std(returns)
def beta(returns, market):
View Volatility.py
import numpy
import numpy.random as nrand
def vol(returns):
# Return the standard deviation of returns
return numpy.std(returns)
def beta(returns, market):