[HN Gopher] Trading with Claude (and writing your own MCP server)
___________________________________________________________________
Trading with Claude (and writing your own MCP server)
Author : dangelov
Score : 15 points
Date : 2025-05-22 12:59 UTC (3 days ago)
(HTM) web link (dangelov.com)
(TXT) w3m dump (dangelov.com)
| faizshah wrote:
| I've been doing this as well it also works well when you hook it
| up to Edgar or feed in investor relations documents or earnings
| transcripts. You can extract a lot of data at scale for
| regressions using small models with few shot prompts running
| locally.
| whinvik wrote:
| What do you mean by "regressions"?
| peterldowns wrote:
| Great writeup! I was just working at Alpaca --- if you're
| interested in using Alpaca via MCP (or another way of integrating
| with LLMs), reach out with your usecase and I'd be happy to put
| you in touch with the right people.
| dokka wrote:
| I also did this a few months ago using a custom MCP server I
| built for the Alpaca API, the yfinance MCP server, and a reddit
| MCP server, and the "sequential thinking" mcp server. I hade
| claude write a prompt that combined them all together starting
| with checking r/pennystocks for any news, looking up the
| individual ticker symbols with alpaca and yfinance, checking
| account balance and making a trade only if a very particular set
| of criteria was met. I used claude code instead of desktop so
| that I could run it as a cron job, and it all works! I mostly
| built it to see if I could, not for any financial gain. I had it
| paper trading for a few months and it made a 2% profit on 100k. I
| really think someone that knows more about trading could do quite
| well with a setup like this, but it's not for me.
| maxwellg wrote:
| Sometimes Go can get under my skin. The MCP SDK makes you jump
| through all these hoops to configure tools according to a JSON
| schema, but when it comes to handling the actual request you need
| to deal with parsing everything again out of a `map[string]any`.
| It's such a pain to need to reach for codegen all the time.
___________________________________________________________________
(page generated 2025-05-25 23:00 UTC)