Crypto Dashboard 📊with PYTHON & STREAMLIT [DCA VS. Lump Sum]
HTML-код
- Опубликовано: 19 июн 2024
- Use my code "ALGOVIBES" or link rize.io/u/algovibes to be the first 1000 people to get a 25% discount off your first three months with Rize.
Get the Notebook/Source code by becoming a Tier-3 Channel member:
/ @algovibes
PREREQUISITES:
Video on DCA vs. Lump Sum Trading Strategy:
• DOLLAR COST AVERAGING ...
Video on the python Binance lib:
• Introduction To Automa...
Video(s) on streamlit:
Basics:
• Streamlit Interactive ...
more advanced:
• Binance Live Returns C...
tickers = ['BTCUSDT','XRPUSDT',
'TRXUSDT',
'WAVESUSDT',
'ZILUSDT',
'ONEUSDT',
'COTIUSDT',
'SOLUSDT',
'EGLDUSDT',
'AVAXUSDT',
'NEARUSDT',
'FILUSDT',
'AXSUSDT',
'ROSEUSDT',
'ARUSDT',
'MBOXUSDT',
'YGGUSDT',
'BETAUSDT',
'PEOPLEUSDT',
'EOSUSDT',
'ATOMUSDT',
'FTMUSDT',
'DUSKUSDT',
'IOTXUSDT',
'OGNUSDT',
'CHRUSDT',
'MANAUSDT',
'XEMUSDT',
'SKLUSDT',
'ICPUSDT',
'FLOWUSDT',
'WAXPUSDT',
'FIDAUSDT',
'ENSUSDT',
'SPELLUSDT',
'LTCUSDT',
'IOTAUSDT',
'LINKUSDT',
'XMRUSDT',
'DASHUSDT',
'MATICUSDT',
'ALGOUSDT',
'ANKRUSDT',
'COSUSDT',
'KEYUSDT',
'XTZUSDT',
'RENUSDT',
'RVNUSDT',
'HBARUSDT',
'BCHUSDT',
'COMPUSDT',
'ZENUSDT',
'SNXUSDT',
'SXPUSDT',
'SRMUSDT',
'SANDUSDT',
'SUSHIUSDT',
'YFIIUSDT',
'KSMUSDT',
'DIAUSDT',
'RUNEUSDT',
'AAVEUSDT',
'1INCHUSDT',
'ALICEUSDT',
'FARMUSDT',
'REQUSDT',
'GALAUSDT',
'POWRUSDT',
'OMGUSDT',
'DOGEUSDT',
'SCUSDT',
'XVSUSDT',
'ASRUSDT',
'CELOUSDT',
'RAREUSDT',
'ADXUSDT',
'CVXUSDT',
'WINUSDT',
'C98USDT',
'FLUXUSDT',
'ENJUSDT',
'FUNUSDT',
'KP3RUSDT',
'ALCXUSDT',
'ETCUSDT',
'THETAUSDT',
'CVCUSDT',
'STXUSDT',
'CRVUSDT',
'MDXUSDT',
'DYDXUSDT',
'OOKIUSDT',
'CELRUSDT',
'RSRUSDT',
'ATMUSDT',
'LINAUSDT',
'POLSUSDT',
'ATAUSDT',
'RNDRUSDT',
'NEOUSDT',
'ALPHAUSDT',
'XVGUSDT',
'KLAYUSDT',
'DFUSDT',
'VOXELUSDT',
'LSKUSDT',
'KNCUSDT',
'NMRUSDT',
'MOVRUSDT',
'PYRUSDT',
'ZECUSDT',
'CAKEUSDT',
'HIVEUSDT',
'UNIUSDT',
'SYSUSDT',
'BNXUSDT',
'GLMRUSDT',
'LOKAUSDT',
'CTSIUSDT',
'REEFUSDT',
'AGLDUSDT',
'MCUSDT',
'ICXUSDT',
'TLMUSDT',
'MASKUSDT',
'IMXUSDT',
'XLMUSDT',
'BELUSDT',
'HARDUSDT',
'NULSUSDT',
'TOMOUSDT',
'NKNUSDT',
'BTSUSDT',
'LTOUSDT',
'STORJUSDT',
'ERNUSDT',
'XECUSDT',
'ILVUSDT',
'JOEUSDT',
'SUNUSDT',
'ACHUSDT',
'TROYUSDT',
'YFIUSDT',
'CTKUSDT',
'BANDUSDT',
'RLCUSDT',
'TRUUSDT',
'MITHUSDT',
'AIONUSDT',
'ORNUSDT',
'WRXUSDT',
'WANUSDT',
'CHZUSDT',
'ARPAUSDT',
'LRCUSDT',
'IRISUSDT',
'UTKUSDT',
'QTUMUSDT',
'GTOUSDT',
'MTLUSDT',
'KAVAUSDT',
'DREPUSDT',
'OCEANUSDT',
'UMAUSDT',
'FLMUSDT',
'UNFIUSDT',
'BADGERUSDT',
'PONDUSDT',
'PERPUSDT',
'TKOUSDT',
'GTCUSDT',
'TVKUSDT',
'MINAUSDT',
'RAYUSDT',
'LAZIOUSDT',
'AMPUSDT',
'BICOUSDT',
'CTXCUSDT',
'FISUSDT',
'BTGUSDT',
'TRIBEUSDT',
'QIUSDT',
'PORTOUSDT',
'DATAUSDT',
'NBSUSDT',
'EPSUSDT',
'TFUELUSDT',
'BEAMUSDT',
'REPUSDT',
'PSGUSDT',
'WTCUSDT',
'FORTHUSDT',
'BONDUSDT',
'ZRXUSDT',
'FIROUSDT',
'SFPUSDT',
'VTHOUSDT',
'FIOUSDT',
'PERLUSDT',
'WINGUSDT',
'AKROUSDT',
'BAKEUSDT',
'ALPACAUSDT',
'FORUSDT',
'IDEXUSDT',
'PLAUSDT',
'VITEUSDT',
'DEGOUSDT',
'XNOUSDT',
'STMXUSDT',
'JUVUSDT',
'STRAXUSDT',
'CITYUSDT',
'JASMYUSDT',
'DEXEUSDT',
'OMUSDT',
'MKRUSDT',
'FXSUSDT',
'ETHUSDT',
'ADAUSDT',
'BNBUSDT',
'SHIBUSDT']
This video was sponsored by Rize.
00:00 - 00:52 Introducing the Dashboard
00:52 - 01:58 Awesome Sponsor!
01:58 - 02:05 DISCLAIMER
02:05 - 05:30 User inputs / Dropdowns
05:30 - 07:48 "Backend"/Data pulls
07:48 - 11:07 DCA/Lump sum logic copy paste
11:07 - 14:24 Portfolio worth / Performance
14:24 - 17:30 Visualization / Performance manipulation
17:30 - 18:44 Convert .ipynb to .py
18:44 - 20:15 Fixing an error
20:15 - 21:04 HERE YOU ARE!
#Python #streamlit #crypto Наука
Want to improve your productivity distinctly? Try out Rize here: rize.io/u/algovibes ☺
I usually skip through the sponsered but I really respected you so I watched it
thanks a lot for your support man. Appreciate it :-)
Your DCA video was enlightening. It showed the shortcomings in the commonly accepted strategy using raw data. This is the cherry on the cake.
More videos on Streamlit please. I've been playing with it myself and you get a lot of functionality for relatively little input.
Thanks a ton for your feedback :-)
Thank you for existing, absolutly love your work
Thank YOU for existing and making content possible by watching it, leaving a nice comment like that and spread positivity! Really appreciate it 🙂
Thanks for so clear explanation
thanks a ton rraul
@algovibes may ask how in your opinion how much does the streamlit slows down if i would want to do optimization in a df?
Streamlit is great for financial apps. Is it feasible to use it for displaying bot deals or track PNL? A trading frontend maybe, which can save trades to keep a trading journal of some sorts?
Sounds like a good idea! Just for the bigger corporate business world it would be kind of problematic as you would rather use a Dashboard solution from the big tech companies (Power BI, Tableau,...)
Thank you so much for the great content. Can you also show us how to deploy this streamlit app to a VPS?
Thanks for your comment Jerry. Interesting suggestion!
Do you reckon there's any performance value in using raw dictionaries for such dashboard instead of pandas dataframes?
Good question! Unfortunately there is no black or white answer here. This thread discusses it quite nicely:
stackoverflow.com/questions/22084338/pandas-dataframe-performance
To quote the best answer:
"A dict is to a DataFrame as a bicycle is to a car. You can pedal 10 feet on a bicycle faster than you can start a car, get it in gear, etc, etc. But if you need to go a mile, the car wins."
Hi bro...will it be possible for you to do a video on algo trading on Delta exchange to trade in cryto options.. 👍🏽
Will See what I can do! Thanks a lot for the suggestion man. Appreciate it.
Greasaaaaat
Thanks a lot Lorenzo!
great but why results from dcabtc are different?
Maybe different calculation methods but I rather think there is something wrong with the dcabtc calculations. Way too positive/optimistic numbers.
Check out this one:
uphold.com/en-eu/get-started/dollar-cost-averaging-calculator
Nearly the exact same numbers as I got.
@@Algovibes yes, I think that dcabtc is unreal also, thanks for link,I will check it
Frist view 👍
Congrats 👑 Let me know what you think!