EDA Python - 23-Candlestick_MPL_shares_1

EDA Python - 23-Candlestick_MPL_shares_1

Assessment

Interactive Video

Information Technology (IT), Architecture, Social Studies, Business

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial introduces plotting share prices using Python, focusing on pandas and MPL finance. It guides viewers through downloading data from Yahoo Finance, preparing it in a Jupyter notebook, and importing necessary libraries. The tutorial covers reading CSV data into a DataFrame, inspecting and cleaning it, and setting the date as the index. It demonstrates basic plotting with MPL finance, including line and candlestick charts, and advanced customization options like moving averages and plot styles.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following libraries is NOT mentioned as necessary for plotting share prices in Python?

pandas

numpy

matplotlib

mplfinance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where can you download historical share price data for Amazon?

Reuters

Bloomberg

Yahoo Finance

Google Finance

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in preparing the data for analysis?

Checking for white spaces in column names

Setting the date column as the index

Importing the data into a DataFrame

Converting the date column to a datetime object

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you convert a date column to a datetime object in pandas?

Using the parse_date function

Using the convert_date function

Using the strftime function

Using the to_datetime function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of plot is used to display the volume of share prices?

Scatter plot

Line plot

Pie chart

Bar plot

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of chart is created by specifying 'candle' in the plot type?

Line chart

Bar chart

Candlestick chart

Area chart

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add a moving average to a plot in mplfinance?

By setting the 'avg' parameter

By setting the 'ma' parameter

By setting the 'mav' parameter

By setting the 'mean' parameter

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?