WEBVTT

00:01.110 --> 00:04.640
In this video we learn how to customize a lovely price chart.

00:04.950 --> 00:11.170
So for example we can change colors and we can add and title and axis labels and many more things.

00:11.430 --> 00:13.130
And there we have still imported here.

00:13.140 --> 00:21.390
Our normalized data frame and with the I plot method we can simply create an interactive luckily uh

00:21.540 --> 00:22.310
graph.

00:22.440 --> 00:28.680
And if you recall that plot lipo then there's also a kind parameter of every can define the kind of

00:28.860 --> 00:29.970
the graph.

00:30.210 --> 00:35.430
And for example here you want to have a line graph or a line chart.

00:35.520 --> 00:36.730
So this is here.

00:36.720 --> 00:38.030
Nothing new actually.

00:38.610 --> 00:44.470
So here we have our six stocks and there's an additional parameter call to fill.

00:47.250 --> 00:52.720
And if you pass a true then we are actually filling our traces here.

00:52.740 --> 00:53.550
So let's have a look.

00:58.670 --> 01:05.510
So in finance this is actually common practice to have fear filled to trace this or traffic kind of

01:05.600 --> 01:07.010
areas.

01:07.010 --> 01:13.160
So we can also select a single stock for example the Boeing stock and then we cannot.

01:13.170 --> 01:16.630
Also the Coca-Cola stock.

01:16.750 --> 01:19.760
So this is pretty cool actually.

01:19.810 --> 01:27.490
And of course also we can change the color or the color scales or follow graphs and we can get them

01:27.520 --> 01:33.520
all available the color scales with the method the cufflinks that colors that scales.

01:33.520 --> 01:34.930
So let's have a look.

01:35.650 --> 01:45.210
And for example here we have the color scales blues or greens and many more actually and now we can

01:45.210 --> 01:50.720
pass these colors Gates as a string to the color scale per meter.

01:50.730 --> 01:54.110
And so we have passed true to the full power meter.

01:54.780 --> 01:55.610
And let's have a look

01:58.750 --> 02:03.380
so here we have uh dark and light greens.

02:03.670 --> 02:07.140
And uh we could also try another color scale.

02:07.150 --> 02:09.510
So for example here I'm reds

02:18.170 --> 02:26.350
so here we have red colors and we can also change the overall theme of our graph and we can get all

02:26.350 --> 02:30.640
available themes with uh the cufflinks method cat themes

02:33.490 --> 02:41.650
so here we have a g g plot purple so last space and so on and now we can create another plot where we

02:41.650 --> 02:47.510
use the color scale that red blue and we select the solar theme.

02:47.530 --> 02:48.370
So let's have a look.

02:53.700 --> 02:57.270
And the scene looks pretty like a Bloomberg graph.

02:57.270 --> 03:00.040
So this is pretty cool actually.

03:00.090 --> 03:07.420
And of course we can select other themes but uh I think the solar theme is pretty cool here.

03:07.510 --> 03:14.730
And then of course we can also add untitled for our plot and also explore labels and Y labels and uh

03:14.830 --> 03:17.930
we can do this with the title page meta.

03:17.980 --> 03:19.990
So here we pass us stocks.

03:19.990 --> 03:27.970
So here we have six U.S. stocks and we pass the time to the ex title page meta to create an ex Labor

03:28.260 --> 03:31.690
MP past the stock price to the VI title perimeter.

03:31.720 --> 03:32.460
So let's have a look.

03:39.730 --> 03:49.450
So here we have now our graph with a title and we have um x axis and y axis labels and uh finally we

03:49.450 --> 03:53.880
can also change um the kind of our plot to spread.

03:53.910 --> 03:57.880
And we only select the apple and the Boeing stock.

03:57.880 --> 04:05.030
So the spread graph works actually best if you only select the two stocks here and uh we pass through

04:05.060 --> 04:11.550
with the full parameter we use the red blue color scale and also again the solar team.

04:11.890 --> 04:15.610
And we also pass at Highland some excess label so let's have a look

04:21.700 --> 04:29.920
so here we have the Apples stock and the Boeing stock and the below the price chart we can see the spread.

04:29.950 --> 04:37.860
So this is actually the difference between both charts and at this place actually the difference between

04:37.890 --> 04:42.690
uh the normalized Apple stock price and the normalized Boeing stock price.

04:42.720 --> 04:46.020
So initially we are starting here in red.

04:46.020 --> 04:53.190
So this means that that year the normalized Boeing stock prices higher than the Apple stock price and

04:53.190 --> 04:54.900
then he has been getting green.

04:54.930 --> 04:59.670
So here we have a positive difference between Apple and Boeing.

04:59.670 --> 05:07.020
So the spread is pretty helpful when we want to compare and analyze the difference between stocks or

05:07.440 --> 05:09.350
other financial securities.

05:09.660 --> 05:14.700
And with this we are finished with this video and I hope to see you also in the next one by.
