r/ai_trading

I deposted $25,000 into Public, connected it via MCP to Claude, and let it trade. I'm up over $3,000
▲ 50 r/ai_trading+1 crossposts

I deposted $25,000 into Public, connected it via MCP to Claude, and let it trade. I'm up over $3,000

I created the Public Portfolio Challenge, an open challenge where I watch AI agents build algorithmic trading strategies to manage over $25,000.

So far, I'm destroying the market.

The book trades options on high-momentum stocks in my personal watchlist. I trained it using walk forward optimization, and deployed it to Public via OAuth.with my platform.

You can see the exact rules, the trading strategies, and my updates for free. I even have an open-source GitHub repo where you can download skills to follow along in Claude Code or Codex.

Happy to answer any questions below!

nexustrade.io
u/NextgenAITrading — 6 days ago
▲ 5 r/ai_trading+1 crossposts

Site de bots de trading et backtesteur de stratégies

Mon side project du soir a un peu dépassé le stade du script. Je cherche 10 testeurs pour le mettre à l'épreuve.

Le principe : mon moteur génère des variantes de stratégies à la chaîne, les rejoue sur des années d'historique et les fait passer par une série d'épreuves de robustesse. Celles qui tiennent deviennent des bots, d'abord en simulation.
Ce que j'ai construit :

▸ algoproof.fr : le suivi public de mes 214 bots de trading. 3 tournent en argent réel, les autres en simulation. Chaque trade est publié, pertes comprises.

▸ AlgoLab (lab.algoproof.fr) : un labo de backtests

tu définis tes règles, tu lances le backtest
optimiseur multi-paramètres, walk-forward, comparaison de variantes

tests de robustesse (permutations Monte Carlo, prix bruités) pour savoir si ton résultat tient ou si tu as juste sur-optimisé

les dossiers des stratégies qui ont passé mon moteur : plus de 55 millions de configurations énumérées, 2,2 millions jugées, 4 423 retenues

Sous le capot : moteur en Python/Numba, API FastAPI sur un VPS, front Next.js, Postgres sur Supabase. Les bots tournent sur le même VPS et poussent leurs trades en base.

Ce que je cherche : des gens qui ont déjà backtesté quelque chose (TradingView, Python, Excel, peu importe). Pas besoin d'être pro.

Ce que je propose : 3 mois d'accès complet au Labo. Gratuit, sans CB, sans abonnement à la fin.

En échange, juste tes retours par message au fil de l'eau : un bug, un écran pas clair, une feature qui manque.

Intéressé ? Envoie-moi un DM, je t'explique le reste.
Projet perso. Pas de conseil en investissement.

u/apex-market-intel — 5 days ago
▲ 3 r/ai_trading+1 crossposts

Which AI Agent is best for general market and trading related help?

I've been talking to Gemini about various trading related topics and it got me wondering. Of all the AI agents out there, which one do you feel is smartest, most knowledgeable and most helpful for answering questions pertaining to trading, breaking down strategies and assisting in using trading tools and things of that nature? I've been hearing lots of good things about Claude, but have never used it. So which one do you like better...Gemini? Claude? OpenAI? GROK, etc...?

reddit.com
u/isamu999 — 6 days ago

I built a macro MCP for trading agents — the hardest part was deciding when it should refuse to answer

https://preview.redd.it/ke7yxip8m8uh1.png?width=1200&format=png&auto=webp&s=5d239548ba55d4afe721c5f4fd84d5a326176c2d

The screenshot is a real example.

I asked FX Context to find historical analogs for the latest US PCE release and show how EURUSD reacted after similar events.

It refused.

The reason was explicit:

  • only 6 usable PCE calibration events
  • 12 are required
  • each event needs at least 3 comparable metrics

So instead of fabricating an analog, it returned what it could verify: the latest PCE release, the absence of a valid pre-release consensus, and the actual EURUSD reaction after the release.

That’s the design philosophy behind FX Context.

It’s an MCP server for FX macro context covering:

  • US CPI, NFP and PCE
  • Fed, ECB, BOE and BOJ statements
  • actual vs. consensus and surprise where provenance is valid
  • historical EURUSD / GBPUSD / USDJPY reaction windows
  • upcoming macro risks
  • historical analogs when there is enough calibration data

A lot of the work has gone into making failure states explicit:

  • not enough historical samples → return the actual sample count and threshold
  • market closed during a reaction window → return MARKET_CLOSED
  • no verified pre-release consensus → say so instead of calculating a fake surprise
  • incomplete data → preserve provenance and timestamps rather than silently filling gaps

No predictions and no trade signals.

The goal is to keep the deterministic parts inside the data layer:

event → actual → consensus → surprise → market reaction → agent reasoning

and let the model focus on interpretation.

Known gaps: PCE consensus coverage is still incomplete, PCE historical analogs are calibration-gated, and NFP consensus coverage is patchy.

I’m the author. It’s closed source, free to use, and there’s no signup:

https://fx.coco-pier.com/mcp

I’m especially interested in feedback on the tool descriptions, response contract, and failure modes — particularly where an agent should refuse to answer instead of trying to infer around missing data.

reddit.com
u/cocopierlab — 7 days ago
▲ 4 r/ai_trading+1 crossposts

A BTC/Cryptocurrency inverse AI betting Model. Can you make money betting against yourself? So far, the data says yes.

One possible reason is that AI knows everyone is AI trading, so that becomes a shaky foundation, and now the actual inverse of AI-generated models pays off better.

https://btctrader.online/

u/ejpusa — 6 days ago

Day 1 of letting an AI trading agent run a small real account: one share of AMZN and a rule

Disclosure: I work at Flow AI, the company behind Bobby, an AI trading agent, and RockFlow, the brokerage the account sits at. My own money, small size, under $2K at risk. Not advice, my own calls.

I'm publishing this log from the start. Days 1 to 17 happened between Sept 21 and Oct 7 and come straight from the broker's order export; I'll post them over the next week, then it goes live.

Setup: Bobby is an agent, not a chatbot. It reads the account, does the research, proposes a trade with a reason, and once I confirm it places the order itself through the linked RockFlow account. It also remembers how I like to trade between sessions. The rule for this experiment: every morning I ask it what it would do with the account. It proposes, I confirm or refuse, and nothing goes out except through its chat.

Day 1, Sept 21, 10:59 ET. It proposed one share of AMZN with a limit at $256.05. I said yes. Filled at $255.73, fee $1.40. That's the whole day.

One share is deliberately small. The point for now is whether its reasons hold up over weeks, not the P&L. Two things I'm watching: whether it ever tells me to sell, and whether it changes behaviour after I tell it what I don't want.

One mistake already baked in: I didn't save its reasoning for this trade, and you'll see I didn't for the next few either. From the live part of the log onward every suggestion gets pasted into a file before I act.

Day 1 question for people who've run something like this: how small is too small to learn anything? One share feels like a demo, not a test.

reddit.com
u/Accomplished_Fun_408 — 7 days ago
▲ 3 r/ai_trading+1 crossposts

I tested 4 strategy families out-of-sample, found no edge, and built guardrails for AI trading agents instead (free, open)

Long story short: I wanted an AI agent trading for me. Before risking a dollar
I built an honest backtester (next-bar fills, fees, slippage, walk-forward,
buy-and-hold benchmark).


EMA/RSI, Donchian breakouts, time-series momentum and RSI(2) mean reversion
on BTC and ETH, 1h and 4h, 2022–2026: 
**none beat buy and hold out of sample**
.
In-sample Sharpe of 1–2 collapsed to between −1.5 and 0.4.


What did pass a pre-registered test was boring: volatility-targeted holding
with a trend filter on daily BTC (Sharpe 1.03 vs 0.85 for buy and hold, max
drawdown 42% vs 76%). Not alpha, just less pain.


The more useful output was the guardrail. If an LLM agent is going to trade,
it needs a mandate it can't break and a record nobody can rewrite. So I built
IRL, an MCP gateway: every order is checked against the agent's mandate before
it's sent, the agent's reasoning is sealed first, the fill comes back MATCHED
or DIVERGENT, and the records are anchored on Bitcoin.


Free to try in a minute: `uvx irl-gateway init` (paper trading, no signup
form). Site with a live, editable demo: https://norve.dev. Gateway:
https://github.com/norve-labs/irl-gateway


Research write-ups are in the repo. Happy to be told where my backtests are wrong.
u/GabrielGauss — 6 days ago

We're building an adaptive prediction engine. Could the same approach improve algorithmic trading?

Hi everyone,

We're developing Nexyria, an independent quantitative intelligence project focused on forecasting, market analysis and evidence-based decision systems.

One of our research projects is APEX, an adaptive prediction engine.

The idea behind APEX is relatively simple:

Instead of assuming that one forecasting method works best in every situation, we investigate whether a system can identify the current data environment and select an appropriate method.

We've started testing this approach on business forecasting datasets.

Some early results:

• APEX Business V0.1 improved RMSLE by approximately 1.13% over its baseline in an external Kaggle evaluation.

• APEX Business V0.2 was evaluated on 1,885 daily observations from the Walmart M5 dataset.

• In that second evaluation, APEX matched the strongest baseline but did not outperform it.

• The result was classified as MIXED under our predefined validation protocol.

This second result was particularly interesting.

APEX selected the same forecasting method across all 1,885 observations.

It performed reasonably well, but it did not demonstrate meaningful adaptive behavior.

That raises an important research question:

How can we distinguish genuine adaptation from a selector that simply learns to favor one strong baseline?

We're now considering whether this research approach could eventually be useful in our separate algorithmic trading system, Nexyria Trader.

For example:

Could an adaptive selector help identify different market regimes?

Could it determine when certain trading strategies are more appropriate?

Could it identify environments where the safest decision is not to trade?

We haven't validated APEX for trading, and we're not claiming that it improves trading performance.

Our intention would be to research it offline first, using historical data, walk-forward testing and forward validation, before considering any integration.

I'm interested in hearing from people working on adaptive systems, regime detection or quantitative strategy selection.

What approaches have you found most useful for distinguishing real adaptive improvements from overfitting?

And what validation methods would you consider essential before trusting such a selector in a live trading environment?

reddit.com
u/Rare_Reference3909 — 6 days ago
▲ 3 r/ai_trading+1 crossposts

I need advice/help please

First i would like to say that i am a total beginner and honestly don’t know what i am doing more than half of the time but i would like to share what i am building and i would like advice from the people who know way more than me if this is even worth wasting my time and money(i wasted 4 months and 600 eur already).

I am building a manual trading signal + research system for day trading and swing trading.
It does three main things:
Finds trade setups using predefined rules like ORB/VWAP/RVOL for day trades and trend/momentum/breakouts for swing trades.
Backtests and validates them properly using historical data, walk-forward testing, robustness tests, Monte Carlo, costs/slippage, and strict minimum trade counts.
Protects against fake-good results by fixing survivorship bias, ticker changes, delistings, share classes, historical index membership, corporate actions, and bad provider data before i trust any performance.
Right now, most of the system is built. I am mainly finishing the historical data/identity qualification layer so that when i finally run the strategy backtests, i can trust that the results are based on the securities and data that actually existed at the time.

There is no automatic trading or broker execution. The system is meant to tell you: “this setup qualifies, here is the entry/reference, stop, target/risk context, and confidence/validation state,” while i stay in control.

I am using 3 providers for different jobs:
Massive → mainly for DAY trading intraday data. Think 5-minute bars, ORB, VWAP, RVOL, and possibly reconstructing the RTH liquidity ranking from minute data.
Sharadar → mainly for the historical stock universe and corporate-action context. It gives us the working historical roster, ticker/action history, and helps anchor which securities existed at the time.
Norgate → mainly for stable historical security identity. Its assetid helps us follow the same security through ticker/name changes and distinguish share classes; we’re also checking its historical index-membership data as a cross-check.

reddit.com
u/Sea_Initiative9385 — 7 days ago
▲ 10 r/ai_trading+5 crossposts

Backtesting a rule on todays index members leaves out every company that got removed, which is most of what would have hurt you

Something worth checking on any multi year stock test, and I got this wrong in plenty of my own early ones.

You pick a universe, usually the current S&P 500 or the current Nasdaq 100, and you run a rule across ten years of history on those names. The list you used is todays list. Every company that dropped out of the index over those ten years, whether it got bought, went under, or just shrank out of it, is not in the test at all, because it was never in the list you started from.

What you are left with is ten years of history belonging to companies that were healthy enough to still be in the index this morning. The index swaps names out every year and over a decade that is a long list of companies that a current member list simply does not contain.

This hits mean reversion rules hardest. A rule that buys a drawdown and waits gets tested only on the drawdowns that recovered, because the names where the drawdown kept going are precisely the ones that left the index. The test never sees them, so the recovery rate it reports is not the recovery rate you would have lived through.

Its a bit like judging a high school program by asking the seniors how it went. The kids who quit in tenth grade arent in the room to ask.

____

Two things that actually help.

The first is a universe dated to the day the rule fired, so a name enters the test when it entered the index and leaves when it left. Point in time membership data is sold rather than given away, which is why so few retail tests have it.

The second is cheaper. Run the same rule on a fixed basket you chose for a reason that has nothing to do with current membership, a handful of names you picked by sector at the start date, and compare. If the current member version is much stronger, the gap between them is a rough measure of how much of the result was survivorship.

Worth saying that the length of the history is not what fixes this. The equity candles I test on in Agenticks go back to 2000, and a test built on a current name list carries exactly the same bias at 26 years as it does at 10. The bias comes out of the list of names, and it can only be removed there.

u/person-person12 — 11 days ago
▲ 25 r/ai_trading+1 crossposts

I built a free SEC EDGAR-based screener

I got tired of paying $30–$50/month just to see a company's ratios or balance sheet from 10 years ago, so I built StockNest myself. It's free, no account needed, 120+ metrics. Not monetising it — link in the comments.

Data comes straight from SEC EDGAR filings with reconciliation passes to keep the numbers accurate and consistent.

What it includes:

Compare: chart any combination of metrics across up to 5 tickers simultaneously. 120+ metrics across income statements, balance sheets, cash flows, valuations, and margins. TTM, quarterly, and annual, with YoY / QoQ growth overlays and CAGR across any selected period. 2Y / 5Y / 10Y / All-time ranges go back 25+ years.

Overview: per-ticker overview with a score snapshot, weekly price chart, multiples, median metrics, historical valuation percentile rankings and percentile bands (0th–100th), and valuation range bars (P/E, P/S, P/OCF, P/FCF) with Undervalued / Fairly Valued / Overvalued verdicts. Insider trading transactions, analyst recommendations, congressional and institutional activity all in one tab.

Score: a composite across Profitability, Management, Growth, and Solvency. The badge colour is set by the lowest-scoring category, making potential risk areas immediately visible. Sentiment — analyst ratings, institutional (13F) trades and insider activity — is tracked separately and excluded from the score: it's a signal, not a fundamental, and crowded stocks can underperform.

Filers: track institutional, congressional, and insider trading for any ticker in one place, from Nancy Pelosi to the biggest hedge funds.

Financials: split into Charts, Statements, and Flows. Charts show at-a-glance snapshots — revenue, net income, margins, cash flow. Statements bring the balance sheet, cash flow, income statement, key metrics, and revenue segments into one tab; click any line item to chart it, overlay metrics, and toggle YoY, margins, or absolute values. Flows breaks down how revenue becomes profit and costs.

Screener: filter by 25+ valuation, profitability, return, and health metrics. Sortable results, click any ticker to jump straight into a comparison.

DCF: pre-filled from historical data. Net Income, FCF or OCF. Tune growth rate, decay, terminal multiple, and discount rate. 5Y or 10Y horizon. Non-USD companies show everything in their reporting currency so the comparison stays apples-to-apples.

US-listed companies only for now.

u/rebel-capitalist — 10 days ago
▲ 8 r/ai_trading+1 crossposts

What is the best AI agent to use as a trading mentor?

I've been using Gemini Pro (Spark) to build out my trading journal by feeding it screenshots, TradingView links, market thoughts, and trade setups. The goal is to build an edge database to refine my system, but the AI is falling short.

My main issue is that it acts like an echo chamber—it constantly agrees with whatever I say instead of challenging bad habits or keeping me accountable. Worse, its visual analysis is inconsistent: it frequently misses key chart mechanics like wick taps, liquidity sweeps, or precise key levels. I spend more time babysitting and correcting its breakdowns than actually learning from them.

I need an analytical AI workflow that acts more like an objective mentor—challenging my logic, catching technical nuances on the chart, and enforcing trade setup rules rather than just validating my bias.

What models, custom setups, or specialized tools are you guys using that actually handle technical chart analysis and strict trade reviews well?

reddit.com
u/Trader_WaveS — 10 days ago
▲ 4 r/ai_trading+1 crossposts

Building Sapphire Capitals: Why logic beats hype in trading tech.

Hello everyone,

I’m the founder of Sapphire Capitals, and I’m using this account to pull back the curtain on how we’re building institutional-grade tools for the retail space.

The trading world is currently saturated with "magic indicators" and "get-rich-quick" signals. My goal with Sapphire Capitals is to strip all of that away and focus on what actually moves markets: Mathematical Logic and Objective Data.

What we’re building

The Sapphire Capitals suite isn't a single "holy grail" bot or algo. It’s a specialized ecosystem of apps designed to solve specific data problems:

  • Seasonality: Identifying recurring historical patterns that repeat across decades.
  • Volume Spike: Detecting institutional-grade anomalies before the price catches up.
  • Price Action: Striping away the noise to see the raw structural shifts in the market.
  • Intraday: Precision tools for those operating in the smallest timeframes.

The "Skepticism Killer" Approach

I’m a firm believer that if you can’t show the math, it isn’t worth trading. Every tool we build is designed with a "logic-first" architecture. We focus on:

  1. Removing Emotion: Using hard volume and price data to dictate entries.
  2. Institutional-Grade Logic: Bringing the same frameworks used by floor traders to a clean, accessible SaaS interface.
  3. Transparency: No hype, no "1,000% returns" promises—just the tools you need to find a statistical edge.

Why I'm here

I’ll be posting updates on the development of these apps, technical breakdowns of market movements using our frameworks, and general thoughts on building SaaS in the fintech space.

If you value data over noise, I’d love to connect. I’m always open to feedback from fellow builders and traders who aren't afraid to look at the numbers.

Logic > Hype.

Thank you,

Founder_SapphireCap

reddit.com
u/Founder_SapphireCap — 12 days ago
▲ 13 r/ai_trading+1 crossposts

Built an AI research desk for Kalshi that can't place a trade unless I click approve (demo money, 3 days in)

I have been messing with Kalshi's demo exchange the last few days and ended up building a local dashboard for it. runs on my laptop and just talks to the Kalshi API.

It pulls every open market and puts stuff next to it that Kalshi doesn't show, like sportsbook lines, live scores, weather forecasts. then Claude (or Gemini, I can switch) researches a market and proposes a trade with its reasoning. I have to approve every one. there are small hard caps on order size and daily spend, plus a kill switch the AI can't touch.

The part I care most about is that I assume the market price is mostly right. every AI estimate gets blended back toward the market price before anything happens, and the model only gets more weight once its raw guesses actually beat the market over enough settled calls. it hasn't earned anything yet. a second model also gives a quick independent number, and if the two disagree by a large margin, it sizes the bet down.

The parts that broke(and a lot did):

  • ESPN was rejecting every request for a day, so my "live scores and lines" never showed anything and I didn't notice until I checked the logs
  • Kalshi keeps your balance per shard (baseball is on a different one than most things), so my first order failed with "insufficient shard balance"
  • my P&L was ignoring fees, for now

The results I have so far: 2 settled, both wins, which means nothing. the demo books are super thin too. in my paper sim, a strategy that buys when sportsbooks disagree with Kalshi only filled a small fraction of what it wanted, so I don't trust demo results to say much about live.

The ai agent is not going live until it can repeatedly beat the market price in at least one category. If you have built something like this, how do you deal with thin books?

And for anyone running something similar: how much edge do you need before a trade is worth it after fees and spread?

Another question I have is what outside data has been actually useful for you? I'm pulling sportsbook lines and weather forecasts, and wondering what else to add"

u/Difficult_Low_8618 — 12 days ago