frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Trading with Claude, and writing your own MCP server

https://dangelov.com/blog/trading-with-claude/
32•dangelov•3d ago

Comments

faizshah•3h ago
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•2h ago
What do you mean by "regressions"?
peterldowns•3h ago
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•3h ago
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.
duggan•28m ago
Did you benchmark it against holding the same value in S&P 500 or similar ETF over the same period?
maxwellg•2h ago
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.
UltraSane•1h ago
Go is pretty miserable for dealing with JSON compared to Python
shibayu36•53m ago
I recently built an MCP server in Go too, so the use cases and implementation guide were very helpful, thank you.
drob518•37m ago
Yikes! I can only imagine an LLM hallucinating my portfolio to zero.

Ten Years of JSON Web Token and Preparing for the Future

https://self-issued.info/?p=2708
52•mooreds•2h ago•4 comments

Open Source Society University – Path to a free self-taught education in CS

https://github.com/ossu/computer-science
184•saikatsg•8h ago•84 comments

Ask HN: What are you working on? (May 2025)

118•david927•5h ago•368 comments

Plwm – An X11 window manager written in Prolog

https://github.com/Seeker04/plwm
142•jedeusus•7h ago•31 comments

Lottie is an open format for animated vector graphics

https://lottie.github.io/
248•marcodiego•10h ago•110 comments

You Can Choose Tools That Make You Happy

https://borretti.me/article/you-can-choose-tools-that-make-you-happy
18•zdw•3d ago•1 comments

Writing your own CUPS printer driver in 100 lines of Python (2018)

https://behind.pretix.eu/2018/01/20/cups-driver/
140•todsacerdoti•9h ago•15 comments

Chomsky on what ChatGPT is good for (2023)

https://chomsky.info/20230503-2/
118•mef•8h ago•155 comments

Claude 4 System Card

https://simonwillison.net/2025/May/25/claude-4-system-card/
538•pvg•19h ago•211 comments

Lisping at JPL (2002)

https://flownet.com/gat/jpl-lisp.html
106•adityaathalye•3d ago•29 comments

Trading with Claude, and writing your own MCP server

https://dangelov.com/blog/trading-with-claude/
32•dangelov•3d ago•9 comments

Koog, a Kotlin-based framework to build and run Al agents in idiomatic Kotlin

https://github.com/JetBrains/koog
44•prof18•3d ago•3 comments

Design Pressure: The Invisible Hand That Shapes Your Code

https://hynek.me/talks/design-pressure/
132•NeutralForest•11h ago•39 comments

Show HN: Zli – A Batteries-Included CLI Framework for Zig

https://github.com/xcaeser/zli
64•caeser•8h ago•32 comments

Writing a Self-Mutating x86_64 C Program (2013)

https://ephemeral.cx/2013/12/writing-a-self-mutating-x86_64-c-program/
72•kepler471•8h ago•22 comments

Show HN: DaedalOS – Desktop Environment in the Browser

https://github.com/DustinBrett/daedalOS
119•DustinBrett•9h ago•25 comments

CAPTCHAs are over (in ticketing)

https://behind.pretix.eu/2025/05/23/captchas-are-over/
112•pabs3•1d ago•155 comments

Denmark to raise retirement age to 70

https://www.telegraph.co.uk/world-news/2025/05/23/denmark-raise-retirement-age-70/
281•wslh•8h ago•690 comments

Tariffs in American History

https://imprimis.hillsdale.edu/tariffs-in-american-history/
85•smitty1e•1d ago•117 comments

Wrench Attacks: Physical attacks targeting cryptocurrency users (2024) [pdf]

https://drops.dagstuhl.de/storage/00lipics/lipics-vol316-aft2024/LIPIcs.AFT.2024.24/LIPIcs.AFT.2024.24.pdf
94•pulisse•13h ago•75 comments

We broke down the Sam Altman and Jony Ive video

https://sfstandard.com/2025/05/23/sam-altman-jony-ive-video/
48•herbertl•2h ago•20 comments

Advice to Tenstorrent

https://github.com/geohot/tt-tiny
27•lexoj•3h ago•17 comments

Martin (YC S23) Is Hiring Founding AI/Product Engineers to Build a Better Siri

https://www.ycombinator.com/companies/martin/jobs
1•darweenist•8h ago

Is TfL losing the battle against heat on the Victoria line?

https://www.swlondoner.co.uk/news/16052025-is-tfl-losing-the-battle-against-heat-on-the-victoria-line
74•zeristor•16h ago•133 comments

Fanaka – a handbook for African success in the international software industry

https://fanaka.readthedocs.io
17•DanieleProcida•2d ago•4 comments

'Strange metals' point to a whole new way to understand electricity

https://www.science.org/content/article/strange-metals-point-whole-new-way-understand-electricity
101•pseudolus•11h ago•30 comments

On File Formats

https://solhsa.com/oldernews2025.html#ON-FILE-FORMATS
114•ibobev•4d ago•76 comments

Dependency injection frameworks add confusion

http://rednafi.com/go/di_frameworks_bleh/
103•ingve•17h ago•124 comments

Now you can watch the Internet Archive preserve documents in real time

https://www.theverge.com/news/672682/internet-archive-microfiche-lo-fi-beats-channel
117•LorenDB•2d ago•10 comments

Can a corporation be pardoned?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5202339
48•megamike•8h ago•82 comments