frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ibkr-CLI – A local-first Interactive Brokers CLI built for AI agents

https://github.com/fatwang2/ibkr-cli
1•fatwang2•1h ago
Hi HN,

Interactive Brokers is an incredibly powerful platform, but using their official desktop client (TWS) feels like a punishment. It's a massive, resource-heavy Java app from the late 90s that makes simple workflows incredibly tedious.

I got tired of clicking through archaic menus, so I built ibkr-cli: a local-first, modern command-line interface to bypass the TWS UI entirely.

But a terminal wasn't the endgame. By turning trading actions into simple terminal commands with structured JSON outputs, it essentially acts as the perfect "pair of hands" for AI agents to interact with your portfolio directly.

Instead of fighting the GUI, you can now manage your trading through agents: - *Claude Code*: Just run `npx skills add fatwang2/ibkr-cli`. Once installed, you can literally tell Claude: "Check my IBKR account, what's my current PnL, and prepare an order to buy 10 shares of AAPL." - *OpenClaw (ChatOps)*: Hook it up to Telegram or Discord, and turn your bot into a personal, conversational trading assistant.

To answer the obvious question—"Is it safe to let an LLM near my brokerage account?"—I built it with a strict Safety-First design. All order commands default to a safe `--preview` (what-if) mode. A real trade will only execute if the agent or user explicitly appends the `--submit` flag.

It handles local profile management (TWS/IB Gateway), TCP connectivity checks, portfolio queries, and market data snapshots out of the box.

If you share the pain of using IBKR's default UI, or if you're experimenting with letting LLMs manage your trades, I'd love for you to try this out and let me know what you think!

Repo: https://github.com/fatwang2/ibkr-cli

Comments

fatwang2•1h ago
Hi HN, OP here!

I realized the real motivation wasn't just taming the API, but avoiding the TWS desktop client at all costs. If you've ever felt the pain of navigating that 1998 Java interface just to check your PnL or place a simple trade, you know exactly why I wanted to replace it entirely with a CLI and AI agents.

I'm around to answer any questions, especially about the local TWS/Gateway setup or piping this into your AI agent workflows.

May your code compile on the first try, your agents never hallucinate a margin call, and your 2026 PnL stay safely in the green!

Does technology make people touch each other less? (2015)

https://www.bbc.com/news/magazine-31026410
1•simonebrunozzi•13s ago•0 comments

Show HN: Loom, a Component Framework for Go

https://loomui.dev/blog/introducing-loom/
1•AnatoleLucet•16s ago•0 comments

Show HN: SentrySearch – Semantic search over dashcam footage

https://github.com/ssrajadh/sentrysearch
1•sohamrj•19s ago•0 comments

Beam Metrics in ClickHouse

https://andrealeopardi.com/posts/beam-metrics-in-clickhouse/
2•whatyouhide•27s ago•0 comments

The Rise of Fake Casio Scientific Calculators

https://hackaday.com/2025/12/29/the-rise-of-fake-casio-scientific-calculators/
2•gaws•47s ago•0 comments

Building a Pipeline for Agentic Malware Analysis

https://synthesis.to/2026/03/18/agentic_malware_analysis.html
2•oneron•1m ago•0 comments

Show HN: AgentPay – Let AI agents pay for APIs autonomously

2•bahaghazghazi•1m ago•0 comments

Ask HN: Are MiniMax Models Scams?

1•XCSme•1m ago•0 comments

The Last IT Guy

https://suthakamal.substack.com/p/the-last-it-guy
1•suthakamal•2m ago•1 comments

Qianfan-OCR – 4B open-source VLM replacing multi-stage OCR pipelines

https://huggingface.co/baidu/Qianfan-OCR
1•dongdaxiang•3m ago•0 comments

Startup CEO Gökçe Güven, the Founder and CEO of Kalder Inc. Charged with Fraud

https://www.justice.gov/usao-sdny/pr/startup-ceo-charged-fraud
2•randycupertino•3m ago•1 comments

AI set to map risks of future climate disasters

https://www.nature.com/articles/d41586-026-00835-y
1•Brajeshwar•3m ago•0 comments

Show HN: DealCred – Verified Reviews for Real Estate Deals

https://dealcred.com/
1•KerryJones•4m ago•0 comments

ICO Enforcement Actions: Public Bodies Get Reprimands, Companies Get Fines

https://ciphercue.com/blog/ico-enforcement-two-tier-system
1•adulion•5m ago•0 comments

Show HN: Birdcage – Secure remote access for personal AI

https://github.com/vhscom/birdcage
1•vhsdev•6m ago•1 comments

Is X.com currently degraded?

https://x.com/home
1•novateg•8m ago•3 comments

Accessing Hardware in Rust

https://ferrous-systems.com/blog/hardware-access-rust/
2•jandeboevrie•9m ago•0 comments

Apple pushing back on 'vibe coding' iPhone apps

https://9to5mac.com/2026/03/18/apple-pushing-back-on-vibe-coding-iphone-apps-developers-say/
4•gennarro•10m ago•0 comments

Claude Code reverse-engineered itself. Two subagents refused. It called them shy

https://www.skelpo.com/blog/claude-code-reverse-engineering
1•amlug•11m ago•1 comments

Show HN: BlacksmithAI – AI‑Assisted Penetration Testing Framework (Beta, Free)

https://bs.kahanlabs.com
1•yohannesgk•11m ago•0 comments

Nvidia NemoClaw

https://github.com/NVIDIA/NemoClaw
2•hmokiguess•11m ago•0 comments

Snowflake AI Escapes Sandbox and Executes Malware

https://www.promptarmor.com/resources/snowflake-ai-escapes-sandbox-and-executes-malware
2•ozgune•12m ago•0 comments

Show HN: PixelSwift – Image compression that never uploads your files

https://pixelswift.site
1•zhangshuaikang•14m ago•1 comments

Arizona Charges Kalshi with Illegal Gambling Operation

https://www.bloomberg.com/news/articles/2026-03-17/arizona-charges-kalshi-with-operating-illegal-...
1•eatonphil•14m ago•0 comments

Donald Trump's Melian Dialogue

https://www.historytoday.com/archive/making-history/donald-trumps-melian-dialogue
1•samizdis•15m ago•0 comments

Why Tech Bros Are Now Obsessed with Taste

https://www.newyorker.com/culture/infinite-scroll/why-tech-bros-are-now-obsessed-with-taste
1•fortran77•16m ago•1 comments

Petition to Node.js TSC: No AI Code in Node.js Core

https://github.com/indutny/no-slop-in-nodejs-core
4•indutny•17m ago•1 comments

Meta is shutting down VR social platform Horizon Worlds

https://www.cnbc.com/2026/03/18/meta-horizon-worlds-metaverse-vr.html
4•gscott•17m ago•0 comments

China is mobilizing one-person AI startups

https://restofworld.org/2026/china-ai-one-person-companies-incentives/
2•Brajeshwar•18m ago•0 comments

Machine Payments Protocol (MPP)

https://stripe.com/blog/machine-payments-protocol
2•bpierre•18m ago•0 comments