AlgoTrading For Beginners - Full Course in Python

  Рет қаралды 58,749

Chad Thackray

Chad Thackray

Күн бұрын

Пікірлер: 69
@ChadThackray
@ChadThackray 3 жыл бұрын
FAQs: How accurate is Binance testnet data? The Binance testnet is just that, a testnet to get started. Prices can be wildly off from actual live trading. Use real API keys generated from your Binance account to get true market data and properly test your algos. Problems with VectorBt: - Make sure that you're using python 3.9 or lower. VectorBt does not currently play well with python 3.10
@Paparychter
@Paparychter 3 жыл бұрын
Hello Chad! Solid video tutorials you definitely sir are undervalued for your tutorials. Would I be able to chat with you via email or wherever you prefer to talk more regarding live data metrics built on a software.
@ChadThackray
@ChadThackray 3 жыл бұрын
@@Paparychter Hey there! You can email me at chad@greyhoundanalytics.com. Or use the contact form on my site
@sheldonstclair371
@sheldonstclair371 2 жыл бұрын
really glad for you chad. took your paid course last year and thought it was excellent. i never coded in python before and was able to create log charts. this weekend will be spent going through your algotrade bot video. i currently trade cryptos using macd and rsi indicators. really excited about this weekend
@digitalmarketingreviews1592
@digitalmarketingreviews1592 6 ай бұрын
Hi Chad, I found your channel by chance... i would like to automate my trading and remove emotions, i have no coding experience... dont even know what an enviroment is, lol. anyways thanks for the vid, i will figure it out as i am excited to learn how to trade using code
@muratpinkman9679
@muratpinkman9679 2 жыл бұрын
Cheers Mate ! Very Helpful
@kavereon
@kavereon 3 жыл бұрын
Amazing tutorial! I thought it would be much more complicated to get started than it actually is. It's a great starting point and I'm having fun experimenting with the design.
@liamhoward2208
@liamhoward2208 2 жыл бұрын
@ anyone interested1:30:26 don't forget to import the time package for the sleeper in the try/catch block. import time
@RELAXISLANDS
@RELAXISLANDS Жыл бұрын
Thanks for your contribution,You really went above and beyond!
@amirlanwer129
@amirlanwer129 2 жыл бұрын
it was very helpful, thank you man
@Ellixist
@Ellixist 3 жыл бұрын
Would you do an in depth tutorial on VectorBT? Multiple conditions for entry and multi time frame for example. Thanks and great video!
@ChadThackray
@ChadThackray 3 жыл бұрын
I'll add it to my list
@Ellixist
@Ellixist 3 жыл бұрын
@@ChadThackray Thank you!
@theus_mago
@theus_mago 3 жыл бұрын
I was going to ask the same thing. An in depth vectorbt video would be amazing, it's such a powerful library!
@GodX36999
@GodX36999 2 жыл бұрын
Yeah it’s so great . I’m looking forward for the same things, more strategy, timeframe, connect API for auto trading and so on. Hopefully you open an online course for that. Thanks so much
@thinketh2408
@thinketh2408 2 жыл бұрын
​@@ChadThackray thanks chad ... it would be great help ...
@Glaszg
@Glaszg Жыл бұрын
Great video! I was looking for a starting point in algo trading and looks like I just found it on this channel!
@daymaker_trading
@daymaker_trading 3 жыл бұрын
Thank you so much for posting this video and sharing your knowledge
@mandi4820
@mandi4820 2 жыл бұрын
Hey, I need to ask you something I want to use bid/ask walls as entry points for my strategy: Entry = limit buy just above bid wall Exit = stop limit sell above Entry Or Entry = limit sell just below ask wall Exit = stop limit buy below Entry I can do this manually but automating it has been an absolute headache Can you by chance refer me to a tutorial, article or doc that might help with this? If you've got a video on it even better!
@rizamojedqaramaliki7701
@rizamojedqaramaliki7701 2 жыл бұрын
Looking forward to this, Thanks a lot.
@christian_available
@christian_available Жыл бұрын
1:13:48 it's pronounced K-lines btw, not as one syllable. A Japanese guy invented candlestick charts. Kabushiki is Japanese for stock
@ChadThackray
@ChadThackray Жыл бұрын
learn something new every day!
@aman4434
@aman4434 3 жыл бұрын
Looking forward to this! Thanks! When will be next update on the data science course do you think?
@beindependent6054
@beindependent6054 2 жыл бұрын
Very good sir
@vahiddabbagh6794
@vahiddabbagh6794 Жыл бұрын
Great video thanks for it
@MrLunary
@MrLunary Жыл бұрын
Noice. Subscribed.
@jessojoy8899
@jessojoy8899 2 жыл бұрын
Can you make a video how to do multi time frame analysis with vectorbt?
@ChadThackray
@ChadThackray 2 жыл бұрын
My next video is on vbt and will cover this. Should be released in a week or two
@jessojoy8899
@jessojoy8899 2 жыл бұрын
@@ChadThackray Thank you,I have been able to do it in backtrader, but getting stuck in vectorbt.does it involve looping through df and aggregating previous x bars for signal generation?
@pagevpetty
@pagevpetty 2 жыл бұрын
57:48 where did that code come from? It doesn't look like what we have been working on and I can't find it in your github code.
@ChadThackray
@ChadThackray 2 жыл бұрын
It's the code from the first section of the video. Looks like I used my example version rather than the tutorial.py that we made in the tutorial. But should be almost exactly the same. The code is in the blog post and there's a github link at the bottom
@pagevpetty
@pagevpetty 2 жыл бұрын
@@ChadThackray Ok, thanks!
@viper7882
@viper7882 2 жыл бұрын
Hi Chad, thank you for the great sharing. The data scalping blog post seems to hit 404 error. You might want to check it out if it has been moved, deleted or archived
@ChadThackray
@ChadThackray 2 жыл бұрын
Thanks, fixed the link
@liamhoward2208
@liamhoward2208 2 жыл бұрын
Hey Chad, great content! Where does the benchmark return % come from?
@michaelnovik270
@michaelnovik270 3 жыл бұрын
That's really great tutorial! I have only watched and tried backtesting with VectorBT faced some issues with that lib on Windows10. Some functions are just not working and return AttributeError. pf = vbt.Portfolio.from_signals(btc_price, rsi_entry, rsi_exit) pf.plot().show() >>> AttributeError: 'Portfolio' object has no attribute 'plot' Same error with "rsi_crossed_below()" and "macd_crossed_below()" for example. However "rsi_below()" and other 'not crossed' functions are working well. Shoud note that on MacOs all working smooth, no troubles at all.
@ChadThackray
@ChadThackray 3 жыл бұрын
Thank you for the detailed report. After some digging around and testing on my windows laptop I believe it's a problem with the python version. VectorBt is apparently only compatible with python
@michaelnovik270
@michaelnovik270 3 жыл бұрын
@@ChadThackray Oh that is the problem. On Windows I have python 3.10.1 installed. Thank you for help!
@rajapandey2039
@rajapandey2039 2 жыл бұрын
can you make a video on algo trading from local computer, ie without using cloud? Also will it be possible to run your algo on an android smartphone?
@ChadThackray
@ChadThackray 2 жыл бұрын
You can just run the program on your computer the same as you would on the cloud machine. If you ever lose power or internet access though you won't be able to manage your positions! You could theoretically run algos on an android phone. But I really wouldn't recommend it as if you run out of battery you could lose lots of money. It would be a better idea to run the bot in the cloud and use your phone to control/monitor it
@rajapandey2039
@rajapandey2039 2 жыл бұрын
@@ChadThackray thanks man
@bryan-9742
@bryan-9742 2 жыл бұрын
Quick Qustion. Why not import the secret keys as a module? also when I attempted your method I received, UndefinedValueError: API_KEY not found. Declare it as envvar or define a default value. when I used config from the env.txt file. (I stored my binance api and secret key there as instructed and made the configuration call and received the error). I didn't create a virtual env though however I wouldn't think that should be an issue. BTW Thank you so much for your Video!! Very informative.
@pagevpetty
@pagevpetty 2 жыл бұрын
How do we check the timestamp unit? and what are the acceptable syntax options? Only "ns", "ms",and "s" or are there more. I put seconds and start and end for 1 month, but it only shows me every minute of one day. Is it the freq=1D? Do I need to change that or what?
@ChadThackray
@ChadThackray 2 жыл бұрын
I'm fairly sure it won't work for anything less than 1minute. If you need data more granular than that you'll have to get tick data and aggregate it yourself
@pagevpetty
@pagevpetty 2 жыл бұрын
@@ChadThackray thank you so much for your response! Actually, I wanted it to show data from more than one day, one day at a time, not minutes of one day.
@pagevpetty
@pagevpetty 2 жыл бұрын
@@ChadThackray Oh, I think I just needed to change the step.
@masoud603
@masoud603 2 жыл бұрын
great videos. thanks. can you please tell why you didn't use "yfinance" to scrape data?because yfinance is very easy and clean. is data getting from yfinance incorrect?
@ChadThackray
@ChadThackray 2 жыл бұрын
Yfinance works well for daily data. For smaller timeframes it can often be a bit off, so getting prices directly from an exchange can be better
@rolandonwa2369
@rolandonwa2369 Ай бұрын
If I turn off my laptop is it going to continue runung on the cloud? if it will not run, how can I set it or which cloud will I use even if I turn off my sysstem it will still be runing
@ChadThackray
@ChadThackray Ай бұрын
Yes if you deploy it to the cloud it will run regardless of what you do on your own computer as long as you don't run it interactively just in your shell
@rolandonwa2369
@rolandonwa2369 Ай бұрын
@ChadThackray I'm still confuse, you mean once I run the code in the terminal and turn off my laptop, the bot will buy and sell according to my strategy right?
@ChadThackray
@ChadThackray Ай бұрын
@@rolandonwa2369 I'm not sure I can explain this to you here. Try it for yourself, rent a server and see what happens
@rolandonwa2369
@rolandonwa2369 Ай бұрын
@@ChadThackray Do you which server dat can do it?
@helpimlost137
@helpimlost137 2 жыл бұрын
It doesn't look like a logs folder or file was created in the virtual machine when running the bot.
@autarko
@autarko 2 жыл бұрын
Great video. I'm following it right now. Just having a problem getting it to read the API_KEY. I get the error: API_KEY not found. Declare it as envvar or define a default value.
@ChadThackray
@ChadThackray 2 жыл бұрын
Do you have the .env file in the same folder? There should be a line in it like: API_KEY=your_key Watch for capitalization and whatnot If that doesn't work just hard-code your API_KEY value in by setting the variable in python
@autarko
@autarko 2 жыл бұрын
@@ChadThackray Yes I ended up hard coding it in python. I'll research it another time. Priority now is to develop a profitable strategy. Thanks for your help.
@amjoode2
@amjoode2 Жыл бұрын
do trading bots really work? I am someone who is trying to create a bot based on my trading strategies, but I'm somewhat skeptical as sometimes the bots does not catch opportunities that humans can..
@ChadThackray
@ChadThackray Жыл бұрын
It varies a lot depending on your circumstances. For some it works well, for others manual trading is better. And for some they should not trade at all
@jontycraine4903
@jontycraine4903 3 жыл бұрын
Great vid
@useless_deno
@useless_deno 2 ай бұрын
The link for the data is not working anymore
@ChadThackray
@ChadThackray 2 ай бұрын
Yeah sadly I think bitstamp has changed their API. For my newer videos I'll try and avoid relying on external services to fix this issue.
@paul180472
@paul180472 2 жыл бұрын
I made a bot and I get banned on binance. What to put the time interval that would not be banned?
@ChadThackray
@ChadThackray 2 жыл бұрын
Depends on how many requests you're making. But just for a few assets 1 request / second should be fine. I've generally found binance to be generous with their limits If you find you're getting banned or need more data, then you'll want to use websockets, store the data in your own DB, and query it from there.
@Highlandcorp
@Highlandcorp 3 жыл бұрын
dammit im not first but this is super exciting!
@michaelcarnevale5620
@michaelcarnevale5620 Жыл бұрын
text editing in VIM!!!
@bryan-9742
@bryan-9742 2 жыл бұрын
The only critique is I wish this guy would finish his functions first and write clearnly. He's a bit all over the place
@АлександрРусаков-в4с
@АлександрРусаков-в4с 4 ай бұрын
Taylor Amy Gonzalez Edward Gonzalez Angela
@ihebbibani7122
@ihebbibani7122 2 жыл бұрын
what's this ? there are too much adds. It will make more sense if you put an add after each section at least not along an explanation.
TimescaleDB for Algotrading - Full course in Python
1:17:08
Chad Thackray
Рет қаралды 20 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Backtesting.py - Full course in python
1:09:34
Chad Thackray
Рет қаралды 208 М.
How Financial Firms Actually Make Money
22:40
QuantPy
Рет қаралды 379 М.
Auto-detect Support and Resistance in Python
17:06
Chad Thackray
Рет қаралды 24 М.
I Built A Crypto Trading Bot And Gave It $1000 To Trade!
10:25
Hallden
Рет қаралды 1,2 МЛН
Break and Retest Trading Strategy (For Beginners)
30:11
Rayner Teo
Рет қаралды 127 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН