Building a LIVE Algorithmic Trading Bot with Python, Lumibot and Alpaca: A Step by Step Guide

preview_player
Показать описание
#algotrading #python #tradingbots

How to Code a Trading Bot in Python

Building a LIVE Stock Trading Bot with Python, Lumibot and Alpaca: A Step by Step Guide

✅ Please SUBSCRIBE:

***This video is for educational purposes only. It should not be construed as investment advice.***

Рекомендации по теме
Комментарии
Автор

ok.. I think this is the starting video. I suggest numbering them and tell people in every video that this is a series.

pinecedar
Автор

Great vid, Matt. Question from a non-coder: are you not able to do all of this configuring of your trading strategy logic inside of Alpaca itself?

bigtexnick
Автор

Thanks for sharing Man, keep up the good work

gaurav
Автор

Great tutorial Matt! worked for me…. almost - any ideas why it’s rounding decimals back to whole numbers for fractional trading?

EonEnt
Автор

Thank you for sharing Matt! I have one question - It's very cool to generate a Plotly interactive graph from Lumibot. I wanted to dig into the package and find the code that generated the graph but I couldn't find it. Do you know where in Lumibot embedded this function? It'll be so much easier to leverage it on other data visualization projects.

yuxuanlin
Автор

Finally! i was able to get most of this code work! haha i got all the results you did except no web page opened.. Got this error: ValueError: Cannot set a DataFrame with multiple columns to the single column plotly_text_sells.. but soo much progress lol

shawnholcomb
Автор

Thank you for this video, will a gold tracking bot be in the pipeline for this video series?

mpumisetshedii
Автор

I'm new to coding. I straight up cannot figure out how to get Lumibot available for this program. I went to terminal. Did the pip install. Now what? I cannot find out to actually include it.

mdawg
Автор

hey matt!, loved the video! i have trouble installing pip lumibot. it says there is something wrong with the package itself(not pip). is it possible that lumibot isnt working with my python version (3.12.12)? thank you!

chentomerify
Автор

Hey man! Thanks for the content! I've downloaded your code, set it up, got it up and running, when I run Buy_hold, it opens up my chrome properly and profives the graphs alright, but in my VS terminal I don't get what you call "higher statistics" any clue why?

CreeLegacy
Автор

Thanks for the video.
Any idea please to solve this error :

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
Successfully built aiohttp
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects

ihebbibani
Автор

I'm getting an error which says there isn't enough data to create a tearsheet, but I am able to backtest and get that visualization comparing the BuyHold strategy with SPY. Any idea on how I can fix this?

andrewgreggs
Автор

Can you do a video on different trading strategies?

joshlazor
Автор

if im buying and holidng why is the growth percentage different from the charts?

bf
Автор

With your lumibot examples I'm getting "TypeError: 'Timestamp' object is not subscriptable". Any help appreciated.

zaufall
Автор

tried your code it says No module named 'lumibot' but I installed it, , , could it be that the code never imported lumibot???

waddupitsD
Автор

Hi Matt, thanks for the great video! As someone with little to no programming experience, I am running into problem "ImportError: cannot import name 'ALPACA_CONFIG' from 'config'". I've tried to set up my API credentials into Jupyter txt and py files and cant seem to get it work. Any advice concerning this?

nikopukkila
Автор

After skipping to the end of the video, I found it hilarious that the bot essentially lost money. I likely missed a lot since I only watched the end. However, I’m curious - would you recommend this as a profitable hobby?
I'm looking to spend 1 - 2 hours per day on it. I believe I already know enough web development to carry me through this API with JS & some other tools. However, I can't help but think that it's not worth my time as there's not that much discussion about the profits that people on my level may or may not get.

jcruz
Автор

Hello Matt, How can I download lumibot? I looked online and only see documents for download, if you could please include a link in the bio it would greatly be appreciated!

arnoldbabcock
Автор

Hi, I was following along with the video and when i run the script I am getting this error which then throws alot more other errors:
"GOOG: No data found for this date range, symbol may be delisted"

officialbubies