Skip to content

Instantly share code, notes, and snippets.

@yildizumut

yildizumut/mu.py Secret

Created August 13, 2019 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yildizumut/6d0bf9b68fa0e5e257b35b441f450822 to your computer and use it in GitHub Desktop.
Save yildizumut/6d0bf9b68fa0e5e257b35b441f450822 to your computer and use it in GitHub Desktop.
Calculating mean return
mu = np.mean(returns)
print(mu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment