How to plot Bitcoin Prices in real time (part 2) — Live animation plot with Python and Matplotlib

preview_player
Показать описание
Hello Everyone! My name is Andrew Fung, in this video, we will be using the Python Matplotlib and Cryptocompare API to plot Bitcoin and other cryptocurrency prices in real time to take a look at the short term price fluctuation. For the second part of the video, I will be focusing on live plotting using an animation function inside Matplotlib.

#python #bitcoin #cryptocurrency #liveplotting #dataVisualization

Installation and Setup!

Check out my Github!

How I make my YouTube videos:

Timestamps
0:00 | Introduction
0:34 | Live animation plotting
11:36 | Side-by-Side comparison
12:27 | Out tro

Full code:
———————————————————————————————
import cryptocompare
from datetime import datetime

x_vals = []
y_vals = []

def get_crypto_price(cryptocurrency,currency):

def get_crypto_name(cryptocurrency):

def animate(i):





———————————————————————————————

Feel free to drop a like and comment if you enjoy and video and let me know if you want me to do other types of programming videos ;) !!!
join shbcf.ru