filmov
tv
How to build a Cryptocurrency Price Index [with Python using SQL,APIs and Streamlit]

Показать описание
Hi everyone,
in this one we are going to build a cryptocurrency price index similar to the S&P500/Dow Jones/Sensex/DAX whatever you are for stocks. Those indices are usually calculated using value weighted returns. Anyhow we are using equal weighted returns.
There are basically endless possibilities with that but this video should give you an idea how to start. Figuring out the altair part took me multiple hours so please hit the like button to make it worth it :D
Get the Notebook/Source code by becoming a Tier-2 Channel member:
Please check out the mentioned videos beforehand to better follow along:
Video on a live price data stream using binance unicorn and streamlit:
Please also check the linked streamlit videos below that.
Videos on requesting data from cryptoexchange APIs:
Video on how returns are calculated:
If you are interested in more Python and Crypto related content please check out my cryptobot playlist:
Get Market caps credits to javierfish on stackoverflow:
symbols = ['btc', 'eth', 'bnb', 'xrp', 'ada','sol','dot','luna','AVAX','doge','shib','matic',
'ltc','atom','link','near','trx','algo','bch','ftt','xlm','ftm','uni','mana','hbar','sand',
'etc','axs','icp','vet','xtz','fil','egld','theta','xmr','klay','hnt','grt','gala','one','eos',
'flow','aave','cake','mkr','qnt','enj','ar','tfuel','xec','stx','neo','ksm','zec','amp','rune',
'cvx','bat','celo','lrc','crv','rose','chz','dash','waves','scrt','slp','snx','mina']
00:00 - 02:10 Intro / Prerequisites / Explanations
02:10 - 05:18 First script pushing live prices to a SQL DB
05:18 - 08:32 Get Market Caps using the Coingecko API
08:32 - 16:20 Step by step Index calculation
16:20 - 19:22 Repeating all Index calculation steps within a function
19:22 - 24:42 Creating the streamlit script
24:42 - 25:34 Run the app / Thx for watching
#Python #Crypto #Index
in this one we are going to build a cryptocurrency price index similar to the S&P500/Dow Jones/Sensex/DAX whatever you are for stocks. Those indices are usually calculated using value weighted returns. Anyhow we are using equal weighted returns.
There are basically endless possibilities with that but this video should give you an idea how to start. Figuring out the altair part took me multiple hours so please hit the like button to make it worth it :D
Get the Notebook/Source code by becoming a Tier-2 Channel member:
Please check out the mentioned videos beforehand to better follow along:
Video on a live price data stream using binance unicorn and streamlit:
Please also check the linked streamlit videos below that.
Videos on requesting data from cryptoexchange APIs:
Video on how returns are calculated:
If you are interested in more Python and Crypto related content please check out my cryptobot playlist:
Get Market caps credits to javierfish on stackoverflow:
symbols = ['btc', 'eth', 'bnb', 'xrp', 'ada','sol','dot','luna','AVAX','doge','shib','matic',
'ltc','atom','link','near','trx','algo','bch','ftt','xlm','ftm','uni','mana','hbar','sand',
'etc','axs','icp','vet','xtz','fil','egld','theta','xmr','klay','hnt','grt','gala','one','eos',
'flow','aave','cake','mkr','qnt','enj','ar','tfuel','xec','stx','neo','ksm','zec','amp','rune',
'cvx','bat','celo','lrc','crv','rose','chz','dash','waves','scrt','slp','snx','mina']
00:00 - 02:10 Intro / Prerequisites / Explanations
02:10 - 05:18 First script pushing live prices to a SQL DB
05:18 - 08:32 Get Market Caps using the Coingecko API
08:32 - 16:20 Step by step Index calculation
16:20 - 19:22 Repeating all Index calculation steps within a function
19:22 - 24:42 Creating the streamlit script
24:42 - 25:34 Run the app / Thx for watching
#Python #Crypto #Index
Комментарии