frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: HashTrade – Open-source LLM trading agent with episodic memory

https://github.com/mertozbas/hashtrade
1•mertozbas•1h ago
I built HashTrade — an open-source autonomous trading agent that treats an LLM as a non-parametric decision function conditioned on episodic memory, rather than encoding strategy as code.

The core idea: instead of writing if/else trading logic, you give an LLM three tools (exchange access, memory, UI control) and let it form strategy through accumulated experience. The agent wakes on a variable 5→10→20→25 min cycle, reads its past notes, fetches market data, reasons about what to do, and optionally executes trades. Every decision and outcome is logged to an append-only JSONL file that becomes its long-term memory.

Technical details:

- Built on Strands Agents (AWS) with CCXT for 100+ exchange support - 3 tools only: use_ccxt (28 actions — market data, orders, arbitrage detection), history (persistent memory), interface (dynamic UI) - Variable-interval scheduler to avoid detectable timing patterns in order flow - Fire-and-forget WebSocket streaming for sub-second dashboard latency - Supports Claude, GPT-4o, Ollama (local), and Bedrock — auto-detected - PWA frontend in vanilla JS, no framework dependencies - Client-side credential isolation — API keys never leave the browser - Recursive credential redaction prevents keys from leaking into LLM context

The interesting emergent behavior: early wake cycles are conservative ("observing BTC at $67k, noting support level"). After a few days of accumulated memory, the agent starts referencing its own past observations to form trading theses ("last 3 times we saw this pattern, price bounced — going long"). The policy improves not through fine-tuning but through growing context.

I wrote a paper formalizing this as a Memory-Conditioned Markov Decision Process if anyone's interested in the theory: the key insight is that the effective policy is non-stationary even with fixed model parameters, because the growing memory changes the attention distribution at each step.

Setup: pip install hashtrade && hashtrade

Live demo at hashtrade.ai, code at github.com/mertozbas/hashtrade. Apache 2.0.

Would love feedback on the architecture — especially the tradeoff between soft risk constraints (enforced via system prompt) vs. hard tool-level enforcement.

Comments

mvkel•1h ago
> This isn't another trading bot. It's an autonomous agent with memory, intuition, and the authority to act.

The AI smell sure is strong with this one.

Overall, this bot will fail to generate a profit; it is trading what is already confirmed, using data that everyone has, ergo there is no edge.

The tiny technology that rules the world

https://bigthinkmedia.substack.com/p/the-tiny-technology-that-rules-the
1•el_snark•2m ago•1 comments

The 17% Risk

https://domofutu.substack.com/p/the-17-risk
1•wjb3•3m ago•0 comments

Founder ditches AWS for Euro stack, finds sovereignty isn't plug-and-play

https://www.theregister.com/2026/02/20/ditching_aws_euro_stack/
1•jamesblonde•3m ago•1 comments

CADRE: Cooperative Autonomous Distributed Robotic Exploration

https://www.jpl.nasa.gov/missions/cadre/
1•pizza•5m ago•0 comments

Diode – Build, program, and simulate hardware in the browser

https://www.withdiode.com/
1•punnerud•5m ago•0 comments

Connected [video]

https://www.youtube.com/shorts/-PvzJtryBS4
1•Subtextofficial•6m ago•0 comments

Show HN: Xpaper – A Chrome extension to turn your X feed into a newsletter

https://github.com/laiso/xpaper
1•laiso•9m ago•0 comments

TalentClaw – deterministic staffing workflows for OpenClaw

https://github.com/mrrkrieg/talentclaw
1•dankrieg•10m ago•1 comments

Correcting the Financial Times Report about AWS, Kiro, and AI

https://www.aboutamazon.com/news/aws/aws-service-outage-ai-bot-kiro
1•ChrisArchitect•13m ago•0 comments

SmallJS Release 2.0

https://small-js.org/News/News.html
1•gjvc•14m ago•0 comments

Stop building LLM wrappers and aggregators, says Google VP

https://techcrunch.com/2026/02/21/google-vp-warns-that-two-types-of-ai-startups-may-not-survive/
1•rippeltippel•18m ago•0 comments

Lawyer says Google shut down his Gmail, Voice and Photos after NotebookLM upload

https://discrepancyreport.com/lawyer-says-google-shut-down-his-gmail-voice-and-photos-after-noteb...
4•nnx•18m ago•1 comments

Gemini 3.1 Pro Preview #1 on SVG Arena

https://twitter.com/Designarena/status/2024953281051787279
1•swazzy•20m ago•0 comments

Microsoft-Controlled Media with Embargo and Press Operatives

https://techrights.org/n/2026/02/21/Microsoft_Controlled_Media_With_Embargo_and_Press_Operatives....
2•amcclure•22m ago•0 comments

The Silence of Intelligence: A Documentary of Dario Amodei

https://github.com/Leading-AI-IO/the-silence-of-intelligence/blob/main/docs/en/the_silence_of_int...
1•rramadass•25m ago•0 comments

3D-printing platform rapidly produces complex electric machines

https://news.mit.edu/2026/3d-printing-platform-rapidly-produces-complex-electric-machines-0218
1•wjSgoWPm5bWAhXB•25m ago•0 comments

Zigistry.dev – Search for Ziglang Packages with Ease

https://zigistry.dev
1•TheWiggles•27m ago•0 comments

Show HN: I made a 1:1 clone of Front Row in SwiftUI for modern Macs

https://www.youtube.com/watch?v=9HxGW2KCNVQ
1•JacksonDam•28m ago•1 comments

Show HN: I built a dependency graph for the tree of human science

https://github.com/slepybear/The-Map-of-Science
1•sleepybear04•28m ago•0 comments

I Got Pwned by a Malicious AI Plugin: A Technical Breakdown

2•henryrobinson•30m ago•0 comments

Peter Steinberger accuses HN of attacking him; Twittersphere backs him

https://twitter.com/Suhail/status/2025373753446990291
1•MaxPock•32m ago•0 comments

Ask HN: What are you guys building outside the hype of the IA?

1•01-_-•35m ago•0 comments

Show HN: LawClaw – Constitutional governance for AI agents (MIT)

1•nghiahsgs•37m ago•1 comments

Tech billionaires limit their children's screen time

https://fortune.com/2026/02/21/peter-thiel-bill-gates-steve-jobs-steve-chen-tech-billionaires-pub...
3•01-_-•41m ago•0 comments

Quasi-Zenith Satellite System

https://en.wikipedia.org/wiki/Quasi-Zenith_Satellite_System
1•teleforce•41m ago•0 comments

Scientists discover new dinosaur species deep in the Sahara Desert

https://abcnews.com/International/scientists-discover-new-dinosaur-species-deep-sahara-desert/sto...
1•hbcondo714•43m ago•0 comments

'Training a Human Takes 20 Years of Food': Sam Altman on How Much Power AI Uses

https://www.news18.com/world/training-a-human-takes-20-years-of-food-sam-altman-on-how-much-power...
1•AmbroseBierce•45m ago•0 comments

AI Tools: Slowing Down Developers Instead of Speeding Them Up – Here's Why

https://medium.com/@riturajpokhriyal/why-ai-coding-tools-are-making-you-slower-and-what-actually-...
1•birdculture•46m ago•0 comments

Z-Image is an AI-powered image generator

https://z-image.fun/
1•nikiki•50m ago•1 comments

Dystopia: W3C (West World WebKit Corporation) in 2024

https://svgees.us/blog/dystopia.html
1•lioeters•52m ago•0 comments