Skip to content

Instantly share code, notes, and snippets.

@techwithshadab
Created November 3, 2021 20:55
Show Gist options
  • Save techwithshadab/8249557cb56f8879f4d4267db1628f09 to your computer and use it in GitHub Desktop.
Save techwithshadab/8249557cb56f8879f4d4267db1628f09 to your computer and use it in GitHub Desktop.
# Mean value of each assets
mu = data.get_period_return_mean_vector()
sns.barplot(y=mu, x = stock_list)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment