I Built a Trading Bot with ChatGPT

I gave ChatGPT $2000 to invest with and in this video i'll explain how we built the trading algorithm and what the returns looked like after 24 hours of live trading. First, a disclaimer – Do NOT invest any money in any type of trading bot or algorithmic engine that you are not willing to lose. I gave this trading bot $2000 because I was willing to lose $2000 to make a great video for my AI Wizards out there. ChatGPT is unique in its capabilities as a large language model because of its ability to remember the context of of a conversation. This AI is helping me build MVPs a lot faster and I want us all to take part in this revolution. The tools used in this tutorial are the Alpaca API for live trading data, Python for Programming, FinRL for Deep Reinforcement Learning and Vercel for live deployment. Let me know what you think in the comments and if you want to see more videos like this.

Code for this video:

Please Subscribe! That's what keeps me going.

Want more AI/ML education? Connect with me here:
Twitter:
Instagram:
Facebook:
Linkedin:

Join our discord:

Watch ChatGPT Build an AI Startup:

Watch ChatGPT Build a Finance Startup:

Watch Me Build a Startup Playllist:

Learn Machine Learning in 3 Months:
Join my AI community: Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):

Joe Lilli
 

  • @morekaccino says:

    thank you for including the result here at the end of the video.

  • @marcomaiocchi5808 says:

    I am so glad I kept following your social media accounts until now. This is such great content. Glad you back posting.

  • @pavelgrishin says:

    Hey, 4 trades is not enough. Let it trade in real time for at least 1000 trades over various stocks/coins. Then we can call it a positive/negative experience. Currently it’s nothing.

    • @SirajRaval says:

      Good point

    • @heinrich6294 says:

      What is with buy/sell fees per transaction?

    • @6lack5ushi says:

      @@heinrich6294skip this video, waste o time.

    • @donathanharris7296 says:

      I know you’re right, but i couldn’t stop laughing thinking what its like being a child in your house. “oh you got a trophy? talk to me about DOING YOUR JOB WHEN YOU’RE THE #1 DRAFT PICK! right now, its nothing. have you submitted your fun/chores/study algo yet for review with acceptable objectives and timelines? oh and you’re 2 yrs old, its now past time you receive a negative reinforcement conditioning now every time you wet your bed. you will be docked privileges such as food, toys, sleep, etc. you will be billed for soiling/damages/replacement of supplies taken from your college fund. you will now be up for weekly review. your siblings were all subjected to it and its a standard in the Grisham household. yes, im aware you only THINK you have one sister…. that is all.”

      yes…. i could see it now… 😂😂😂😂

  • @alexiades says:

    Great to see you again Siraj!

  • @moonraker2114 says:

    My goodness! This is just amazing! thank you this tutorial. Bless you more.

  • @DeepFrydTurd says:

    This dude throws so much info at you it’s insane 🤙🙂

    • @CactusPete says:

      as I was watching this I thought need to rewatch at a slower speed, or with lots of pause/rewind. I work in software IT but I am not a developer. I work with lots of them so understand most of this but not apps/sites I normally work with….First video I have watched from Siraj and had to subscribe. Smart guy , good at explaining , just a lot of info in short timeframe..

    • @kyle88ss says:

      He’s a complete and utter poser.

  • @yaochenliao7869 says:

    Thank you for the presentation. It’s awesome and I love it! 😃

  • @Brockman369 says:

    this video was awesome are reminding me that as a normal person I know basically nothing about computers and coding but yet I couldn’t stop watching. Good job

  • @seanv2710 says:

    Hey Siraj! That’s for a great video. I am going to spend some time learning more about this (you were faster than I could absorb it). Thank you!

  • @stevenjje says:

    Just discovered your channel and love it!! Keep up the great work!!

  • @kugantechfin_wizards says:

    This is amazing Siraj…keep up the good work!

  • @cassiethacancer1978 says:

    I AM COMPLETELY NEW TO STOCKS AND AI BOTS AND YOUR LESSONS ARE IMPECCABLE. Please get back with me I would love to learn. Oh, and keep the videos coming😊

  • @ExxonMobilCompany says:

    Several of the biggest market experts have been voicing their opinions on exactly how awful they think the next downturn would be, and how far equities may have to go, as recession draws closer and inflation continues well above the Fed’s 2% objective. I’m trying to build a portfolio of at least $850k by the time I’m 60, therefore I need suggestions on what investments to make.

    • @marcelrobert9569 says:

      There are many other interesting stocks in many industries that you might follow. You don’t have to act on every forecast, so I’ll suggest that you work with a financial advisor who can help you choose the best times to purchase and sell the shares or ETFs you want to acquire.

    • @charlotteflair1043 says:

      @@marcelrobert9569 I’ve been in touch with a financial analyst ever since I started my business. Knowing today’s culture The challenge is knowing when to purchase or sell when investing in trending stocks, which is pretty simple. On my portfolio, which has grown over $900k in a little over a year, my adviser chooses entry and exit orders.

    • @charlotteflair1043 says:

      @@henryCliffordJames I happen to know “Julie Anne Hoover. She has been my fin coach since 2018, no major losses has been recorded. Totally recommend her too.

    • @obodoaghahenry9297 says:

      @@charlotteflair1043 Thank you for this tip. it was easy to find your coach. Did my due diligence on her before scheduling a phone call with her. She seems proficient considering her resume.

    • @Bbones05 says:

      Hi, this market may seem volatile but I could get you on a call with a Forbes CFA and discuss your current financial situation, risk tolerance and financial goals, the best of the best, working for you for all your financial needs, let me know otherwise happy investing!

  • @foxusmusicus2929 says:

    congratulations for your 750.000 subscribers 🙂 just took a screenshot of it. I am looking forward to the 1.000.000. You are amazing 🙂

  • @genavazquez2943 says:

    I just sold a property in Portland and I’m thinking to put the cash in stocks, I know everyone is saying its ripe enough, but Is this a good time to buy stocks? How long until a full recovery? How are other people in the same market raking in over $200k gains with months, I’m really just confused at this point.

    • @masontaghavi9430 says:

      Yes, a good number of folks are raking in huge 6 figure gains in this downtrend, but such strategies are mostly successfully executed by folks with in depth market knowledge

    • @genavazquez2943 says:

      How can I participate in this? I sincerely aspire to establish a secure financlal future and am eager to participate. Who is the driving force behind your success?

    • @genavazquez2943 says:

      I just googled him and I’m really impressed with his credentials; I reached out to him since I need all the assistance I can get. I just scheduled a call.

    • @linknero1 says:

      Study A LOT or don’t even try it. Trading is absolutly risky.

    • @Revo15Official says:

      SCAMMER!! Stay away from posts like these

  • @Jakekhalid32 says:

    Which Financial professional Do you work with or is best suitable to work with, You seem to be doing well in this ?

    • @Windarti30 says:

      Financial professionals like John Desmond Heppolette often bring a wealth of knowledge and experience to the table, helping clients develop and implement sound financial strategies tailored to their specific needs and goals. It’s crucial for individuals to recognize the importance of seeking expert advice, particularly when it comes to managing investments and mitigating risks….

    • @Jakekhalid32 says:

      John Desmond Heppolette truly appears to be knowledgeable in this field. After conducting a Google search of his full names, I thoroughly reviewed his web page, including his resume, and qualifications, which were truly impressive. I took the initiative to leave him a note and have booked a call session with him….

    • @laughitout1331 says:

      Chat GPT also talking to itself on this comment section. 😂😂😂

    • @cc-tb3st says:

      Oh my God I can’t wait to find this guy that everyone’s so talking about in this chat. Can I give him all my money and he makes me a millionaire and all I have to do is ship coconut water on the beach?

    • @Nitroat-xo4tj says:

      scammers

  • @user-su7wd3sb1q says:

    This is such great content. Glad you back

  • @MartinsB-dj7vd says:

    Watching the crypto market’s ups and downs shows how quickly things can change. In crypto, strategic, informed trading isn’t a choice; it’s a must. Remember, caution is as crucial as ambition here. This dedication to continuous learning is inspiring…managed to grow a nest egg of around $20k in Bitcoin to a decent $76k… I’m especially grateful to John Zevr Crypto

  • @DeborahPruett-qp2my says:

    Thanks for continuing updates I’d rather trade the stock market as it’s more profitable. I make an average of $34,500 per week even though I barely trade myself.

    • @NicholasWestrick says:

      Trading without professional guide… Huh I laugh you, because you will remain where you are or even make huge losses that will stop you from trading, this has been one of the biggest problem to new traders

    • @AriasNguyen says:

      Mrs Sonia Dixon was my hope during the ‘bear summer’ last year. I did so many mistakes but also learned so much from it, and of course from Sonia Dixon.

    • @Malacho-gw8nj says:

      the first step to successful investing is figuring out your goals and risk tolerance either on your own or with the help of a financial professional but is very advisable you make use of a professional.

    • @user-il6bn3qp2y says:

      She is my family’s personal broker and also a personal broker in many families I’m United States, she’s a licensed broker and a FINRA AGENT in United states

    • @MariaJanne-yu1gs says:

      Wow. I’m a bit perplexed seeing Sonia Dixon name been mentioned here also. Didn’t know she has been good to so many people.

  • @ravanbashirov says:

    I will be forever grateful to you, you changed my whole life and I will continue to preach on your behalf for the whole world to hear you saved me from huge financial debt with just a small investment, thank you Alice Brown

    • @KingSley-wv8te says:

      Wow. I’m a bit perplexed seeing her been mentioned here also Didn’t know she has been good to so many people too this is wonderful, I’m in my fifth trade with her and it has been super.

    • @coeihdeuejife says:

      She is my family’s personal broker and also a personal broker in many families I’m United States, she’s a licensed broker and a FINRA AGENT in United states.

    • @ChristianMark-gh8wi says:

      Isn’t that the same Alice brown that my neighbors are talking about, she has to be a perfect expert for people to talk about her so well. I’m new at this, please how can I reach her?

    • @rosediana4137 says:

      As a beginner what do I need to do? How can I invest, on which platform? If you know any please share.

    • @gregmarshall8134 says:

      Really you people know her? I was even thinking that I’m the only one she has helped walk through the fears and falls of trading.

  • >