Own project: Close Price Changes, a Study on STOOQ DE Companies

Hello,

I would like to share my own project about STOOQ DE companies. Please find out more in the project.

I am not completely satisfied with my visualizations. Please advice how I could improve.

Here is link to the project: STOOQ DE (1).ipynb (95.7 KB)

Thank you in advance!

Click here to view Jupyter notebook file in a new tab

4 Likes

Hello @Malgorzata Thanks for sharing your work. The presentation style of your project is very pretty making your work easy to follow along. When printing a pandas DataFrame, inbuilt print function doesn’t prettify the printing. To me I prefer using the display function, it prints DataFrame as a table.

# Getting familiar with our dataset
display(stooq_de.iloc[0])
display(stooq_de.head())
display(stooq_de.tail())

In most notebooks I work with the function is imported by default. If in your case it is not imported you can import it with

from IPython.display import display


Happy Learning!

1 Like

Thanks for that suggestion, I will definitely try this.

1 Like

Hi Malgorzata,

Congrat for the nice work!

Something weird in your close price charts: are you sure there is no aberration in the raw data from the stocks website or even from the dataframe you plot (the date index maybe)? Chart prices generally are curves with peaks and valleys, I think something is going wrong here.

2 Likes

@Malgorzata

I tried to check it though it’s hard without your csv, but I found a way.

You should try

sng.index = pd.to_datetime(sng["date"]) #so you got a DataFrame time series
close = sng['closePrice']
plt.plot( close, c='blue', label='Close Price')
2 Likes

it’s good and you’ve explained well.

3 Likes

Your suggestion always provides great help :slight_smile:

4 Likes