Build a ChatGPT Trading Bot With Real Time News (Alpaca Markets API / JavaScript)

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 40

  • @HtopSkills
    @HtopSkills 9 місяців тому +5

    This video offers valuable information to start with the Alpaca API.

  • @BeyondPy
    @BeyondPy Рік тому +7

    This is insane, I actually built a full fledged python app on the same exact idea, except I'm scraping the actual new's article (capped at 2500 chracters) and feeding it into chatGPT and providing my own prompt (should I buy/sell) and expect a custom output. I'll then process that and pipeline that into alpaca. Super fun project!

    • @babypandajr172
      @babypandajr172 Рік тому

      @@braeder @hansellcruz777 How are your bots going so far?

    • @boredguy1663
      @boredguy1663 5 місяців тому

      @@braeder What's the rate of success?

    • @braeder
      @braeder 5 місяців тому

      @@boredguy1663 zero percent

    • @braeder
      @braeder 5 місяців тому

      @@boredguy1663 zero. Because it is a hard problem to solve.

    • @TheFootballVib3
      @TheFootballVib3 4 місяці тому +1

      Doesn’t Alpaca only offer 4 day-trades per week? It’s impossible to run a bot with only 4 day trades

  • @areebaabidi7859
    @areebaabidi7859 14 днів тому

    Is there a Canadian version of alpaca?

  • @SadSling
    @SadSling Рік тому +2

    I keep getting this error does anyone have any suggestions?
    {
    error: {
    message: 'You exceeded your current quota, please check your plan and billing details.',
    type: 'insufficient_quota',
    param: null,
    code: null
    }

    • @happyjohn1656
      @happyjohn1656 Рік тому

      Even though I was under my OpenAI cap I was getting this error too, I just generated a new API key and everything began working again.
      5:08 PM
      7/5/2023

    • @doords
      @doords Рік тому

      Did you hit the number of inputs per minute?

  • @raymondjenkins1161
    @raymondjenkins1161 Рік тому +1

    Great video! I keep getting an error that fetch is not defined. I can see the new info in the console log, but the I get the fetch error and no trades occur.

    • @CooperCodes
      @CooperCodes  Рік тому +1

      I believe you need Node.JS 18 (or the latest version) for fetch to work. My bad! I should have mentioned this

  • @AdamDahdah.
    @AdamDahdah. 4 місяці тому +1

    64 line in server js error

  • @RafiDrawingAcademy
    @RafiDrawingAcademy 10 місяців тому

    Beautiful art!

  • @zp1405
    @zp1405 6 місяців тому

    keep getting error reading properties (reading'0') and it may have something to do with it not letting me use openai keys for free fsr but if i increase my limits will it work?

  • @samueljamieson4505
    @samueljamieson4505 6 місяців тому

    Why is it saying my current quota is exceeded and to check my billing plans and details for chatGPT? did the monetize their API?

  • @727iamsam
    @727iamsam Рік тому +1

    Super creative idea- great video!

    • @CooperCodes
      @CooperCodes  Рік тому

      Thank you! Appreciate the comment 😁

  • @wallyd8160
    @wallyd8160 9 місяців тому

    Cool idea. I'm lost though. I know nothing about coding. We went from alpaca to a coding screen? What is the coding screen called? Im guessing just a python library?

  • @carlyparly6633
    @carlyparly6633 Рік тому +2

    Thank you for vid. Just check you delete those API keys. They are exposed now.

    • @CooperCodes
      @CooperCodes  Рік тому +2

      Yup they have been deactivated, thank you for the heads up :) And thank you for your comment and support.

  • @Loui3Hunna
    @Loui3Hunna Рік тому +1

    This project looks 🔥
    Will definitely watch the whole thing when I get home!

    • @CooperCodes
      @CooperCodes  Рік тому

      Really enjoyed making this one, thanks for the support!

    • @Loui3Hunna
      @Loui3Hunna Рік тому

      @@CooperCodes Just watched it and followed along! Cool to learn something other than creating a type of web app.
      I'm wondering if you encountered the error "position not found: {ticker}"? Seems to happen occasionaly which is weird because I can find the ticker in Alpaca app
      Thanks for another great vid anyway

    • @CooperCodes
      @CooperCodes  Рік тому

      It could be that the ticker is for a crypto symbol, and I'm realizing I may have been wrong about buying/selling crypto (they may use different commands). It could also be that you're trying to sell a position of a stock you don't own, which I assumed which just null out (instead of error). If this is causing the error I would put a try / catch statement around the selling call. Hopefully this helps!
      Check this link out for help there: erikmartinjordan.com/continue-execution-try-catch

    • @Loui3Hunna
      @Loui3Hunna Рік тому

      @@CooperCodes I will take a look 😁
      Really appreciate the follow-up btw!

  • @chomok-bd
    @chomok-bd Рік тому

    Creative video. Thanks. Wish to have more videos

    • @CooperCodes
      @CooperCodes  Рік тому

      Thank you for the comment! More stuff on the way :)

  • @mmmar7317
    @mmmar7317 Рік тому

    Nice tech, easy to implement and user friendly.
    Bump comment

  • @stefanianta6962
    @stefanianta6962 Рік тому +2

    Cool Trading bot app! Should be integrated with a Social-AI skills/services mart to get continuous feeds of leading triggers on companies adopting/automating the most performant AI/cloud tech. Maybe that could become an AGI distributed smart market of Skills and Biz.

  • @username_6948
    @username_6948 Рік тому

    nice video🔥🔥

  • @jared6157
    @jared6157 Рік тому +4

    I tried this and it lost me $35k

  • @automioai
    @automioai Рік тому

    I Cant follow all the stuff that is going on brosss jaja, please stop, I need to finish my Solopreneur SaaS Xd.
    Thanks for sharing, Saved for latter😶‍🌫