- Видео 222
- Просмотров 5 318 856
Algovibes
Германия
Добавлен 23 апр 2007
This channel is mainly about Python Coding (and other Data Science relevant programming languages) on topics like Finance, Crypto, Machine Learning and Data Science.
I love to build a community of interested people and exchange with them. Let me know your thoughts in the comments below! I am always thankful for any thoughts - be they critical, constructive, supportive or even funny :-)
My videos on cryptobots and all finance related topics should not be seen as an investment advice. They are about a programmatic approach using Data Science concepts - nothing more than that! Please trade on your own risk.
Be invited to contact me, but please also respect that I cannot answer individual coding questions. All content based questions should be asked in the comment section. I am trying my best to answer them.
Want to support the channel or get access to the Notebooks presented?
Please consider becoming a channel member by clicking the JOIN button above!
I love to build a community of interested people and exchange with them. Let me know your thoughts in the comments below! I am always thankful for any thoughts - be they critical, constructive, supportive or even funny :-)
My videos on cryptobots and all finance related topics should not be seen as an investment advice. They are about a programmatic approach using Data Science concepts - nothing more than that! Please trade on your own risk.
Be invited to contact me, but please also respect that I cannot answer individual coding questions. All content based questions should be asked in the comment section. I am trying my best to answer them.
Want to support the channel or get access to the Notebooks presented?
Please consider becoming a channel member by clicking the JOIN button above!
How To Pull Live OPTION Prices with Python using the Binance API
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!
Check out my website here:
www.pythonforfinance.info
Get access to the Notebooks as well as support the channel by becoming a member here:
Get the Notebook/Source code by becoming a Tier-3 Channel member:
ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
I recommend to watch my Option mini series here:
rucli...
Let me know if that kind of content is interesting for you by dropping a like, comment and share - helps a lot. Thanks!
Check out my website here:
www.pythonforfinance.info
Get access to the Notebooks as well as support the channel by becoming a member here:
Get the Notebook/Source code by becoming a Tier-3 Channel member:
ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
I recommend to watch my Option mini series here:
rucli...
Просмотров: 1 256
Видео
Advanced Portfolio Analysis using Numerical Optimization Algorithms
Просмотров 3,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 тыс.Месяц назад
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,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
Просмотров 5 тыс.2 месяца назад
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,3 тыс.2 месяца назад
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
Просмотров 9 тыс.3 месяца назад
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: ruclip...
Cryptocurrency Market REALTIME Tracking Dashboard [2024 SPECIAL MUST WATCH]
Просмотров 4,4 тыс.3 месяца назад
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: ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin 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]
Просмотров 9 тыс.4 месяца назад
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
Просмотров 8 тыс.4 месяца назад
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: ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin Rayners video: ruclips.net/video/HnNBOReTb8g/видео.html Disclaimer: This video is not an investment advice and is for informatio...
I asked ChatGPT for a WINNING TRADING Strategy - and BACKTESTED it in Python.
Просмотров 6 тыс.4 месяца назад
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
Просмотров 8 тыс.5 месяцев назад
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
Просмотров 16 тыс.5 месяцев назад
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
Просмотров 1,9 тыс.5 месяцев назад
LIFE update from me, briefly sharing my process of building my own website. Check out the website here: pythonforfinance.info Thanks for watching and looking forward to see you in the next videos :-)
How to Track the WHOLE LIVE Cryptomarket 📊 with Python 👨🏾💻
Просмотров 6 тыс.7 месяцев назад
In this video (series) we are screening the whole crypto market LIVE with the goal of tracking cryptocurrency coin real time movements using a live price data stream from the Binance API. Leave a like, comment and share to support me and make future content possible. Thanks! Check out my 9 hour Python for Finance in depth course here: www.udemy.com/course/python-for-finance-and-data-science/?re...
TRACK THE WHOLE CRYPTOMARKET WITH PYTHON [must watch]
Просмотров 5 тыс.8 месяцев назад
TRACK THE WHOLE CRYPTOMARKET WITH PYTHON [must watch]
Mastering Crypto Data Analysis: Uncover Top Movers with Live Price Data!
Просмотров 3,2 тыс.8 месяцев назад
Mastering Crypto Data Analysis: Uncover Top Movers with Live Price Data!
How To Calculate and Analyze HISTORICAL Correlations in Python?
Просмотров 3,3 тыс.9 месяцев назад
How To Calculate and Analyze HISTORICAL Correlations in Python?
Data Science in Finance Community Challenge: Building a Profitable Trading Bot
Просмотров 3,6 тыс.9 месяцев назад
Data Science in Finance Community Challenge: Building a Profitable Trading Bot
How To Build a Live Trading Bot with Python & the Binance API
Просмотров 19 тыс.9 месяцев назад
How To Build a Live Trading Bot with Python & the Binance API
Does a Momentum Trading Strategy generate Alpha? Part II
Просмотров 4,3 тыс.10 месяцев назад
Does a Momentum Trading Strategy generate Alpha? Part II
How to get the Alpha (& Beta) of a Trading Strategy with Python? Part I
Просмотров 4,2 тыс.10 месяцев назад
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,8 тыс.10 месяцев назад
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 тыс.10 месяцев назад
My comprehensive Python for Finance and Data Science course is OUT NOW!
Interactive INVESTMENT PORTFOLIO ANALYSIS with Python and Streamlit
Просмотров 7 тыс.10 месяцев назад
Interactive INVESTMENT PORTFOLIO ANALYSIS with Python and Streamlit
Intraday Cryptocurrency Trading Strategy with Python and Binance
Просмотров 12 тыс.11 месяцев назад
Intraday Cryptocurrency Trading Strategy with Python and Binance
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.II
Просмотров 5 тыс.11 месяцев назад
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 тыс.11 месяцев назад
How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.I
Why learning Data Visualization WITH Python has become POINTLESS [as ChatGPT is taking over]
Просмотров 4,5 тыс.11 месяцев назад
Why learning Data Visualization WITH Python has become POINTLESS [as ChatGPT is taking over]
REVERSAL Trading Strategy on the S&P500 with Python
Просмотров 57 тыс.11 месяцев назад
REVERSAL Trading Strategy on the S&P500 with Python
I have local database table with Symbol, Date, Open, High, Low, Close, Volume columns. getOHLCfromDB(symbol, startdate, enddate) is the fuction which will extract OHLC data. I would like handler to work on extracted dataframe df. Is there possibilities to analysis for my local data.
Hello Algovibes, Great Video, I have tried print('Symbol: '+symbol) print(output.get_analysis().indicators["close"]) for multiple closing price, which works. I wonder if there is any way that I can put the output in dataframe so I could download as csv file in better looking. Like Symbol is first column and Close price is in second column. Now the out put is row by row. Thank you
can i fetch bnf option data?
Which IDE are you using ?
Hi mate, using Jupyter here. Cheers
Which IDE are you using ?
Jupyter
@Algovibes - lovely videos. 💝 BTW, I have tried to use Monte Carlo Simulation using GBM for five Indian stocks (ADANI) - ADANIENT.NS ADANIGREEN.NS ADANIPORTS.NS ADANIPOWER.NS ATGL.NS . Using your vector method I was getting VaR for the portfolio of stocks purchased on daily basis of INR 326.43 (used 5 years historical data, should it matter if it is not 1 year?). Using Monte Carlo Method for combined portfolio after 10000 simulations and using start_price as sum of each of the stock price on last day, I am getting VaR INR 1901, which is more realistic. Can you please do the same exercise in your video using Monte Carlo method?
Interesting suggestion, thx!
Loved your video mate! Thank you
Thank you mate, much appreciated!
Options for crypto are fun but not to the point, please make a video about a strategy betting on the rise of oil and the necessary option to hedge it
Interesting one, thx!
You and Dutch algotrading are the neatest. Thanks a lot
Appreciated!
This is way too OP, normally you have to pay hundreds of dollars a month for an API, but you get all this VALUABLE data for free, insane.
Happy to read! :-)
i'm completely new to algo trading and coding. Can you test an intraday strategy on Backtrader?
Hi mate, already did on one of my videos. Be sure to check out the ones in the Python for Finance playlist. Cheers!
@@Algovibes ok thanks!
why do i get different output, when i use the same code and same symbol (eurusd, 2015-01-01) ? without adding buydate= pd.to_datetime("1900-01-01") if doesnt even work
Thanks so much for the tutorial. Could you please also suggest how to integrate a customized indicator and get results from it using "Trading-ta".
Hey great video, I have been watching your videos for a long time and this is my first time commenting I wanted ask if it's possible to add things like stop loss and take profit etc
Thank you mate! Appreciate your long term support and you leaving a comment. I did stuff like that in previous videos but I keep your suggestion in mind. Until then be invited to check out the vids in both the Python for Finance and cryptobot playlist. Cheers!
@@Algovibes can please send me the link of that video?
now we have to pay licensce for it yes other wise it wont work
hi mate, already provided an alternative free in a follow up video! Be sure to check that out :-)
@@Algovibes sorry bro. thanks a lot man. du bist der beste .......
Bro, just copy and pasted from official doc.
Exactly, that's my source as clearly stated in the description. I did a follow up video going over a strategy so be sure to check that out! Cheers
Isn't this just because somebody wrote these lines of code and put them on the internet in the first place ... then chatGPT comes along and plagiarises / trains on them and it's "cleverness" is how it repackages information from the net as if it had "done" it , itself?
Maybe it does it without my seeing it but when you split the data between train and test, shouldn't you continue to train the model as each day passes? Maybe that is just too time consuming to put into the video.
Can you share the code?
Even better! You can become a member, support the channel and get code access. Check the video description for a link 😊
can you make a video about short squeeze calculation ?
In c++ this monte carlo simulation can be performed at compile time
yessir
Any live trading video. That would be great
Apparently not enough demand for option topics unfortunately
Very good as always. Thanks a lot
thx mate :-)
Thank you for sharing amazing knowledge video
Thanks for watching mate! Appreciate it :-)
Source code?
Hi mate, check the description. In a nutshell: You can support the channel while getting access to the source code - so it's a win win :-) Looking forward to welcome you as a member!
Thanks 😊
Thank you!
Great 😊
Thx mate 🙂
Will there be video of how to trade option with Python includes backtesting? Thanks.
Considering the quite unexpected very low engagement on the video probably not. Thanks for watching mate, appreciate it!
Don't use the library it's a trash just use numpy and build your own
When I try to run the code on the line: if buyprice>=df.iloc[row+k].Low: I get an error: single positional indexer is out-of-bounds Is this a typo on my end somewhere?
If I add some if's to prevent the Index Error the profits data at 23:22 looks the same, but if I change the ticker or the start date it differs from what you have. For example if I change the date like you did for the table at 24:02, the numbers become different. Did you change some additional settings in between these runs or is there a typo or something in the code that I use?
i suppose he will not answer to an old video. here here. had the same indexer-errors. and when using BTC-USD from 2015-01-01 i get different results... strange
Is this code working nowadays? I`m asking because at line 11, python print the message: True, and I had no de data base from selected criptos...
It is working indeed! Maybe double check your code again. Otherwise try to describe your problem as detailed as possible so other people can help out. Thx!
wieder ein grossartiges video. über w_mvp = np.dot(Sinv, one) / np.dot(one.T, np.dot(Sinv, one)) lassen sich bequem die weights des minimum variance portfolios erhalten, wobei one ein einservektor und Sinv die Inverse der Kovarianzmatrix sind. dann kann man bei diesem Punkt starten und nur den oberen ast (die eigentliche ef) zeichnen. danke sehr.
Danke mein Lieber!
great job here
thx mate
this is an opportunity to think about.... i hope i can develop this, thank you and respect from philippines!
Awesome mate, best greetings to Philippines. Definitely a country I missed out on until now!
Spyder is the best of data science? Greetings from Chile
From a viewpoint of today I would say: No. But it's quite a catchy title so I am keeping it as it is 😛
@@Algovibes so what IDE is the best? Thanks
Can we use above strategy to short for one month also after looking for losers of last 12 months
The original academic paper was indeed doing exactly that (WML portfolio -> Winner minus Losers). So go ahead and give it a shot!
My friend fractal must have as a repetition that is independent of time... Do you remember how fractals were found in The BELL companies telephone lines? Entire branches of telephone cables failed in the same order regardless of the amount of power Voltage, Amperage, or the Frequency or Amplitudes which that power conducted at.
Interesting one!
Great video , however, do not use Bitcoin as an example. This digital coin is influenced only by speculation, there is nothing worth on it. Thanks again
Awesome video, keep it up
thx buddy
Is it possible to use one of those strategies for live trading with binance api?
Hey, I ran this, in april 2024, and it says it is performing at a return level of 7.02, as opposed to the S&P500s 2.5 growth. Is this accurate, or have I made a mistake? Thanks
It's incomplete. Where's the last plot?
Great content, thanks for your work! I am struggling with the size of the position for the backtesting. I am trying to risk 1% of the available cash per position so I enter the sl and size = 0.01. However, the risk is completely off and it only risk 0.014% And in your code, you don't enter any size, do you know how much is risked per trade? Would you maybe have a solution please? Thanks for your help!
Thanks for your very clear videos about python and trading. But... I replicated your code but the function to remove the prices before the add date and after the remove date doesn't work. For instance, the ticker CZR is there from the beginning of 2015-01-02 and SBNY has prices all the way to 2023-05-19. Any way to reconcile this? Thanks.
Thank you so much for this video. It really gets me started quickly on Backtrader. I have a couple of strategies I wanted to plug in, but did not want to put them in the cloud because I am going to sell them later. Again, thanks for the Backtrader intro.
Very welcome mate, thanks for dropping a comment!
Is the next video availible?
nope, wasn't getting enough traction so I dropped the series
Great video. helped me a lot in developing my own engine. I did find one bug in the code: "end = str(pd.to_datetime(start) + MonthEnd(0))" gives you the date with time at 00:00:00. Binance however sees 00:00:00 as the start of the day, not the end. When you enter a last date in binance such as 2024-04-04 00:00:00, you will get all data up to that point, resulting in a full day of data missing. fix would be this: end = str(str((pd.Timestamp(start) + pd.offsets.MonthEnd(0)).date()) + " 23:59:59")
kod ile yazdığım rsi ile sitedeki rsi uyuşmuyor
Translator doesn't provide any meaningful. Can you try on formulating it in English? much appreciated ,thx!
Loved your videos, subscribed and now addicted to them. It would have been great to also have considered GBM in your video. May be in future videos.