Algovibes
Algovibes
  • 224
  • 5 400 994
Deep Dive into Uniswap: Liquidity Pool Pricing & Transaction Data with Python
In this video I am going over the principles of Decentralized Finance (DeFi) and Decentralized Exchanges (DEX) and explain the price building mechanism (via smart contracts) in Liquidity Pools. Finally I am going over some queries (with Python & graphQL) to pull data from Uniswap - the world's biggest DEX.
The topic is highly relevant - if you are interested in digging deeper into the field let me know below!
Want to master Python for Finance?
Check out my website here:
www.pythonforfinance.info
Get the Notebook/Source code by becoming a Tier-3 Channel member:
ua-cam.com/channels/87aeHqMrlR6ED0w2SVi5nw.htmljoin
Disclaimer: This video is not an investment advice and is for informational and educational purposes only.
00:00 - 04:48 DeFi, DEX and Liquidity Pools
04:48 - 09:50 Uniswap (Tokens,Pools,Transactions)
09:50 - 19:15 Uniswap API / GraphQL queries
#uniswap #pythonprogramming #crypto #cryptocurrency #graphQL #dataanalytics #data #Defi #decentralized #decentralizedfinance
Переглядів: 2 047

Відео

Python for Finance for ABSOLUTE beginners in just 10 minutes
Переглядів 3,6 тис.Місяць тому
In this video I am breaking down the essentials of Python for Finance in just 10 minutes. Want to master Python for Finance? Check out my website here: www.pythonforfinance.info Get the Notebook/Source code by becoming a Tier-3 Channel member: ua-cam.com/channels/87aeHqMrlR6ED0w2SVi5nw.htmljoin Disclaimer: This video is not an investment advice and is for informational and educational purposes ...
How to pull live option prices with Python (Code Included)
Переглядів 1,8 тис.Місяць тому
In this video we are going to pull option metrics from the Binance Websocket API. In specific we pull the whole option chain for Bitcoin including all expiries, strike prices as well as pulling the greeks (delta, gamma, Vega,...) for a specific option (defined expiry/strike). Let me know if that kind of content is interesting for you by dropping a like, comment and share - helps a lot. Thanks! ...
The Ultimate Guide To Numerical Optimization For Portfolio Management
Переглядів 3,6 тис.2 місяці тому
In this video I am going over implementing advanced Portfolio Analysis using Numerical Optimization Algorithms. Use-case here is constructing the Efficient Frontier of the Dow Jones Industrial Average. (30 assets). I am recapping the previous (iterative) approach, going over the optimization conditions such as constraints and bounds and then coding the optimization in Python. There are a ton of...
How To Price Options with Python (P.II) Puts and Put-Call-Parity
Переглядів 2,2 тис.3 місяці тому
In this video i am going over put options, moneyness of put options and how they work in terms of payout. I am also covering the important topic of absence of arbitrage due to the Put-Call-Parity. After going over the basics I am covering coding a simple Put option price calculator in Python as well as showcase the Put-Call-Parity of a Call and Put option. Let me know if that topic is relevant/...
I got DESTROYED by a Cambridge Modern Portfolio Theory Test - Can you do better?
Переглядів 1,5 тис.3 місяці тому
I am just kidding in the title, these are pretty good questions in the field of Modern Portfolio Theory - I had a ton of fun and hope you have as well :-) Let me know how much you have solved below! Check out my comprehensive Python for Finance course here: www.pythonforfinance.info Cambridge test/credits: www.cambridge.org/ve/files/3813/7943/0724/Ch3Quiz.pdf Support the channel before its too ...
Option Basics and How To Price Options with Python
Переглядів 6 тис.3 місяці тому
In this video i am going over the basics of what is an option, how it works and what Moneyness (in the money, at the money, out of the money) means. After going over the basics I am covering coding a simple Call option price calculator in Python. Let me know if that topic is relevant/interesting for you, there is way way more to cover! (e.g. calculating implied vol, problems with put options, o...
Tradingbot Simulation in Python [Beginner friendly]
Переглядів 3,6 тис.3 місяці тому
In this vid I am going over constructing a Tradingbot simulation in Python. The idea is to pull the live data (bitcoin realtime price) via websocket and apply a simple logic to the data stream. Therefore I am setting an initial price and timestamp reference which is being updated every n seconds/minutes. My website: www.pythonforfinance.info Get the Notebook/Source code by becoming a Tier-3 Cha...
Trading Strategy implemented in Python based on ST momentum and TSL
Переглядів 10 тис.4 місяці тому
This video is showing a Trading Strategy on Cryptocurrencies in specific Bitcoin and ETH leveraging short term momentum and trailing stop losses showing interesting results including trading fees. The video goes over explaining the strategy and building and backtesting it step by step. My website: www.pythonforfinance.info Get the Notebook/Source code by becoming a Tier-3 Channel member: ua-cam...
Cryptocurrency Market REALTIME Tracking Dashboard [2024 SPECIAL MUST WATCH]
Переглядів 4,8 тис.5 місяців тому
Happy new year all! 🧨 Go make this possible! :)) Check out my website here: www.pythonforfinance.info Get the Notebook/Source code by becoming a Tier-3 Channel member: ua-cam.com/channels/87aeHqMrlR6ED0w2SVi5nw.htmljoin Disclaimer: This video is not an investment advice and is for informational and educational purposes only. #Python #crypto #dataanalytics
REALTIME pull and analyze over 450 Coins with Python [SUPER SIMPLE & EFFICIENT]
Переглядів 10 тис.5 місяців тому
In this video we are pulling realtime ALL tradeable cryptocurrency prices using the Binance websocket API, do some data manipulations and store it in a live updating csv file. Afterwards we are doing some Data Analysis on the live data. If you enjoyed hit like, comment and share please. Thank you :-) Check out my website here: www.pythonforfinance.info Get the Notebook/Source code by becoming a...
Backtesting Rayner Teos 26,210% Turtle Trading Strategy in Python
Переглядів 9 тис.6 місяців тому
In this video we are testing the Enhanced Turtle Trading Strategy presented by Rayner Teo in Python. Check out my website here: www.pythonforfinance.info Get the Notebook/Source code by becoming a Tier-3 Channel member: ua-cam.com/channels/87aeHqMrlR6ED0w2SVi5nw.htmljoin Rayners video: ua-cam.com/video/HnNBOReTb8g/v-deo.html Disclaimer: This video is not an investment advice and is for informat...
I asked ChatGPT for a WINNING TRADING Strategy - and BACKTESTED it in Python.
Переглядів 6 тис.6 місяців тому
In this video I am going over a Trading recommendation from Chat-GPT when asking it to provide me an Algorithmic Trading Strategy. I am going over coding it in Python and we are also taking a look at the results to see if the recommended trading strategy was feasible. The strategy in a nutshell is a RSI / Bollinger Band mean-reversion strategy on Bitcoin and the 1-hour timeframe. Let me know if...
Simple Trading Strategy on Bitcoin with Python FULL walkthrough
Переглядів 9 тис.6 місяців тому
This video is an in depth Python tutorial and discussion around a very simple short term momentum/reversal Trading strategy on Bitcoin in 2023. We are doing the full chain of setting up the strategy by pulling the data via the Binance API, do the right data manipulations and calculations, generating the signals using an iterative approach, playaround with some parameter tuning and discuss downs...
How to pull REALTIME Cryptocurrency Prices with Python [FOR FREE] using the Binance API
Переглядів 20 тис.7 місяців тому
In this video we are pulling realtime cryptocurrency prices (Bitcoin, Ethereum,...) using the Binance websocket API. As I did it in the previous video using a certain library which is not free anymore I thought its a value add to provide you a way free of charge. Hit like, comment and share please. Thank you :-) Check out my website here: www.pythonforfinance.info Get the Notebook/Source code b...
I Built a Website with ZERO Web Development Skills
Переглядів 2 тис.7 місяців тому
I Built a Website with ZERO Web Development Skills
How to Track the WHOLE LIVE Cryptomarket 📊 with Python 👨🏾‍💻
Переглядів 6 тис.9 місяців тому
How to Track the WHOLE LIVE Cryptomarket 📊 with Python 👨🏾‍💻
TRACK THE WHOLE CRYPTOMARKET WITH PYTHON [must watch]
Переглядів 6 тис.10 місяців тому
TRACK THE WHOLE CRYPTOMARKET WITH PYTHON [must watch]
Mastering Crypto Data Analysis: Uncover Top Movers with Live Price Data!
Переглядів 3,2 тис.10 місяців тому
Mastering Crypto Data Analysis: Uncover Top Movers with Live Price Data!
How To Calculate and Analyze HISTORICAL Correlations in Python?
Переглядів 3,5 тис.10 місяців тому
How To Calculate and Analyze HISTORICAL Correlations in Python?
Data Science in Finance Community Challenge: Building a Profitable Trading Bot
Переглядів 3,7 тис.10 місяців тому
Data Science in Finance Community Challenge: Building a Profitable Trading Bot
How To Build a Live Trading Bot with Python & the Binance API
Переглядів 21 тис.11 місяців тому
How To Build a Live Trading Bot with Python & the Binance API
Does a Momentum Trading Strategy generate Alpha? Part II
Переглядів 4,5 тис.11 місяців тому
Does a Momentum Trading Strategy generate Alpha? Part II
How to get the Alpha (& Beta) of a Trading Strategy with Python? Part I
Переглядів 4,4 тис.11 місяців тому
How to get the Alpha (& Beta) of a Trading Strategy with Python? Part I
The Truth YOU don't WANT to hear but NEED to hear 🙉
Переглядів 3,9 тис.11 місяців тому
The Truth YOU don't WANT to hear but NEED to hear 🙉
My comprehensive Python for Finance and Data Science course is OUT NOW!
Переглядів 390 тис.Рік тому
My comprehensive Python for Finance and Data Science course is OUT NOW!
Interactive INVESTMENT PORTFOLIO ANALYSIS with Python and Streamlit
Переглядів 7 тис.Рік тому
Interactive INVESTMENT PORTFOLIO ANALYSIS with Python and Streamlit
Intraday Cryptocurrency Trading Strategy with Python and Binance
Переглядів 13 тис.Рік тому
Intraday Cryptocurrency Trading Strategy with Python and Binance
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.II
Переглядів 5 тис.Рік тому
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.II
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.I
Переглядів 8 тис.Рік тому
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.I

КОМЕНТАРІ

  • @bestfriendbat
    @bestfriendbat 5 годин тому

    Thanks for the video! btw, how do you handle dividend and split if you just append new row into the db?

  • @tayaamme9954
    @tayaamme9954 21 годину тому

    Always like your videos. Looking forward for the follow up video.

  • @paulnitz8368
    @paulnitz8368 День тому

    “Beginner friendly?” …. Hmm…. Pretty sharp beginners

  • @user-hz7nn1rv3t
    @user-hz7nn1rv3t 2 дні тому

    Hello sir you really did a nice work I want to connect with you how can I could you send me your email so that I can connect with you .

  • @user-hz7nn1rv3t
    @user-hz7nn1rv3t 2 дні тому

    Hello sir you really did a nice work I want to connect with you how can I could you send me your email so that I can connect with you .

  • @tud.149
    @tud.149 3 дні тому

    Error! An error occurred: (sqlite3.OperationalError) near "BTCUSDT": syntax error ,when I execute the command line In[6] pd.read_sql('BTCUSDT',engine) , tell me why, please, thanks!

  • @rsrare
    @rsrare 11 днів тому

    8:19 your simplified version of filtering by specifying difference of 100 is good for this specific price chart. To make it fit any chart i need to use author's approach, or you have something similar?

  • @charlycharly2565
    @charlycharly2565 13 днів тому

    What is the Skript used for and what is the console used for? I don’t understand the purpose

  • @X_x_kingfisher_x_X
    @X_x_kingfisher_x_X 13 днів тому

    Bro Salam!! If you go to the chart of a coin pair in Binance, there is a tab "Info", in it the first Data is " Rank", how can i access that with python binance??

  • @PsiBot
    @PsiBot 13 днів тому

    Which theme are you using in JN?

  • @workwork6375
    @workwork6375 14 днів тому

    where we can get the code?

    • @Algovibes
      @Algovibes 13 днів тому

      By becoming a channel member! :-) ua-cam.com/channels/87aeHqMrlR6ED0w2SVi5nw.htmljoin

  • @Random_work822
    @Random_work822 16 днів тому

    can you make a complete video on backtesting with stop loss and take profit

    • @Algovibes
      @Algovibes 13 днів тому

      Already have some in place mate. Be invited to check out my other videos!

  • @havinh4133
    @havinh4133 16 днів тому

    Hi friends, I almost done everything based on your tutor. However, on GCP, after the nohup line, the code seems run and stop immediately without any error showing. For this particular reason, I have faced on local computer, which was solved quickly by using code "ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})". But on google compute engine, it does not work. Pls let me know any advice? Thanks

  • @gianfrancosilvestri2155
    @gianfrancosilvestri2155 16 днів тому

    After several tries I eventually understood liquidity pools thanks to your video! Please, go on, if you will: there is a lot to learn out there! i.e. flash loans and swaps...

    • @Algovibes
      @Algovibes 13 днів тому

      Awesome. Thank you mate!

  • @Grafflog
    @Grafflog 17 днів тому

    Great work! Would be interested in seeing how one can use that information to make trades, what kind of information can be used for algorithmic trading and so on..

    • @Algovibes
      @Algovibes 13 днів тому

      Thank you mate! :-)

  • @ShrikanthKrish
    @ShrikanthKrish 17 днів тому

    Heyy there dont stop with two vedio

    • @Algovibes
      @Algovibes 16 днів тому

      Would love to continue on options but there is simply no demand. I might give it another shot in the near future though.

  • @crashx5717
    @crashx5717 17 днів тому

    Im trying this on VScode but it doesnt Load it up properly im guessing codes have to be written differently anybody having the same issue?

    • @Algovibes
      @Algovibes 13 днів тому

      hmmm, need more info - where do you get stuck?

  • @its_code
    @its_code 17 днів тому

    ❤❤❤❤😊

  • @walteroliseneku4805
    @walteroliseneku4805 18 днів тому

    I am interested in building Arbitrage python script

  • @axelerer5683
    @axelerer5683 18 днів тому

    *❤️❤️For eight years, I poured my heart into trading, hoping it would bring a better life. Then, last year, I made the best decision of my life. In just six months, everything changed. I bought a 2 million-dollar house. It still feels unreal, but it's proof that bold steps can lead to incredible outcomes*

    • @Abijan2
      @Abijan2 18 днів тому

      Your trading journey has been quite a ride. When things don't go as planned, it's human nature to seek alternatives. What did you find in your search for better returns?

    • @axelerer5683
      @axelerer5683 18 днів тому

      I have realised the power of copy trading as one of the best approach to systematic change.

    • @elenawells9002
      @elenawells9002 18 днів тому

      Please how do you go about the copytrading. I would love to know how to reach out to the person in charge of your own copytrade.

    • @axelerer5683
      @axelerer5683 18 днів тому

      He's mostly on telegrams using the user name

    • @axelerer5683
      @axelerer5683 18 днів тому

      @Menon10

  • @hechter80
    @hechter80 18 днів тому

    TVL of 500mio is nothing for institutional player. They move that in 1 minute. Markets are way to small, but technically very impressive 👍😎

  • @elu1
    @elu1 18 днів тому

    Thanks for this topic. A nice way to begin to understand the future of finance. Use-case of doing pooling? for people like me who never did anything on crypto but is wondering on the door steps this helps a lot.

    • @Algovibes
      @Algovibes 17 днів тому

      welcome mate! Happy you are excited about this as well

  • @0xLDC
    @0xLDC 18 днів тому

    It's always a pleasure to watch your videos... keep going! 💪

  • @amothe83
    @amothe83 18 днів тому

    Great work Algovibes

  • @MovingMountainsMotivation
    @MovingMountainsMotivation 18 днів тому

    Are there any APIs for other DEXs like Raydium for SOL or pancake for BNB? Would be nice to pull data from several DEXs. Thanks! Great video as always.

    • @Algovibes
      @Algovibes 18 днів тому

      Thank you mate. Yes there are!

    • @MovingMountainsMotivation
      @MovingMountainsMotivation 16 днів тому

      @@Algovibes What are the names for those APIs? I haven't been able to find any. Thanks!

  • @kcnl2522
    @kcnl2522 18 днів тому

    Cool video, thanks man!

  • @Algovibes
    @Algovibes 18 днів тому

    Needed to do an amendment to the video as UA-cam couldn't encode it properly. I apologize for the inconvenience and hope you are as excited as I am about the topic!

  • @quanxinyan3369
    @quanxinyan3369 19 днів тому

    I have one issue while running ws.run_forever(), the output is "True" instead of the real-time values, anyone having the same issue here? I am using exactly the same code as the video shows, and I am pretty sure the code are correct, but idk why i do not have any output

  • @X_x_kingfisher_x_X
    @X_x_kingfisher_x_X 20 днів тому

    Salam bro!! How do i pull out current crypto ranks from binance with python? Or from any other reliable site?

    • @Algovibes
      @Algovibes 18 днів тому

      Salam :-) What do you mean with ranks?

    • @X_x_kingfisher_x_X
      @X_x_kingfisher_x_X 18 днів тому

      @@Algovibes If you go to the coin pairs there is a tab named 'info' and within this tab there is 'rank', i wanted to get that.

  • @gusmaca7957
    @gusmaca7957 21 день тому

    Great video. You have an error in the code where it says df['ret'] > 0.01, it should say df['ret'] < -0.01.

  • @sonic7even
    @sonic7even 25 днів тому

    Where do i send the code for you?

  • @vinuvillan80
    @vinuvillan80 25 днів тому

    I request you to make this on Indian markets too 🙌

  • @Asparuh.Emilov
    @Asparuh.Emilov 26 днів тому

    I am so grateful for the amazingly useful coding tips and tricks! Just one thing probably to consider is that the trailing stop should track the lows of the candles instead of their close, since in reality if the wick of candle hits the stop loss you would be out of the position.

  • @Stivent-S.
    @Stivent-S. 28 днів тому

    Hi man, first of all, thanks for sharing, very smart you! Do you have any video where you explain how to take only coins that have changed X percentage of price according to the time frame we prefer?

    • @Algovibes
      @Algovibes 22 дні тому

      Thanks for watching mate! Yes, I covered that in the past. Don't have the video at hand right now but just browse through the cryptobot playlist. You should find something there, cheers :-)

  • @georgezii1081
    @georgezii1081 Місяць тому

    I personally prefer doing a direction * ret.shift(1) when calculating rets.

    • @Algovibes
      @Algovibes 28 днів тому

      whatever gets the job done :-)

  • @multicart
    @multicart Місяць тому

    Is it possible to make a code program that will buy and sell currency on the exchange every second?

  • @Stivent-S.
    @Stivent-S. Місяць тому

    Super great video! does anyone know why it does not call or recognize the module "binance.futures" when I run the code in the terminal?

  • @Stivent-S.
    @Stivent-S. Місяць тому

    Super great video! does anyone know why it does not call or recognize the module "binance.futures" when I run the code in the terminal?

  • @simondechoisy779
    @simondechoisy779 Місяць тому

    Definitely be interested in seeing this without any survivorship bias

    • @Algovibes
      @Algovibes 28 днів тому

      Already did it! Be invited to check it out :-)

  • @munivoltarc
    @munivoltarc Місяць тому

    I saw many algo trading programmers in youtube channel are doing the code using price lagging indicators to create a trading strategy it often worst strategy gives loss only, can you please do some price action trading strategies at least so that many are eagerly waiting guys like you to explain price action coding using paython.

  • @jyothivasantavada5319
    @jyothivasantavada5319 Місяць тому

    after browsing many, i found this is more effective

    • @Algovibes
      @Algovibes 28 днів тому

      happy to read, thx for your feedback :-)

  • @cybervigilante
    @cybervigilante Місяць тому

    I was using Jupyter Notebook and it kept asking for a password, for which you have to go through hoops. So I fixed that in Configuration. That lasted for three sessions then it wanted a password again. Really annoying so I deleted it. Geez, I'm just doing programming at home. I don't need all this security crap. That should be an Option. Trying Spyder now. It seems pretty good. Although you can't pin it to the windows taskbar for some odd reason.

  • @blakeramsey3373
    @blakeramsey3373 Місяць тому

    Very well made and explained

    • @Algovibes
      @Algovibes 28 днів тому

      thank you mate, appreciate your comment

  • @aarondelarosa3146
    @aarondelarosa3146 Місяць тому

    I can´ t get the plot. Plot can't be executed. Something is wrong.

  • @victorbarbe2856
    @victorbarbe2856 Місяць тому

    Why the price is not ecaxly the same if i look at the binance website at the same time?

  • @bs2671
    @bs2671 Місяць тому

    I have tryed to run Websocket code following your intructions but at the end instead of showing realtime prices as in your video I only get "True". any advice ...I have followed instructions step by step ... so I do not understand ... please help if you can Thank You