Build a Cryptocurrency Live Tracker and Converter in Python
241 views
Jun 3, 2025
Get the full source code of application here:
View Video Transcript
0:00
uh hello guys welcome to this video so
0:02
in this video I'll show you a Python
0:03
module which actually find out the
0:06
cryptocurrencies and it actually
0:08
converts from one cryptocurrency to
0:10
another cryptocurrencies you can
0:12
actually build out a nice little
0:14
converter inside the terminal and the
0:17
nice thing about this module is that it
0:19
doesn't use any sort of paid API you can
0:22
use this completely free for unlimited
0:24
number of times so if I execute the
0:27
script here you will see it will exactly
0:29
tell me the value of 100 bitcoin what is
0:32
the value of 100 bitcoin in ethereum let
0:37
me change this value from 100 to 1 so
0:40
now it will exactly tell me the value of
0:42
one bitcoin inside ethereum so one
0:45
bitcoin is equal to
0:49
39.78,000 ethereum so we can even cross
0:52
check this value if I just write here 1
0:55
BTC to
0:57
ETH so you can see it is scraping this
1:00
live value from google.com
1:02
39.77 so it's a great module you can see
1:06
that you can build out any sort of
1:08
cryptocurrencies converter kind of
1:10
application so first of all you just
1:12
need to install this module which is
1:14
called as
1:16
crypto compare this is actually the name
1:19
of the module so the command is simple
1:23
you simply install this module i have
1:25
already installed it it is actually
1:28
getting this data from this website it
1:30
is actually using uh web scraping the
1:33
technique of web scraping from scraping
1:36
the data from live website so it is
1:39
going to this website and doing all this
1:41
stuff in the background
1:43
so first of all install this and then
1:46
after installing it you simply import
1:49
this module import crypto compare and
1:52
then you specify which currency you want
1:55
to get the data we call this module
1:58
crypto compare it contains this method
2:00
here get price and you basically call
2:04
this and here you specify which currency
2:07
you want to convert so I want to convert
2:10
from Bitcoin to and then you specify the
2:13
currency to which you want to convert so
2:16
I want to convert the Bitcoin to
2:19
Ethereum and then you specify how much
2:22
value so you can specify the amount
2:26
here so I will say one and then actually
2:30
it will tell you the value here so you
2:33
simply execute this function BTC
2:38
displays this value
2:43
so so like
2:48
this you multiply this by the amount
2:51
here so BTC uh
2:54
amount and then it actually gives you
2:56
the value here
3:02
so so BTC
3:12
amount so that's all so this if I
3:16
execute once again you will see one BTC
3:18
is equal to so it is saying BTC amount
3:20
is not defined so just make sure that
3:23
you put this amount
3:29
So it exactly tells you 1 BTC is equal
3:32
to 39.78 Ethereum you can even change
3:36
this from Ethereum to BTC so any
3:41
combination you can try this you can see
3:43
one Ethereum
3:47
value is equal to how much BTC so once
3:50
again if I execute this
3:53
so so here you just need to change this
3:56
from Ethereum to
4:01
BTC so one Ethereum is equal to
4:06
0.02.7 you can see you can crossverify
4:09
this as well so just type here 1
4:13
Ethereum to
4:15
BTC so you can see
4:17
0.025 so it is actually correct
4:21
so in using this module guys you can
4:24
build out a cryptocurrency converter
4:26
kind of an application so just install
4:29
this module and all your data will be
4:32
present right in your terminals so you
4:35
can explore some more methods as well if
4:38
you want to
4:40
get all
4:42
the historical price as well daybyday
4:46
data minutebyminut data so all these
4:49
methods are there you can try this
4:51
module so get coin list it will return
4:54
all the
4:58
coins so it has a series of methods you
5:00
can try
5:02
this so I just showed you a very basic
5:05
methods you can see it will return all
5:07
the bitcoin uh sorry coins all the coins
5:12
which are there in the cryptocurrency
5:14
market so you can
5:20
see so using this module you can build
5:23
out a complete cryptocurrency converter
5:25
kind of an website so there is no
5:27
restriction out there no need to put any
5:30
sort of API key you can get all this
5:32
data for completely free uh thank you
5:35
very much for watching this video please
5:37
hit that like button subscribe the
5:38
channel and also check out my website
5:42
freemediatools.com which contains
5:44
thousands of tools
#Currencies & Foreign Exchange