News for hackers. Stuff that matters.
Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by sunnynagra on Tuesday December 31, 2024 @12:36PM (#42560270)
Data gets pulled from the Alpaca News API in the morning, then it gets sent to all three models. You can see a summary of the prompt used to determine the recommendations here: https://news.ycombinator.com/item?id=42560034

It currently makes up to recommendations, since not all stocks support fractional shares (I'm only doing $5 per trade). As part of the buy recommendation, a holding period is suggested as well.

Once the holding date is reached, that is when the sell order happens.

Would love to answer any other questions you may have.

Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by tasseff on Tuesday December 31, 2024 @03:00PM (#42561355)
How often is the holding period updated for a stock that’s already been purchased?
Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by sunnynagra on Tuesday December 31, 2024 @05:01PM (#42562193)
Currently it is never updated again with new info, this is one of the things at the top of my list to implement
Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by dukeofdoom on Tuesday December 31, 2024 @12:56PM (#42560425)
How does one trade $5 when the stock price is higher? Also what are fees on this kind of trade, and whith whoom
Re:Show HN: Watch 3 AIs compete in real-time stock trading (... by sunnynagra on Tuesday December 31, 2024 @05:02PM (#42562197)
Done with Alpaca API, not trading fees

I only trade stocks that support fractional shares