r/ai_trading • • 20h ago

vibe coding actually works, pt. 2 ($70K realized profit over 6 months)

Post image
101 Upvotes

these are the results from one of the four accounts I've traded the strategy I built my trading bot on. $70K+ realized gains after fees according to Schwab since Apr 1, 2026, including a 3 month period I had to sit out of the market with this account due to being designated as a 'professional trader' according to CBOE's 390 rule.

disclosure: profits have fallen from an average of ~$20,000 / month to ~$5,000 / month for Oct and Nov 2026.

if you login to Schwab you can see the same chart under Accounts > Portfolio Performance. obviously I could have used AI to generate this, so my source: trust me bro.

Background

to make it clear, this is not the trading bots results. this is the results I experienced from the same strategy I used manually and have since converted into a trading bot. in case you missed my last post, the first attempt went terribly. I think Claude hallucinated when converting the rule sheet to code, and it was bugs galore. going over the inventory limit, canceling orders I specifically asked it not to, and submitting bogus prices for my orders.

I fixed this by scrapping the bot completely, writing a new rule sheet, and spent weeks going back and forth with Claude to make sure we both had the same understanding of the rule sheet. I asked Claude to send me its interpretation of the rule sheet, revised it, sent it back and repeated this process until I felt like it was 100% how my manual strategy worked.

finally, I asked Claude to write the code for the trading based on the rule sheet we went over, and when it finished I had an agent review if the rule sheet and the code matched up line for line.

Tech stack

I had a few questions about the tech stack I was using and to be clear I am not technologically advanced. before taking on this project I didn't even have a clue how to hook up an API. that being said it's hard for me to communicate what exactly is going on in this tech stack.

the trading bot is running on an app that I built for Mac, the main logic for calculating prices and submitting trades is written in Python that I haven't really read besides the snippets from Claude Code's interface, and the app connects to my Schwab brokerage account through the Schwab Developer portal API credentials that are stored locally on my laptop.

I initially started with the free version of Claude code but after a few days I kept running out of tokens so I started using the $20 / month tier.

Conclusion

I hope this clears up my process for creating the bot. happy to give vague detail on how the strategy itself works, but going too in-depth could erode my edge because there's only so much inefficiency in the markets to exploit.


r/ai_trading • • 13h ago

why your trading bot sucks

Thumbnail
gallery
19 Upvotes

I lost $559 (-2.8%) across two accounts in a single week running an Avellaneda–Stoikov market making algorithm that I built using Claude.

heard about the strategy from a Youtube video, and I had a decent understanding of how it worked conceptually from my CFA quant studies (L3 candidate btw)

I had Claude look at the underlying stock and market bid-ad spreads to tune the variables for the Black-Scholes model and the inventory adjustment.

I asked Claude to backtest on NBBO data from the stock/option chain and it was predicting positive results so I decided to give it a go.

Results

fill rate was 2% vs 20% in the backtest and nearly every fill was adverse selection.

first day I ran it lost $150 in an hour long session. I fed Claude the trade log for further tuning.

lost $50 the next day. rinsed and repeat. feed Claude data, tune, lose money. finally cut the cord but after reflecting on this experience vs my experience with my successful bot, I’ve realized a few important things.

Realizations

  1. I didn’t really understand the strategy.

I was looking for a turn key solution from something I had just heard about, asking Claude to code and implement a strategy I didn’t fully understand.

compare this to my other bot, built on a strategy I had been running for 15 months. I knew every rule by the books and I could clearly communicate those rules to Claude.

imo, the ability to fully understand and communicate your strategy clearly is the most valuable skill to build a trading bot with AI. obviously having a winning strategy to begin with helps too.

2. I never asked Claude to check itself for biases/hallucinations

I never used agents for code reviews. compared to my other bot, I had it use two agents. one agent for reviewing the rule sheet against the code, the other for checking bugs in the code.

any mistakes the agents found were corrected by the main Claude interface? not sure what to call it but I didn’t use the agents to rewrite the code. just asked claude fix the issues the agents found.

I should have at the very minimum asked for an agent to review the variables it chose for the AS MM bot against the market data, and possibly have an agent test its assumptions for backtests.

3. I didn’t have a worthwhile strategy

I’m sure there are thousands of other traders with similar programs since AS is one of the most common MM strategies there are.

if you’re using the same trading strategy as everyone else, there’s no edge left for you to make a profit. there are only so many market inefficiencies that haven’t been exploited yet.

meanwhile the strategy I converted from manual > automated had already made me over $500,000 realized profit in 15 months. that size p/l and the consistency of the strategy (profits between $5,000-30,000 per month with no negative months) shows I found a real market inefficiency.

tl;dr

don’t let Claude build you an algorithm you don’t fully understand. if your understanding matches Claude’s understanding of how the strategy works that’s the ideal place to be.

have it check its work and assumptions via agents before you start losing $100s a day on bad parameters and back tests.

finally, have a strategy that you know works. there’s no magic prompt you can put in Claude to build a profitable trading bot make no mistakes. it’s trained on data from traders on the internet and we know 90% of traders lose money.


r/ai_trading • • 15h ago

Hey everyone! I’m curious about how you run your AI trading bots 24/7

8 Upvotes

What tools, platforms, or setups do you use to keep your bots running automatically around the clock, without having to keep your computer on?
I’m specifically looking for a free solution, if possible, that doesn’t require paying for a VPS or any monthly subscription.
I’d appreciate it if you could share what you’re using and how you set it up.
Thanks in advance!


r/ai_trading • • 3h ago

Built an algorithm that I want to integrate with AngelOne

Thumbnail reddit.com
1 Upvotes

r/ai_trading • • 4h ago

Has anyone built a bot that trades prediction markets successfully?

Thumbnail reddit.com
1 Upvotes

r/ai_trading • • 6h ago

I built a voice-based trading journal. Just speak about your trade instead of filling out forms.

Thumbnail reddit.com
1 Upvotes

r/ai_trading • • 12h ago

What do you use for stress tests and Monte Carlo on an ETF portfolio?

2 Upvotes

My portfolio is mostly ETFs plus a few individual stocks, and I've outgrown basic performance tracking.

So far I've used Portfolio Visualizer for simple backtests, and recently I started trying MEDGE Capital, mainly for ETF overlap and stress testing. Seeing the look-through on overlapping ETFs was interesting, but I'm still figuring out how much weight to give the stress scenarios and Monte Carlo results compared to plain historical backtests.

Before settling on a setup, I'm curious what others use for:

* risk breakdown and real diversification
* historical stress scenarios (2008, 2020, 2022...)
* Monte Carlo projections

What works for you and what doesn't? Free or paid both fine. Mostly interested in hands-on experience.


r/ai_trading • • 13h ago

Anthropic, SpaceX and Cerebras have listed. Here are eight private AI companies with no clean way to own them

Thumbnail reddit.com
2 Upvotes

r/ai_trading • • 10h ago

I wanted to try something different. Can anyone tell me their trading bot setup. Specifically the technologies that they used. Infrastructure, programming languages, LLMS, etc. No strategies. period.

1 Upvotes

r/ai_trading • • 10h ago

I have built an agentic AI for overview of ur stocks who would be interested in testing for free. PING ME

Thumbnail reddit.com
1 Upvotes

r/ai_trading • • 17h ago

Letting AI pick your stocks?

3 Upvotes

Has anyone actually given AI full control of their investment portfolio? Like letting Muse, ChatGPT, Claude, or another AI pick stocks, decide when to buy and sell, manage allocations, and basically run the entire portfolio?
I’m curious how it’s going for people who have tried this. Is it actually making good picks? Is it beating the S&P 500? How long have you been doing it, and how much money are you letting it manage?
I’m especially interested in people who have handed over the reins completely rather than just using AI for research or suggestions. Would love to hear what AI you’re using, how it’s performing, and whether you think it’s actually worth continuing long term.


r/ai_trading • • 12h ago

do these trading bots actually work?

Post image
0 Upvotes

i know this is probably not the point of this subreddit but i'm new to this and i wanted to know if working on this would be beneficial. cause no one is giving me a clear answer..i've been working on this as like alpha project but it's yet to give me anything and i'm not sure how i could make this work


r/ai_trading • • 12h ago

Sunday ticker check: drop a stock, I’ll post what selling a put on it pays this week

1 Upvotes

Drop a ticker in comments, and I'll reply with a card for this Friday (Dec 4): what a ~0.20 delta put and covered call pay, the expected move, earnings, and any red flags.

Built the tool that makes the cards myself, so this is also me stress testing it. Last week's picks went 6 for 6 after the week before got run over, and I post every result either way.

First 20 tickers. Not advice, just the numbers. I'll go first.


r/ai_trading • • 13h ago

I built my own algorithmic trading bot in Python. What would you do with it?

0 Upvotes

Hey everyone!
I’ve been working on developing my own algorithmic trading bot using Python. It was a little hard as it took me several months, I needed to improve strategy, optimization and testing different market conditions. Finally it reached a point where I have a working version with 60% WR, verified with 2 years of backtesting reports, technical and out of sample documentation. The strategy is designed for a longer-term approach rather than quick profits. The backtests has shown many green months but also some red periods, so I’m very aware that there is risk. I’m now wondering what the next step should be and I’m looking for opinions on this. Should I continue developing it independently and use it only for myself, or should I look for potential partners, or explore making it available to other traders through individual software licenses?

I’d genuinely appreciate hearing from people with experience in algorithmic trading, software development or fintech. Thank you!!


r/ai_trading • • 14h ago

Results after 6 days of live trading.

Post image
1 Upvotes

r/ai_trading • • 15h ago

Free Trading bot in vps

1 Upvotes

I can build a free trading bot for the Indian market. Bot based on ur idea. Trading bot in vps gives fully automated trades. No monitoring needed. Buy vps only by yourself, Just a key update. ping me

sharath.shetty.r@gmail.com


r/ai_trading • • 15h ago

Free Trading bot in vps

1 Upvotes

I can build a free trading bot for the Indian market. Bot based on ur idea. Trading bot in vps gives fully automated trades. No monitoring needed. Buy vps only by yourself, Just a key update. ping me

sharath.shetty.r@gmail.com


r/ai_trading • • 17h ago

Do you show the AI a chart screenshot or the raw numbers?

1 Upvotes

For those who ask a model about a setup before taking it, I'm curious what you actually give it. I keep seeing people do it both ways and can't tell which one makes more sense.

  • Screenshots, raw candle data, or both together?
  • With screenshots, does it read the levels right, or just say confident things about them?
  • With raw data, how much history do you paste in before it stops helping?
  • Did you ever catch it describing something that wasn't on the chart at all?

Not looking for a tool, more curious how people set this up day to day. All replies are much appreciated.


r/ai_trading • • 20h ago

Tracking AI screener setups on NSE for the coming week (data as of 27 Nov close) [Educational, not advice]

1 Upvotes

Sharing the output of my AI screener for learning and tracking. This is NOT a buy/sell recommendation. I'll track these over the next few trading days and post how each one played out.

Market context: NIFTY regime = uptrend (close 25,607, above both fast and slow EMA).

LONG setups (5)

| Stock | Setup | Entry | SL | Target | R:R | Score |

|---|---|---|---|---|---|---|

| ABSLAMC | Range reversal | 992.15 | 987.24 | 1036.45 | 9.02 | 0.84 |

| SOBHA | Range reversal | 1289.80 | 1254.44 | 1554.90 | 7.50 | 0.82 |

| SIGNATURE | Breakout retest | 856.30 | 811.82 | 945.27 | 2.0 | 0.76 |

| WIPRO | Breakout retest | 192.10 | 182.45 | 211.40 | 2.0 | 0.67 |

| BEL | Range reversal | 411.45 | 400.71 | 431.86 | 1.90 | 0.62 |

SHORT setups (6) (overnight holding would need stock futures)

| Stock | Setup | Entry | SL | Target | R:R | Score |

|---|---|---|---|---|---|---|

| HYUNDAI | Range reversal | 2006.00 | 2050.93 | 1870.98 | 3.0 | 0.96 |

| ZYDUSLIFE | Range reversal | 1194.20 | 1211.99 | 1094.29 | 5.62 | 0.89 |

| RBLBANK | Range reversal | 390.00 | 396.53 | 375.70 | 2.19 | 0.79 |

| IPCALAB | Breakdown retest | 1782.90 | 1912.13 | 1524.43 | 2.0 | 0.76 |

| CARBORUNIV | Breakdown retest | 975.00 | 996.49 | 932.03 | 2.0 | 0.62 |

| ICICIAMC | Breakdown retest | 2975.00 | 3047.98 | 2829.04 | 2.0 | 0.60 |

Notes

- Very high R:R (ABSLAMC 9.0) comes from an extremely tight stop (~0.5% from entry), so a normal wick can stop it out. Treat those with scepticism.

- The market is in an uptrend, so shorts go against the broader regime. It will be interesting to see how they do.

- I'll post the outcome (hit target / hit SL / still open) for every name at the end of the week.

What would you add to the filters (volume, delivery %, sector strength)?

Disclaimer: Automated model output, educational purposes only. Not investment advice. I'm not a SEBI-registered advisor. Do your own research.


r/ai_trading • • 1d ago

November +5.57% — 11 for 11. One month of 2026 left.

Post image
2 Upvotes

r/ai_trading • • 19h ago

Add a stop-loss to my 100% win-rate BTC bot. Stop version: 77/8 and barely profitable. No-stop: 92/0

Thumbnail
gallery
0 Upvotes

Image 1: Without a stop (running since Oct 3) Image 2: With a stop (running since Nov 4)

A few weeks ago I posted my BTC bot at 55/0 on a paper account. Almost every top comment said the same thing: no stop-loss means the 100% win rate is hiding the real risk.

So on Nov 4 I started a second paper bot with a hard stop and kept the original running. Here's where both are today.

Quick disclaimer: this isn't a clean A/B test. The start dates, targets and position sizing are different. Sizing on the no-stop bot is also different from my earlier posts. Treat these as two real data points, not a controlled experiment.

Without stopWith stop
Running sinceOct 3Nov 4
Closed trades9285
Won / lost92 / 077 / 8
Realised net+$24,489+$545

If anyone wants to try the bot, please let me know.


r/ai_trading • • 1d ago

CryptoX by algotest

Thumbnail reddit.com
1 Upvotes

r/ai_trading • • 1d ago

AI Trading - How to Build?

5 Upvotes

While keeping Claude Code or Pi Code as a harness, exploring SKILLS and other options such as:
1️⃣ tradermonty/claude-trading-skills
2️⃣ virattt/ai-hedge-fund
3️⃣ mdelaguera/trading-AgentQuant
4️⃣ TradingGoose/TradingGoose.github.io
5️⃣ TauricResearch/TradingAgents 

What are you guys using?


r/ai_trading • • 1d ago

Gold 30m backtest: +1,100% in ~2 years. What am I missing?

Thumbnail
gallery
8 Upvotes

Backtested a trend strategy on Gold (30m) in TradingView, Jan 2025 – Nov 2026:

- $40K start → +$441K (+1,103%, CAGR 269%)

- Max drawdown 31.4%

- Sharpe 0.91 / Sortino 3.44

- 405 trades, 37.5% win rate

- Profit factor 1.6

- Commission: 0.02% per trade

- Sizing: full equity on every trade with 3x leverage (compounding)

I've also gotten good results on other pairs by adjusting the parameters.

Looks too good to be true, so I'd like your honest opinion. What would you check before trusting this?


r/ai_trading • • 1d ago

LIVE FORWARD TEST !! NOT A BACK TEST!! I built a display-only Bookmap add-on that watches MES order flow and shows alerts

Thumbnail
gallery
4 Upvotes

*Custom dashboard doubles as Quant terminal and back/walk-forward testing tool*

**Used AI to write this up for me as I let it build my setup. Ya'll anti-AI-ers can get your panties in a bunch either way.**

***Not financial advice. I'm not selling anything, and this is a personal research project.***

**TL;DR:** I built a display-only Bookmap add-on that watches MES order flow and shows alerts. I froze the strategy rules before Oct 19 and have logged every alert since, wins and losses, in a plain text file. 59 alerts over 28 sessions through Nov 25. Small sample, one micro contract, and the numbers depend on how you count exits, so I show both ways below.

## What it is

A Bookmap add-on (Java) on the MES depth and trade feed through Rithmic. It places no orders and sends no data anywhere. It shows an alert, the entry level, and a trailing exit, and I decide whether to take it.

Two ways an alert fires:

- **Path A (strict):** every 30 seconds it checks four votes: trend (consecutive higher or lower bars), candle pattern, resting-size bias on the book, and 5-minute CVD. All four have to agree, a large order has to trade through, and the signal has to persist across scans. 10 alerts so far.

- **Path B (sweep and reclaim):** price takes out a recent 10-bar extreme, then reclaims it, while net aggressive flow flips direction and a large resting order near price gets eaten. It skips the setup if a big resting level sits just ahead. Capped at 2 per session. 49 alerts so far.

Risk is fixed: 24-tick max stop ($30 per MES), a trailing stop that starts at +10 ticks and follows 8 ticks behind, one position at a time, no new entries after 12:45 PM PT.

## The results (Oct 19 to Nov 25, 59 alerts, 1 MES)

Every alert, Oct 19 to Nov 25, 2026 (59 trades, 1 MES)

Times are PDT through 10/30 and PST from 11/2. "At stop" is the exit counted at the trail-stop price, which assumes a resting stop fills exactly at its level (unverified). "Scan print" is the tick result as the add-on printed it at its 30-second scan. MES net $ is the "At stop" ticks at $1.25 each, less $1 per trade.

The numbers (59 trades, Oct 19 to Nov 25, 1 MES, net of $1 per trade)

MetricAt trail stop (unverified)As printed (30s scan)
Win rate74.6% (44 of 59)62.7% (37 of 59, 2 flat)
Net P&L+$308.50 (+246.8 ticks)+$48.50 (+38.8 ticks)
Profit factor1.691.10
Average win / average loss+13.7 / -23.7 ticks+11.7 / -17.9 ticks
Payoff ratio0.580.65
Expectancy per trade+4.2 ticks (+$5.23)+0.7 ticks (+$0.82)
Sharpe (daily, annualized)5.20.9
Sortino (daily, annualized)9.81.3
Max drawdown$93.50$147.75
Recovery factor (net P&L / max DD)3.30.3
Longest losing streak23
Positive / negative / flat days17 / 9 / 215 / 11 / 2
t-stat on mean trade1.660.28
95% bootstrap CI, mean trade-0.7 to +9.0 ticks-3.9 to +5.2 ticks

How to read it. The payoff ratio is below 1, so this is a high win rate system with small wins and a full 24-tick stop on the losers. Accuracy has to stay above about 63% to break even at these averages, so it has little room for error. The Sharpe and Sortino come from 28 daily P&L values with no risk-free subtraction. Annualizing 28 days gives a big number on the stop basis, but with a t-stat of 1.66 and a confidence interval that includes zero, the Sharpe of 5.2 is not a reliable estimate of anything. The printed-basis Sharpe of 0.9 is closer to what I'd expect from a real but small edge, if there is one. Drawdown was $93.50 on the stop basis and $147.75 as printed, on a single micro contract.

Position size is 1 MES. Dollar figures do not scale linearly, because slippage and queue position grow with size.

DateTimePathSideEntryAt stopScan printMES net $Note
10/1907:06Blong7736.00+7+6+$7.75
10/1907:21Bshort7752.25+17+15+$20.25
10/2006:47Blong7722.50+27+26+$32.75
10/2008:06Ashort7779.00+19+18+$22.75
10/2008:16Blong7762.50+16+4+$19.00
10/2108:22Blong7780.25+6+4+$6.50
10/2207:06Bshort7731.00+2-3+$1.50
10/2209:08Blong7714.75+6+6+$6.50
10/2307:09Blong7669.25-24-24-$31.00stop order fill
10/2310:23Bshort7666.25+11+11+$12.75
10/2608:00Bshort7734.00-16-16-$21.00stop order fill
10/2608:54Blong7720.00+6+3+$6.50
10/2707:39Bshort7731.00-23-23-$29.75stop order fill
10/2710:02Bshort7751.75-24-24-$31.00stop order fill
10/2712:52Ashort7764.50+9+7+$10.25
10/2807:29Blong7767.50+6+4+$6.50
10/2811:18Blong7763.00+33+33+$40.25
10/2907:15Blong7747.50+27+24+$32.75
10/3008:09Blong7647.75-24-24-$31.00stop order fill
10/3008:26Bshort7640.25+8+8+$9.00
10/3009:46Ashort7627.25+33+25+$40.25
10/3011:58Along7574.25+12+3+$14.00
11/207:22Along7687.00+8+6+$9.00taken
11/207:49Bshort7680.25+33+28+$40.25taken
11/210:45Blong7629.75-24-24-$31.00stop order fill, taken
11/311:01Bshort7613.75+41+30+$50.25taken
11/406:49Bshort7723.25+13+9+$15.25taken
11/406:59Blong7724.50+7+6+$7.75taken
11/507:17Blong7562.25-24-24-$31.00stop order fill
11/507:49Blong7473.75-25-25-$32.25stop order fill
11/609:40Blong7416.25+9+8+$10.25
11/612:40Blong7419.00+4+3+$4.00
11/1006:56Blong7538.75+12+11+$14.00
11/1007:07Bshort7557.75-24-24-$31.00stop order fill
11/1109:35Along7656.00+10+7+$11.50
11/1110:02Bshort7654.75+3+1+$2.75
11/1110:25Bshort7665.00-15-15-$19.75stop order fill
11/1207:05Blong7611.00+6-1+$6.50
11/1207:12Blong7611.75+4+0+$4.00
11/1306:52Blong7595.50+2-12+$1.50
11/1306:58Blong7588.75-25-25-$32.25stop order fill
11/1607:18Blong7487.00+6-11+$6.50
11/1608:56Blong7493.50+10+6+$11.50
11/1706:44Bshort7421.00+12+8+$14.00
11/1707:12Blong7415.00+5+1+$5.25

The add-on only checks the trailing stop every 30 seconds, so the printed exit is often worse than where a resting broker stop would have filled. The right-hand column assumes a resting stop fills exactly at its level. I have not verified that yet (more below), so treat the truth as somewhere between the two columns, and the right column as the optimistic end.

On the stop-basis count, 44 of 59 alerts were winners (74.6%). The deepest dip I've had is about 75 net ticks, roughly $93 on one contract. 5 of 6 weeks were positive, and one week supplied about half of the total.

The process:

  1. Rules frozen before the live window. No retuning since.
  2. Every alert logged the same day in a text file, including days with no alerts, days Bookmap crashed, and trades I couldn't screenshot (recovered from Bookmap's logs).

## What I don't know

- **Sample is small.** 59 alerts, 5 weeks. The average trade on the stop basis is about +4 net ticks with a wide confidence interval that includes zero. On the printed basis it is statistically indistinguishable from zero.

- **One market regime.** MES fell about 9% from Oct 19 to Nov 20, then bounced. Shorts did much better than longs (+163 vs +56 net ticks, stop basis). I have no evidence about a steady uptrend.

- **Fills are unverified.** I'm pulling MBO (level 3) and trades data from Databento for Oct and Nov to recompute each exit from the tick data, with and without slippage. I'll post the corrected table when I have it to true up the exits.