r/algotrading • • 19h ago

Strategy Trying to see if there's Moneyball method of finding market edge...

0 Upvotes

More concise version:

I have a profitable algo, but its edge isn't strong enough for me to scale aggressively through prop firms. Rather than continuing to manually invent hypotheses, I'm experimenting with the opposite approach: give a model clean historical market data and have it search for statistically meaningful patterns that could become a trading rule.

My data is mostly 1-minute OHLCV, with ~10+ years for many instruments.

I've experimented with ElasticNet, GAM, Decision Trees, Random Forest and Gradient Boosting. So far ElasticNet/GAM have been easier to validate, while the tree-based approaches haven't behaved as expected when I implant synthetic patterns and test whether the models can recover them.

The pattern I'm interested in isn't simply “A predicts B.” I'm looking for conditional structures more like:

catalyst A + confluence B/C + regime D → entry → defined exit

The big question I'm struggling with is whether this is actually a sensible way to discover trading edges, or whether I'm basically building an extremely efficient overfitting machine.

I'm especially interested in hearing from people who have actually developed systematic strategies and dealt with this problem in practice. What approaches worked for you? What approaches looked promising but turned out to be statistical bullshit?

I have an independent developer sanity-checking the research so I'm not relying entirely on the model to validate itself.

Instruments currently include ES, NQ, RTY, VIX, 6E, ZN, CL and BTCUSD, with more futures data being added.

I'm not looking for a plug-and-play strategy. I'm looking for better ways to extract and validate market structure from historical data without fooling myself.

----------------------------------------------------
Non-AI gen original (TLDR vibe warning):
----------------------------------------------------

I posted something similar (less general and more specific) but it was kinda frowned upon due to it being AI-gen (I'm just too lazy to type it all and I wanted to provide more context which ended up backfiring aka TLDR welp lol). So I figure I'd try it again but with direct words.

I have a working algo that is profitable but not quite strong enough for me to go balls deep in prop firm world to scale/snag payout as optimally as possible before they cut me off (or if world gives me a break, a business contract but I only know one guy who has that perk and his algo is amazing ugh). I would like an algo that is profitable enough to pass eval in 6-8 months. I'm working on it hopefully I crack it eventually). I also am hoping to find more diverse market patterns as my current algo is mostly based on well-known concepts like mean-inversion, dip in overall bullish instrument, some volatility and ORB based concept. Combination is enough to beat prop firm but the performance is not strong enough and I hope to secure payout within a year or year and half rather than waiting years :/

One idea I really want to flirt on is this: instead of trying to test whatever market idea I can think of (which ain't much since I'm not a smart kid), I figure hey let's use AI flagship model to try to find the pattern from the historical data directly. I had some limitations cause a lot of historical data available for free often have baggage issues that makes it harder to backtest in earnest but I may have solved that problem recently so hoping it'd work out. A little worried though cause many scholarly articles seem to say AI suck at finding genuine patterns and my current edges that are incorporated into my current flagship algo is almost entirely generated based on my lucky guess not from the idea of Moneyballing by using AI to find statistically meaningful pattern from the data itself.

All my data are OHCLV 1 min data FYI

The furthest I got thus far is to try finding pattern seeking algo and I ended up with these 5:

  • ElasticNet
  • GAM
  • Decision Tree
  • Random Forest
  • Gradient Boosting

I can't seem to use the last 3 (thus far I've tried to validate the method by implanting synthetic patterns and hoping it can catch it hence proving that it can detect some patterns) but last 3 (which I assume is more intricate because I am hoping to find more complex relationship than if A -> B. I want patterns like if catalyst A is confirmed, then test confluence B and C under trading regime factor D being favorable then get in with exit strategy). First 2 seem to work but because of my limitation with data and monthly usage I wasn't able to have much luck. Monthly plan is now reset and I have far more clean data (most of them around or over 10 years worth) from various different instruments now (so no data stitching or limiting to intraday price action movements due to lack of future contract rollover info, etc) so hope that would help but I could still use some wisdom/suggestion/advice from people who already made it and have CAGR:DD ratio of 1.5+:1.

I also have a professional developer who gives me sanity test to ensure it won't be too easy for AI to seduce me with sweet sweet lies.

Would appreciate anything that may help. Leave comments here or DM me and I'll follow up :)

FYI: I tried to get whatever trading system/ideas from youtube and other platforms but attrition rate of finding a decent pattern (nevermind being economical after trading costs and some buffer) is really bad sigh :( Currently I am using ES, NQ (also have ES/NQ option data just OHCLV no Greek info like delta/theta/etc oof), RTY, VIX, 6E, ZN, CL and BTCUSD (finding reliable data prior to 2020 was a bit of a bitch but c'est la vie). I got forex pairs too but not sure how solid those data are oof. In the following day or so I hope to secure ZF, SR3, 6J, 6B (maybe more but tbc). Hopefully by the time I am done collecting the data, I get some solid ideas as to how I can improve market edge extraction process cause it's as painful as Chinese sweatshop.... lots of moving parts and labor and not so great profit margin oof.

I am hoping to get this done and out of the way so I can exploit other opportunities as well that I wish I could act on but not feasible yet due to my current circumstance (limited time and capital).

P.S. I appreciate the comments thus far but when running them on my LLM, it seem to nauseatingly point out that there are some good suggestions (mostly something we learned painfully), there isn't really any real comment on how we can make market edge discovery process actually better methodology wise. It's not an easy answer for sure (or if there is even an answer and if so, would anyone really share it?) but I dunno just my 2cents.


r/algotrading • • 22h ago

Business How do you license your algo?

9 Upvotes

Let's assume I have a profitable algo. Let's not discuss any of that here, please.

How could I actually go about to find some hedge fund or quant firm to at least consider it? What kind of non obvious statistics, track record (and length), benchmarks, data, etc would they want to know before considering investing? How do you even reach out to the right people? How can you establish trust (both ways) with them? What would you feel safe sharing to avoid any reverse engineering risk?

Thanks in advance.


r/algotrading • • 18h ago

Data I Built a Free TradingView Alternative – 65,000+ Symbols, Pine Script Support, Unlimited Indicators & All Drawing Tools for Free

212 Upvotes

Hey guys, I've been working on something called TradeScope.

Think of it as TradingView, but without the paywall.

Recently, TradingView has moved a lot of its features behind paid plans. I wanted to build an alternative where traders can access all the tools they need without worrying about subscriptions.

Here's what we've built so far:

  • 65,000+ symbols supported across multiple exchanges.
  • All drawing tools and charting features available for free.
  • Pine Script support – write your own indicators and strategies, just like you do on TradingView.
  • Publish your scripts publicly or keep them private.
  • Invite others to use your indicators and strategies.
  • Share your scripts with the community.
  • No limits on the number of indicators you can add to a chart

https://www.firstchartview.com/


r/algotrading • • 7h ago

Strategy I built a bot that calls Polymarket’s BTC 5-minute Up/Down rounds: what worked, what didn’t (live results + backtest)

5 Upvotes

I built a free bot that makes one call per Polymarket "Bitcoin Up or Down – 5 min" round: UP, DOWN or SKIP. Analysis only, no money bet.
How it works: Coinbase price corrected to Chainlink (what the market settles on), a volatility-based probability, and it only calls if the lead is big enough, the market isn't too jumpy, and Polymarket's odds agree. Otherwise it skips. A self-tuner re-adjusts the minimum lead every 6 hours.
Results:
•    Live (Nov 29 – Dec 5): 1,140 calls, 84.5% right, 487 skipped
•    30-day replay: 89–93%. Replay is about 5–9 points too optimistic.
•    Calls under 70% confidence: 75.8% right. Calls at 80–90%: 95.8% right.
The catch: on the last 130 calls, Polymarket's price at the moment of the call already implied 84.4% (break-even after fees). The bot was right 84.6%. So, about break-even. The market had already priced it in.
Lessons:
1    Skipping jumpy markets helped more than any signal.
2    Low-confidence calls cause most losses.
3    Stale minute-level prices made a fake +26% backtest. Log real prices at decision time.
Small sample, not financial advice. Feedback welcome, especially on backtesting fairly with minute-level price data.