Welcome back to the trading bot mini-series. After going over how the general set up and API connection, we can look into developing a trading strategy. Today, I will show you how you can implement the martingale strategies with Alpaca. These strategies can be risky, but since we have unlimited funds with paper trading, I thought it would be fun to go over. In the next video, we will discuss ways to deploy and automate our trading bot in the cloud. That video will conclude this mini-series. Stay tuned for more!
First video Trading Bot video (setup and API connection):
Alpaca documentation:
Social Links:
▶ Github:
▶ Instagram:
Link do Vídeo
i have this message problem : "Martingale" is not defined
can you help me with that
It keeps telling me ‘sell_quantity’ referenced before assignment in line 37, any ideas?
But it’s making orders
"Martingale" object has no attribute "position"? Any idea how to overcome this?
would anyone happen to know how to fix the REST no attribute error?
where can i find code files of this video ??????????
If my robot works well, can I use real money?
Thank you so much for the series! I leaned a lot!
Having a trading plan is essential for every trader. Trading with Mrs Monroe's platform and understanding its unique premise could help you formulate better your own trading plan.
Hi, very good man! Could you please add some indicators calc? Bollinger or RSI . You rocks
Great video, im currently following ur tutorial to make my own trading bot. Waiting for the last part 😁😁
i keep getting TypeError: unsupported operand type(s) for -: 'str' and 'int' for the part where we have to make delta = target – self.position
When will the 3 Viedo be available?
Valuable content! We need part 3
Very nice video, i found oil wit a great trading bot idea. I would appreciate if you would come in touch with me. Best regards from switzerland
L-M
Hi ! Great contents. I have watched the 2 series of your videos, but where is the next series?
Great Video! One of the best I have seen on this topic. Waiting on Part 3!
Davide, this is great. I would be very pleased to see more videos like this one.
Can store your secret key 🔑 and/or token on a separate machine and have python call it when running code?
Awesome video. Would love to see the last part of the series.
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?
great video…. waiting on video 3!!
Nice work bro
Nice vid bro.. hoping to see the 3rd installment soon.. 😁
Thank you, thank you Davide we wait for the next video in the cloud. Very instrutive.
Next part please!
Please upload part 3 soon!
very nice, can you publish next video on the subject?
I get an issue where on line 23, it's telling me the = 0: is a syntax error. Any idea how to fix this?
I came looking for copper, and I found gold.
I truly thank you!
Wating for the next part! Great stuff!
Davide, we need the video brother!
Hello sir a great thanks for the vedio I am from India I want to discuss regarding business with you how can I contact you plz reply 🙏
Really love this series! When is the next video coming out? Can’t wait 😝
hey…. thanks a lot for sharing …. by where is the third video you said?
Great video!
When is the next one coming?
great tutorial , When will next video be uploaded?
Please, how can I make an automated betting bot with python?
I am getting some issues using the martingale line of code. I am new to python and I don't understand what I need to do it says the error is that "martingale" is not defined (for the "class Martingale(object): & t=Martingale() ) and therefore the "t" in the last line isnt defined as well. How can I fix this?
I liked , subbed and also commented on this video so plz keep up the good content. hope you will reach more subz in the future. (Edit:- I sounds like a bot but this is not a spam comment)
📈
The most interesting part will be…… which strategy you plan to implement !
Great work Davide! Hope we can see the final part of this miniseries 🙂
I really love this series, this is gold!
Hi, I'm not sure what the logic in the submit_order function means. Why do you want to buy if delta>0 and sell if delta<0? Looking forward to the third video; thank you!
Great guide, much more straight forward and succinct than some others. At 5:44, as you are writing the buy statement, do you say "if the position is more than 0"? or "lower than 0"? It sounds like more to me, but you write a less than sign at line 29. Should that be reversed to a greater than symbol?
Hi I'm from Brazil. I was looking for videos in python, I found your channel, I've seen other channels showing how to get the shares in Google Finance of any company in the video. of shares of some company, and use your bot to create tests, I believe that a history of 4 years ago, it would be interesting to see how your bot behaves. and teach how to save the company's history in some database. for future testing. here's my suggestion. big hug, I will follow more, another question is, have you ever studied the API of SaxoBank in Denmark? I await your return.
When will next video be uploaded? Very nice tutorial!
Hey Davide, really enjoy your good content! You said, "everytime i run the code, it will execute depending on the condition"..So i need to keep on pressing "run" button for it to run? or it could be automated, too? Thanks for the tutorials 🙂