CommencerCommencer gratuitement

Mean prices

When looking at stock prices it is useful to look at a prices not only over the course of multiple days, but at different points in the same data. In this exercise you are given historical data for a stock prices in a DataFrame named prices. The DataFrame has the columns OPEN, CLOSE, HI, and LOW. You are trying understand the trend of this stock's price by using the mean opening and closing prices. Is the mean opening price greater than the mean closing price?

Cet exercice fait partie du cours

Intermediate Python for Finance

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice