After watching your series of videos in this tutorial - i came to the conclusion just to let it buy when the coin is oversold and manually sell again whenever i feel the profits fair :-) ty for the content! im new to this API, JS and Py stuff - but i actually understood alot after doing what you did in the series!
Great video series, I circled back to this series a year later to make minor updates to my trading bot. I do wish we could have gotten the RSI indicator to appear on the chart built over the course of the series...I've spent a while trying to add it to mine with no luck. On the bright side I learned a lot thanks to these videos and exploring even further trying to make it work! Great Series! Maybe one day you'll show us how to add RSI to the lightweight chart?
Thank you for such a wonderful content. I had no prior knowledge of python but able to follow along a build a web app through this series. Now i am stuck at plotting the real time RSI indicator graph below the real time candle stick chart. I think the last part of this series is missing, could we get a video on ploting RSI graph as well?
Hi, learning a lot, thank you for those videos and for sharing the knowledge. Also it's a total fun when you're extracting crypto's 2020 prices in 2021 😃
Hey Larry, I have one question: how should one handle the fact that the binance WebSocket disconnects after 24 hours? I imagine that the best solution is to intentionally disconnect and reconnect after 23:59 hours from initial connection, but because I have a running log of open positions, I believe this would require writing the log to disk, and then reading it after having reconnected. Is there a more elegant way to handle this? (PS: I use python :D)
Thanks for the awesome video series!! I had none coding experience before this series, really learned a lot. And got the app working, although spent 7 hours trying to install ta-lib :/
Hello, First of all I would like to thank you for your very useful videos. I followed your code, but the plot does not show up at 4:28 in the video. I have tried many things, I reinstalled matplotlib v.3.2.2, and also I tried to install the backtrader from the source code, but no luck. Could you please help me to figure out what could be the issue?
matplotlib newest version dont work correctly have bugs. downgrade to version 3.2.2 so run in terminal (1=pip uninstall matplotlib and them 2= pip install matplotlib==3.2.2)
Hey guys, when I try to 'pip install matplotlib==3.2.2' it draws a Running setup.py install for matplotlib ... error... running python 3.9 on mac.. please help
Man I loved watching your series but this video lol c'mon; I mean, we were constructing all the way around to make an app to operate in binance and then in this class you use almost 20 min to teach use a backtesting tool haha. I mean, backtesting is easily done in tradingview's pine script so I don't see much of a point here. Anyways, the other 8 classes were wonderful. Thank you very much!
Tradingview backtesting is heavily limited. even using the premium account it only allows 20k bars to backtest with. useless. try backtesting using excel, it will take hours to perform all necessary calculations to optimise the strategy when using a large data set.
Great series. I would like to know how this could be modified to swap coins rather than buying and selling for stable or USD each time like on OKX. Also, I'm sure somewhere in your videos you show how to make this always startup and run say on a Linux system if the system goes down but I can't find it.
Awesome video. Thank you for teaching more on the backtrader usage. Would it be difficult to use one of your candlestick pattern detection, such as engulfing from your videos with backtrader?
hey! I had an interesting problem... the stategy open a buy position when a new day started...and same with selling. how and why? I did excatly the same as Larry.
I don't believe there was ever a part 10 here, I think I finished this series by making the "Real Time Ethereum Websockets Bot" video and that was it for the Binance series.
Hey Larry, I just want to say THANK YOU! for your videos. I am just getting into building automated platforms and your content is invaluable. Just a couple of, umm, quick requests if I may. Would it be possible to have a video on setting up visual studio code? I've constantly been using Spyder and.. its okay, though I think I would prefer VSC. Also, this might be impossible, lol.. but any chance for an LSTM or other machine learning videos? My idea is to use indicators, LSTM, and sentiment analysis to judge whether or not it would be a good time to buy and sell. Who knows, either I'll get insanely rich or loose all $100.
Hello everyone, I am using the Binance API, have set up the websocket connection and I get the normal data delivery of 1 second frequency. I would however like to get less frequent information (every minute) instead. How can I slow down this data delivery rate? I seem to not find this option in the Binance API documentation? Thank you in advance
Larry, how could you make backtrader buy and sell live? I mean, it's intended to work as a one time thing with datafeed, not to keep running continuously, or would you rather to just use it to backtest then just make a live trading one instead recycling backtrader? I would like your insights on this
4:26 I can't seem to get past this part, even with the exact same code and csv file. ValueError: Maximum allowed size exceeded" Edit: When trying on a different laptop, python tries indefinitely booting up taking up all of the laptop's application memory.
i watched the full series and he used the binance API to get the data. it is pretty surprising that binance gives it for free. (his account is verified, I don't know whether it matters or not!)
# If your can't download matplotlib3.2.2 on macos download it to you hd: github.com/matplotlib/matplotlib/archive/v3.2.2.tar.gz # Unpack, go to folder in terminal, and enter: 'python3 -mpip install .' # Enjoy
After watching your series of videos in this tutorial - i came to the conclusion just to let it buy when the coin is oversold and manually sell again whenever i feel the profits fair :-) ty for the content! im new to this API, JS and Py stuff - but i actually understood alot after doing what you did in the series!
Is therea a Part 10?
Hi Larry, fantastic series - loving it! New to python and I'm finding it really useful. Cheers!
Great video series, I circled back to this series a year later to make minor updates to my trading bot. I do wish we could have gotten the RSI indicator to appear on the chart built over the course of the series...I've spent a while trying to add it to mine with no luck. On the bright side I learned a lot thanks to these videos and exploring even further trying to make it work! Great Series! Maybe one day you'll show us how to add RSI to the lightweight chart?
I get this error when I run backtest.py at 4:17 "AttributeError: 'Cerebro' object has no attribute '_exactbars' "
Thank you for such a wonderful content. I had no prior knowledge of python but able to follow along a build a web app through this series. Now i am stuck at plotting the real time RSI indicator graph below the real time candle stick chart. I think the last part of this series is missing, could we get a video on ploting RSI graph as well?
Hi, learning a lot, thank you for those videos and for sharing the knowledge. Also it's a total fun when you're extracting crypto's 2020 prices in 2021 😃
Hey Larry, I have one question: how should one handle the fact that the binance WebSocket disconnects after 24 hours? I imagine that the best solution is to intentionally disconnect and reconnect after 23:59 hours from initial connection, but because I have a running log of open positions, I believe this would require writing the log to disk, and then reading it after having reconnected. Is there a more elegant way to handle this? (PS: I use python :D)
Love the videos! Where is the video that shows how the user plugs in the settings for the RSI? I am assuming you use jquery?
this backtrader section of the series is the most interesting.
Thanks for the awesome video series!! I had none coding experience before this series, really learned a lot. And got the app working, although spent 7 hours trying to install ta-lib :/
Awesome, cool that this is one of your first coding projects :)
Try vectorbt far advanced & easy to use.
I followed the 15 Mintures strategy , but buy / sell signal didn't show at all.
Hello, First of all I would like to thank you for your very useful videos.
I followed your code, but the plot does not show up at 4:28 in the video.
I have tried many things, I reinstalled matplotlib v.3.2.2, and also I tried to install the backtrader from the source code, but no luck.
Could you please help me to figure out what could be the issue?
matplotlib newest version dont work correctly have bugs. downgrade to version 3.2.2 so run in terminal (1=pip uninstall matplotlib and them 2= pip install matplotlib==3.2.2)
Hey guys, when I try to 'pip install matplotlib==3.2.2' it draws a Running setup.py install for matplotlib ... error... running python 3.9 on mac.. please help
Man I loved watching your series but this video lol c'mon; I mean, we were constructing all the way around to make an app to operate in binance and then in this class you use almost 20 min to teach use a backtesting tool haha. I mean, backtesting is easily done in tradingview's pine script so I don't see much of a point here. Anyways, the other 8 classes were wonderful. Thank you very much!
Tradingview backtesting is heavily limited. even using the premium account it only allows 20k bars to backtest with. useless. try backtesting using excel, it will take hours to perform all necessary calculations to optimise the strategy when using a large data set.
How do you code a stop loss trigger?
Great series. I would like to know how this could be modified to swap coins rather than buying and selling for stable or USD each time like on OKX. Also, I'm sure somewhere in your videos you show how to make this always startup and run say on a Linux system if the system goes down but I can't find it.
Awesome video. Thank you for teaching more on the backtrader usage. Would it be difficult to use one of your candlestick pattern detection, such as engulfing from your videos with backtrader?
hey!
I had an interesting problem...
the stategy open a buy position when a new day started...and same with selling.
how and why? I did excatly the same as Larry.
It will be nice to do the same with IEX and Plotly. Great videos.
I agree
Am I going mad or is Binance API Tutorial (Part 10) no longer in the video library? Please add it back Larry if you removed it🙏
I don't believe there was ever a part 10 here, I think I finished this series by making the "Real Time Ethereum Websockets Bot" video and that was it for the Binance series.
hi Larry. when im trying date time 2023 for 15mins candlestick it wont show arrows and the other thing but when im trying your dates it works
Anyway to implement the backtrader into a web app?(make a page in our application for backtesting)
Hey Larry, I just want to say THANK YOU! for your videos. I am just getting into building automated platforms and your content is invaluable. Just a couple of, umm, quick requests if I may. Would it be possible to have a video on setting up visual studio code? I've constantly been using Spyder and.. its okay, though I think I would prefer VSC. Also, this might be impossible, lol.. but any chance for an LSTM or other machine learning videos?
My idea is to use indicators, LSTM, and sentiment analysis to judge whether or not it would be a good time to buy and sell. Who knows, either I'll get insanely rich or loose all $100.
sounds like a plan
how did it go
very good job.. thank you
Hello everyone,
I am using the Binance API, have set up the websocket connection and I get the normal data delivery of 1 second frequency. I would however like to get less frequent information (every minute) instead. How can I slow down this data delivery rate? I seem to not find this option in the Binance API documentation?
Thank you in advance
Try running the websocket on a different thread and checking whenever you want with a sleep(x_seconds) loop
reading the file with backtrader I have this error: "IndexError: list index out of range"
Larry, how could you make backtrader buy and sell live? I mean, it's intended to work as a one time thing with datafeed, not to keep running continuously, or would you rather to just use it to backtest then just make a live trading one instead recycling backtrader? I would like your insights on this
4:26
I can't seem to get past this part, even with the exact same code and csv file.
ValueError: Maximum allowed size exceeded"
Edit: When trying on a different laptop, python tries indefinitely booting up taking up all of the laptop's application memory.
@Amol Sidhu I tried for a long time, could never figure it out. I even matched lib and python versions with him.
@Amol Sidhu But yeah I have the same problem as you
You have to install the following:
pip install backtrader
pip install backtrader[plotting]
pip install matplotlib
From where you got the feed (.csv) for bitcoin historic data? Binance is providing that for free?
i watched the full series and he used the binance API to get the data. it is pretty surprising that binance gives it for free. (his account is verified, I don't know whether it matters or not!)
thanks for everything
Offer a tip jar for Crypto. Don't mind throwing a few beers for your content.
i can't install TA-Lib.
Anyone else get TypeError: module() takes at most 2 arguments (3 given)? pls help
did you figure it out?
copy and paste the RSI Strategy class out of larry's source code and use that instead. probably just a typo somewhere, worked for me
good to know but same things work on bitfinex exchange pretty well
Is it possible to add rsi, sma, ema etc. plot to tradingview free chart?
yup ;)
Maybe address that just buying and holding would have resulted in +100% return, instead of 50% return...
New video tutorial: never sell bitcoin
@@parttimelarry Such a missed Rickroll opportunity.
# If your can't download matplotlib3.2.2 on macos download it to you hd: github.com/matplotlib/matplotlib/archive/v3.2.2.tar.gz
# Unpack, go to folder in terminal, and enter: 'python3 -mpip install .'
# Enjoy
'pip3 install matplotlib==3.2.2' should work.
Is there anyone who can explain to me the way the RSI works?
I do the calculations on paper and talk about this in the real time trading bot under 100 lines of code video