How to Code a Crypto Trading Bot in Python

  Рет қаралды 14,172

datadrivendecisions

datadrivendecisions

Күн бұрын

Пікірлер: 58
@pochl.614
@pochl.614 3 жыл бұрын
Hi, great video! But shouldn't your trading logic be another way round? I thought we're supposed to buy (enter a position) when cmo < oversold_value and sell (close the position) when cmo > overbought value?
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Yes you're absolutely right Poch! I'll be addressing this in my next video :) I've finished writing all of the code and I'll be publishing my video of the Terraform deployment with $500 to play with!
@wieowe
@wieowe 3 жыл бұрын
Absolutely love your presentation style! It's informative, at the right pace, you show your thought process and all of that with a good sense of humor. Looking forward to a part 2!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you very much Gideon! Part two is in progress so sit tight! Let me know if there’s anything you’d like me to explain in more detail
@karolinasowinska
@karolinasowinska 3 жыл бұрын
Great energy and content! Keep it up!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you for your help and advice on navigating KZbin Karolina!
@ananthrao7802
@ananthrao7802 3 жыл бұрын
Great to have discovered you sir! Thanks for sharing your knowledge
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you Ananth! I look forward to sharing more knowledge with you 🔥🚀
@samanthawise9958
@samanthawise9958 3 жыл бұрын
Looking forward to part 2!!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you Samantha! Can’t wait to get it online 🚀
@ricardomarchao5435
@ricardomarchao5435 3 жыл бұрын
great vibes! ...the backtest doesn't beat the benchmark on absolute returns, but may beat the benchmark on sharpe ratio or sortino, kalmar ratio...a higher sharpe ratio than the benchmark, for example, means you can use leverage to get the same absolute returns as the benchmark with less risk
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
This is true! I forgot about the important of those ratios in the video! You would definitely be taking on some more risk with that leverage as well!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Yo - quick update. I got the graph working (had my axis set from -10 to 10 and had my initial capital at 1000 lol) and I've fixed a bug in the requirements file which would've slowed you down in the venv creation. The README has also been updated with clearer instructions to help you get started! Let me know if you have anymore questions. Part two coming this month!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Hey everyone! Part two is coming in May where we're going to go over how to optimise your trading strategies before deploying the bot into an AWS account. Leave a comment if there's anything specific that you'd like me to cover in these videos. Thanks for all of the support!
@trin7286
@trin7286 3 жыл бұрын
The vdo is well made. well done mate. 71 subscriber :)
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you! Welcome to the show
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thanks for watching! Let me know if you've got any questions! 00:00 - Intro 02:30 - Background Theory 04:57 - Backtesting Engine 13:14 - Calculating CMO 22:55 - Trading Logic 30:20 - Outro
@wesley12271
@wesley12271 3 жыл бұрын
This vid is fire, count me in, the 64th sub
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you Wesley! Looking forward to sharing part two and more with you soon!
@futbolfan3803
@futbolfan3803 3 жыл бұрын
Please go over the 'part 0' where you set up everything if you get the chance, thanks very much! :)
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Hey Futbol Fan, here is the part 0 for the setup! kzbin.info/www/bejne/pmbKfaalmZmgq8k
@futbolfan3803
@futbolfan3803 3 жыл бұрын
@@datadrivendecisions0 Ah of course, thanks very much I don't know how I missed that haha!
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
No problem! Let me know if you’ve got any other questions
@futbolfan3803
@futbolfan3803 3 жыл бұрын
Would love to hear about your 'value bet' identification Python algorithm :) Great video
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Definitely coming in a future video! I've spent two years on that project and I'm keen to share what I've learned
@futbolfan3803
@futbolfan3803 3 жыл бұрын
@@datadrivendecisions0 Fantastic, can't wait! :)
@albertdiezhandino7072
@albertdiezhandino7072 2 жыл бұрын
great video....lets see part 2]
@bhavaybsingla
@bhavaybsingla 2 жыл бұрын
can we please get a part 0 of this video.. would really love to learn the basics from you❣
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
There’s a part 0 on my channel! Check it out
@ludefi2465
@ludefi2465 8 ай бұрын
Thank you for the video. Does this work only with spot trading or can we use it to create bots for futures trading (with leverage)? (In binance, poloniex, etc…)
@franciscoFEUP
@franciscoFEUP 3 жыл бұрын
Hi Can you please make a video helping how to setup Pycharm and to download and install gemini through Pip. I'm also using macOs. Thanks
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Absolutely Francisco - I'm currently editing a video introducing a new project (a Spotify ETL data pipeline), so I'll shoot the setup video for you after I've realised that video!
@jeepjr
@jeepjr 3 жыл бұрын
congratulations on the channel and video, I wanted your contact because I am wanting to set up a grid robot that will act according to RSI would have and have the function of dragging upwards?
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you Dimitry! What’s a grid robot? And what do you mean that the function drags upwards?
@max_bb921
@max_bb921 3 жыл бұрын
love it
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
Thank you!
@patrickwalsh1154
@patrickwalsh1154 Жыл бұрын
Hello, great videos! I'm running the code in a Windows environment but am receiving this error: in _get_single_key raise OptionError("Pattern matched multiple keys") pandas._config.config.OptionError: Pattern matched multiple keys Would you have any ideas on this? Thank you for your time.
@kevinfernandez315
@kevinfernandez315 2 жыл бұрын
Initially tried following along, and noticed my graph doesn't output trading data for cmo. I then decided to clone the repo, and when I run backtesting.py the same issue arises. No trades ever get made, total trades are always zero, although there are enough funds. Anyone got any pointers as to why?
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
What’s your error message?
@abhinavslohiya1422
@abhinavslohiya1422 2 жыл бұрын
I am trying to get the data in the backtesting part, but it keeps saying "No module named scipy"
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
pip install scipy?
@elitedragon6716
@elitedragon6716 3 жыл бұрын
Im having problems installing gemini can anyone help me?
@alaaismail4666
@alaaismail4666 3 жыл бұрын
how can i use Backtesting Engine on Binance?
@datadrivendecisions0
@datadrivendecisions0 3 жыл бұрын
You'll have to pull a dataframe from Binance that replicates the one that is being passed through the engine in the video. But you don't need any sort of authentication to use Gemini so you can use it to backtest and then write your trading logic using the Binance API :)
@alaaismail4666
@alaaismail4666 3 жыл бұрын
@@datadrivendecisions0 Thanks
@himanshurathod9094
@himanshurathod9094 2 жыл бұрын
Anyone is a coding programmer i need urgent
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
What's up?
@antiporfavor
@antiporfavor 2 жыл бұрын
Thank you so much for you patience and great knowledge!! I have 1 main issue on this code, even though I follow you in every single step: The program does not generate an html file with the graph. Therefore, I can not see the info displayed. Can all this be because I'm working with pyhton 3.8 instead of 3.6 like you do? Thank you!
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
That’s built by the Gemini package, make sure you’ve got the latest version! It’s also worth playing with the repo by itself to get a sample html graph too
@CarlosHernandez-bu4uv
@CarlosHernandez-bu4uv 2 жыл бұрын
que es crypto_trading_bot_local.imi?
@datadrivendecisions0
@datadrivendecisions0 2 жыл бұрын
donde es crypto_trading_bot_local.imi?
Crypto Trading Bot in Python For Coinbase
25:08
NeuralNine
Рет қаралды 65 М.
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 82 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 53 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 44 МЛН
AI can't cross this line and we don't know why.
24:07
Welch Labs
Рет қаралды 459 М.
I Built A Crypto Trading Bot And Gave It $1000 To Trade!
10:25
Hallden
Рет қаралды 1,2 МЛН
How To Backtest A Trading Strategy in Python
21:00
CodeTrading
Рет қаралды 58 М.
Supertrend 4 - CCXT Crypto Bot - Order Execution with Python
34:05
Part Time Larry
Рет қаралды 56 М.
Predicting Crypto Prices in Python
31:31
NeuralNine
Рет қаралды 129 М.
Cursor AI tutorial for beginners
40:35
Greg Isenberg
Рет қаралды 54 М.
learn to HACK (the best way) // ft. John Hammond
2:27:51
NetworkChuck
Рет қаралды 1,3 МЛН
Ex-NSA hacker tools for real world pentesting
1:16:40
David Bombal
Рет қаралды 1,1 МЛН