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 first part of the video, I will be focusing on the dynamic generation of data through the Cryptocompare API.
#python #bitcoin #cryptocurrency #liveplotting #dataVisualization
Installation and Setup!
Cryptocompare library: https://pypi.org/project/cryptocompare/
Installing Jupyter Notebook: https://jupyter.readthedocs.io/en/lat...
Check out my Github!
https://github.com/Andrew-FungKinHo
Timestamps
0:00 | Introduction
1:15 | Data fetching
5:16 | Helper function definitions
7:25 | Out tro
Full code:
———————————————————————————————
import cryptocompare
def get_crypto_price(cryptocurrency,currency):
return cryptocompare.get_price(cryptocurrency,curr=currency)[cryptocurrency][currency]
def get_crypto_name(cryptocurrency):
return cryptocompare.get_coin_list()[cryptocurrency]['FullName']
———————————————————————————————
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 ;) !!!
Auf dieser Seite können Sie das Online-Video How to plot Bitcoin Prices in real time (part 1) — Dynamic data fetching with Python and Matplotlib mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Andrew Fung 25 Januar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,915 Mal angesehen und es wurde von 61 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!