Register and share your invite link to earn from video plays and referrals.

Sprytix
@Sprytixl
AI WRITER
Joined May 2023
323 Following    9.1K Followers
THIS IS A PURE F*CKING GOLDMINE Anthropic just shared one of the best tricks for Claude Code: a trading agent that watches the market all day for $1.16. a cheap model watches every tick, the expensive one only wakes up when something is actually there. claude --model haiku > /loop 5m watch; escalate to decider here's the split: ▸ Haiku 5.5 checks the market every 5 minutes, 78 ticks a trading day ▸ each tick is 20k in and 1k out, which costs a quarter of a cent ▸ Opus 5.5 is asleep until the move is bigger than 1 standard deviation ▸ it woke up 6 times out of 78, and those 6 calls are most of the bill the part everyone gets wrong: they run the smart model on every tick. all-Opus on 78 ticks is a bill you pay to be told "nothing is happening" 72 times. the watcher is not there to decide, it is there to notice. 0.6 sigma means no edge, and the cheap model is perfectly capable of saying that. underneath it all sits a PreToolUse hook with max order $500. the model can propose whatever it wants, the hook decides what actually goes through, and it is written in code the model cannot touch. the account is paper. simulated fills, no real money, and the file says it plainly: cheap tokens are not good trades, and fees are not even in this number. Haiku watches. Opus decides. The hook guards. The account is fake until the edge is proven. JEV engineering is the same move one layer down: 1,301 forks this run - go or skip, size, exit or hold - and the sharp ones escalate while the split ones (go or skip at 0.51, size at 0.54) simply skip instead of guessing the full tree ▸ a cheap model ticks every 5 minutes and only reports whether anything is there ▸ the expensive model is woken only past a defined threshold, never on a schedule ▸ a PreToolUse hook checks every order against limits written in code ▸ the model proposes, the hook disposes, and no order can resize around it ▸ paper account and simulated fills until the edge is proven ▸ JEV resolves micro-forks in code and skips anything genuinely split paste the tree and this prompt into Claude Code ↓ "Rebuild my setup around this tree: 1. Run the watch loop on the cheapest model, on a fixed interval, and have it report only whether a threshold was crossed. 2. Escalate to the expensive model only past that threshold, never on every tick. 3. Put all limits in a PreToolUse hook in code: max order size, max open positions, daily stop. The model must not be able to change them. 4. Any order breaking a limit is blocked outright, with no retry and no resizing. 5. Paper account with simulated fills until I explicitly say otherwise. 6. Log every tick, every escalation and every block, with the cost of each. Show me every change as a diff first. No edits until I say go." ↳ save it, this is how you watch a market all day for the price of a coffee.
Show more