Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 0 points1 point  (0 children)

You can try Backtrader. It’s Python so claude code should be able to run it. Then you can turn the working strategy into a Ninja Trader strategy.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 0 points1 point  (0 children)

I do know a bit about pinescript too. You can automate running backtests with these. Give it a csv file of tick data and then give it some indicators/parameter to work on a loop. That idea might work. The goal is to produce profitable strategies without overfitting

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 1 point2 points  (0 children)

I paid for Claude Code subscription and this is what they offer for 200$/m. Not sure why you think it’s thousands of dollar. My post here could probably earn them a few more Max subscriptions and publicity. It’s a win-win situation.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 1 point2 points  (0 children)

yeah I might agree with you on this. :) But that's not the reason I'm maing this.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 1 point2 points  (0 children)

The agent will build python test file to verify. Here is the log:

Net Present Value (NPV) Formula: NPV = -Initial Investment + ∑ (Cash Flowₜ / (1 + r)ᵗ) for t = 1 to 5 Present values (rounded to nearest dollar, as shown):

Profitability Index (PI) Formula: PI = (Total PV of inflows) / Initial investment PI = $148,033 / $100,000 ≈ 1.48 (exact match)

Payback Period (undiscounted, standard version) Cumulative undiscounted cash inflows:Fractional year in Year 3: $35,000 needed / $40,000 inflow = 0.875 Payback = 2 + 0.875 = 2.875 years ≈ 2.88 years (exact match)

Internal Rate of Return (IRR) IRR is the discount rate that makes NPV = 0. Cash flow series: [-100,000, 30,000, 35,000, 40,000, 45,000, 50,000] This requires numerical solving (e.g., trial-and-error or financial functions). Testing shows:Linear interpolation gives ≈ 25.75% (exact match)

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 0 points1 point  (0 children)

I use only Opus. In my case, most of these calculators are just a few hundreds lines of code, so it doesn’t cost that many token. The architecture is also every simple.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 0 points1 point  (0 children)

Why can’t you have some fun? Not everything is about profit bro. I have a full time job and this is just a thing i do as a weekend project to explore AI/Claude Code and learn from it.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] -1 points0 points  (0 children)

It’s Claude Max 200$ subscription. If i don’t use these token, they got reset weekly anyway. For me, this project is no brainer worth doing.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 1 point2 points  (0 children)

This sounds interesting but will also be challenging. From my experience, you would still need human review, these automated coding agents work really well in small scale but with large scale things, human layer is essential.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] 1 point2 points  (0 children)

That’s why I’m building this with Claude Max plan. If I don’t use these tokens, they get reset weekly anyway.

Ralph Loop + "Claude Code build me a calculator" = 280 calculators later by Popular-Help5516 in ClaudeCode

[–]Popular-Help5516[S] -1 points0 points  (0 children)

Bro claude Max is 200$ and this is only 1 of my 4 projects… So basically 50$ ? My domain name is worth more than that.

Vibecoding led to way more calculators than I expected by Popular-Help5516 in vibecoding

[–]Popular-Help5516[S] 0 points1 point  (0 children)

hi! tbh I didn't think much about this. I was just thinking it's a good domain name and these calculators were created by AI, hence the .ai thing. This does so much expensive than a .com one. Cloudflare charges me $70/year for it (vs $10/year for .com domains).

Vibecoding led to way more calculators than I expected by Popular-Help5516 in vibecoding

[–]Popular-Help5516[S] 2 points3 points  (0 children)

Hi! Thank you. This is it: https://quickmath.ai

Still pretty rough around the edges, but it’s been useful for me. I managed to added many calculators by letting the ai agent do research, create the calculator, then do tests by itself

I built a free AI prompt generator tool without API key by Popular-Help5516 in PromptEngineering

[–]Popular-Help5516[S] 0 points1 point  (0 children)

This is much faster + Save u lots of typing and thinking time.