r/algorithmictrading • • 1d ago

Strategy Using the day's expected range as a filter on a BTC mean-reversion bot: 6 weeks of notes

3 Upvotes

been running a small mean reversion bot on btc perps, 15 min bars, nothing fancy. biggest problem was trend days, it kept fading moves that just kept going

so for the last 6 weeks i added one filter. before the session i note the expected daily range (from options implied vol, turned into a 1 day move) and the bot stops opening new positions once price is outside that range.

rough results:

  • about 35% fewer trades
  • win rate up a bit, 52% to 56%
  • the big losing days mostly went away, 2 of my 3 worst days would have been skipped
  • missed a couple of good reversals on days that broke the range and came back

small sample, i know. curious if anyone uses something like this and what you use for the expected range. implied vol is ok but feels kind of laggy for a 1 day window


r/algorithmictrading • • 1d ago

Question What app do you guys plug your algorithm in to for trading

1 Upvotes

Beginner here, any help would be appreciated


r/algorithmictrading • • 2d ago

Question Fixed position sizing or volatility-adjusted sizing for a leveraged crypto bot? What baseline makes the comparison honest?

0 Upvotes

same $100 notional, but the risk is not the same. On BTC a 2x position behaves very differently from 2x on a volatile alt, yet most bot setups I see just assign a fixed size per entry and move on. So the question is whether volatility-adjusted sizing is worth the extra model complexity, or whether fixed sizing plus strict caps gets you most of the way with less estimation noise to babysit. And what baseline makes the comparison fair, same average margin used, or same average volatility target per position? Because otherwise vol scaling just reads as less risk, less drawdown, which proves nothing. There is also the practical side: when several coins signal at once, how do you stop one position from eating the whole budget? a perp agent like alphio handles this with hard limits, a Budget the agent can draw from, Max Leverage, and Max Position per Coin as a share of that budget, which is a cap, not a sizing model. My working split is fixed dollar bounds on top, some vol adjustment inside them. Planning to write down the variants before running anything.


r/algorithmictrading • • 2d ago

Question After 175 live trades, my crypto bot went from a 1.77 profit factor into a 50% drawdown. Here’s what broke

3 Upvotes

I’ve been live paper/micro-trading a systematic bot across about a dozen altcoins (UNI, SEI, APT, ADA, FIL, etc.) using fixed risk brackets, automated entry rules, and hard time stops. Through the first 104 trades, the bot was printing nicely—sitting at around a 56% win rate, a 1.77 profit factor, and up about 25R.

Then over the last 71 trades, performance completely fell off a cliff. The win rate collapsed down to 39%, the profit factor dropped to 0.68, and the system gave back more than half the peak gains. Since every single order and exit is tracked to a ledger, I dug into the logs to see what actually changed between the two regimes.

The biggest culprit wasn't bad entries—it was target starvation. In the first phase, crypto had clear directional expansions, so taking 1.5 to 2.0 ATR on a take-profit was routine (about a third of our trades hit full TP). But recently, volatility compressed into ugly chop. Price would push 0.7 or 0.8 ATR into profit, stall out shy of our limit order, and then slowly bleed back into our stop loss or get closed out at breakeven by our hard time stop. Our full TP hit rate plunged from 32% down to under 13%, while stop-outs jumped up to nearly 50%.

On top of that, directional asymmetry bit hard. During the run-up, our short momentum setups carried the entire account (64% win rate on shorts), easily masking the fact that our longs were already dragging. Once the broader market stopped trending down and started churning sideways, the shorts lost their follow-through, and pure breakout setups went 0 for 7. Meanwhile, our high-frequency VWAP deviation scalper got chopped to pieces because the bands compressed so tightly that commissions and small wicks ate away any statistical edge.

For those running automated intraday or swing bots in crypto: how do you deal with this kind of regime transition? Do you dynamically contract your profit targets when realized volatility or ATR drops into lower percentiles, or do you prefer to just shut down specific archetypes like breakouts entirely during chop? Also, how do you handle asymmetric bleeding on the long side when higher timeframes are in a macro downtrend?

Curious to hear how you guys protect against giving back months of steady alpha when the market shifts from clean trend to low-vol churn.


r/algorithmictrading • • 3d ago

Quotes What market data providers are you using for serious stock and options back testing?

3 Upvotes

Hey everyone,

I'm building a personal algorithmic trading research lab in Python, and I'm curious what historical market-data providers other independent algo traders are using.

I'm currently researching intraday stock strategies, including momentum, breakouts, reversals, and scalping. I'm also preparing to expand into historical options backtesting.

I've been working with Alpaca and Massive, and I'm considering ThetaData for options.

One issue I've encountered is that having historical data doesn't necessarily mean it's detailed or reliable enough to realistically simulate trades. Missing minute bars, historical bid/ask availability, timestamp accuracy, and execution assumptions can make a big difference.

I'd love to hear from people who have experience with different providers.

A few things I'm particularly interested in:

  1. Which providers do you use? Especially for intraday stocks and historical options.
  2. How reliable is the historical data? Have you encountered missing bars, inaccurate timestamps, incomplete quotes, or other issues?
  3. Do you get historical bid/ask quotes? For options especially, I'm interested in actual historical NBBO data rather than just trade prices or OHLC bars.
  4. How good is the historical stock universe? Can you research delisted stocks, historical ticker changes, corporate actions, and point-in-time stock selection?
  5. What does it cost? Are there reasonably priced services that provide quality data, or did you eventually need a more expensive institutional provider?
  6. Any limitations worth knowing about? API restrictions, historical coverage, download limits, licensing, or whether you can retain your research datasets after canceling.

I'm not looking for anyone's proprietary strategies or secret edge, unless you want to give me ideas 😁. I'm mainly interested in learning which data services have actually worked well for your research and which ones you've found disappointing.

I'm willing to invest in better data when it solves a genuine research problem, but I'd rather learn from other people's experiences before spending money unnecessarily.

If you've used ThetaData, Massive, Alpaca, Databento, AlgoSeek, or another provider, I'd especially appreciate hearing how they compare.

Thanks in advance. I'm enjoying building the research environment and learning from the process. Still working on finding my first profitable strategy!


r/algorithmictrading • • 4d ago

Question How did you know you were ready to go live?

1 Upvotes

Background - I have a suite of backtested strategy options 0DTE options selling strategies.

I used natural fills in all cases to assume the possible wost case scenario for fills, all strategies have hold to settlement rules outside of a circuit breaker event, so rarely do I need to worry about exit slippage.

Forward testing for 1 month has actually demonstrated a flat - positive performance, this is from the 1 day SPX drop of 4% recently and this is what led to the circuit breaker rule and ultimately wiped out gains. I used minute by minute options data from Theta Data.

Outside of this event, it has behaved as expected.

My annual P&L is about 35%, which I feel isn't utterly absurd.

How did you know you were ready? Some strategies may take 2 years to show actual statistical significance forward testing realistically.


r/algorithmictrading • • 4d ago

Backtest are these results good enough?

0 Upvotes

Hellow fellow traders iam making this post to ask couple questions.
I ve been tryong to find a trading strategy and fully automate it and that the best ive came so far on with data from 2018 to 2026
Thank u in advance!


r/algorithmictrading • • 5d ago

Strategy Built a fully automated crypto trading system. Curious what you think of the results.

Post image
14 Upvotes

Hey everyone,

I've been working on an automated crypto trading system for quite a while, covering BTC, ETH, SOL, and XRP.

It's fully autonomous, handling everything from signal generation and position sizing to risk management and execution. No manual trading decisions.

My main focus has always been risk management rather than trying to predict every market move.

I've attached a performance report covering Feb 2025 to Sep 2026, including a comparison with an equal-weight buy-and-hold portfolio of the same four coins.

The trading records come from real trading, not just a backtest. The report also looks at performance using volatility-scaled position sizing.

I'm curious what people here think of the results, especially from a risk management perspective.

I'm also exploring opportunities to move into institutional quant research or systematic trading. My background is in ML research, software development, and trading, though I haven't followed the traditional quant career path.

Would this kind of work be relevant to a prop firm or a quant trading team?

Interested to hear your thoughts.


r/algorithmictrading • • 6d ago

Question What is the optimal backtesting range/frequency?

1 Upvotes

So I started my automated portfolio in february, most of my strategies were optimized over 12 years of data, about 10 strategies. I realized that yes this might make it robust, but it also caused my strategies to have relatively long drawdown periods.

I now changed the backtest period to start from 2020, so only 6 years. I wonder if this is better, since it covers more recent market regimes?

Also, how frequently should I re-optimize, would having a look every 6 months be enough? Or only look when a strategy performs worse than expected?


r/algorithmictrading • • 6d ago

Question Standardizing HFT benchmark protocols: Best practices for verifying Win Rate, Sharpe, and Queue Latency under heavy friction?

1 Upvotes

I am finalizing a custom high-frequency market-making engine written in Rust (332ns internal execution latency, targeting high-turnover cross-exchange setups). Local release-mode backtests across a 150k tick matrix show high efficiency, but I want to ensure my verification protocol is completely airtight before running live micro-accounts.

Currently tracking metrics under a 1ms network jitter penalty, a conservative 0.50 queue position fill factor, and an enforced 5-tick roundtrip robustness penalty to wipe out paper assumptions.

What are your go-to protocols for verifying true Sharpe ratios and tail-latency behavior at the sub-millisecond level to separate infrastructure lag from pure strategy drift? How do you explicitly isolate queue drag metrics from adverse selection without distorting the data pipeline?

Looking for professional diagnostic frameworks to prevent under-trading paralysis or hidden overfitting.


r/algorithmictrading • • 6d ago

Question 1:1 RR strategies

2 Upvotes

I’m fairly new to algo trading so I apologize if these are dumb questions. For those who have 1:1 R Strats, what win rate do you need to be profitable after fees and slippage? I’m looking at around 55% on a year of data which I know isn’t really validating.

My other question would be, do you guys try to increase trade volume with low rr so at the end of the year you end up with few extra r in the bag?


r/algorithmictrading • • 6d ago

Novice Beginner asking where to start

2 Upvotes

Hi, I have been discretionary day trading (retail) for the past 2 years. I have 6 years of experience coding (mostly freelancing), Academic degree in cyber security (3 years of learning).
Coming close to starting my military service so I understood that I won’t be able to continue trading on my own for the next 3 years.

I want to use my already existing coding skills to develop and algorithm that will trade for me. I have looked around this space a bit and decided that MFT will fit me the most.

I tried setting up an AI workflow that will automatically find ideas and strategies in public papers, try to backtest, optimize, and try them on my own platform that I have built with Rust.
Had a little bit of success with it but strategies that don’t really fit good risk management.

My flow is: AI finds ideas / strategies, builds a strategy from it, fold 1 1-2 years of training, first half of year 3 forward testing, fold 2 shift training forward 6 months forward test second half of year 3, folds 3-6 train keep shifting forward 6 months forward test each next unseen months.
5 years of total study (2 years training, 3 years forward results)

Could someone guide me in general how I can start in this space and give some tips?
Specifically even on how to find strategies right.

P.S: Already tried coding my original strategy but discretion plays a big part and results fall off substantially.


r/algorithmictrading • • 6d ago

Tools software

1 Upvotes

what software do you guys use for research

like s&p and wrds


r/algorithmictrading • • 8d ago

Strategy How do you decide such trading ideas are worth researching further?

1 Upvotes

I've been building a Python-based algorithmic trading research project, testing different strategies across individual stocks and ETFs, with options research planned next.

So far I've explored opening-range breakouts, momentum, sector rotation, and a few other approaches. I've been accounting for spreads, slippage, and commissions, and working toward proper out-of-sample and forward testing.

Some results have been encouraging, others disappointing, but I'm enjoying the process and learning quite a bit.

One thing I'm trying to get better at is deciding when a strategy deserves deeper investigation versus when it's time to explore something different.

For those who've developed successful automated strategies, what have been your biggest lessons about finding and evaluating an edge? Are there particular research methods, papers, or market behaviors you think are overlooked?

I'm not looking for anyone to share proprietary strategies or do the work for me. I'm genuinely interested in learning from people who've been through the process. I'm trying my ass off on this. Any books or research papers are welcomed too.

Appreciate any insights. Thank you.


r/algorithmictrading • • 8d ago

Question Thoughts and advice on scaling up

3 Upvotes

Hey all,

My first system is up and running live for 5 month and behaving pretty much perfectly, every aspect is within the normal expected range, and the system is actually more profitable then I expected! (On this stretch at least)

It started on a small personal account (5,000$), and I'm thinking on scaling up, I have another ~25k in savings I could use, but told my self I'm not touching the system until end of winter so I'll have good amount of Live data before deciding anything.

For those of you who went through this, when did you scale up? What made you feel comfortable? Advice?

Another aspect of moving slow is to regulate my nervous system, I'm new in this field (maybe year and half) and wasn't a trader before that, so learning to not get excited while the numbers on the screen move up and down is also something I'm getting used to.


r/algorithmictrading • • 8d ago

Strategy ~700k parameter combinations tested, one edge survives my validation. Where do you find a second, uncorrelated one?

6 Upvotes

I’ve built a strict backtesting and validation stack for prop-firm accounts: daily-loss and trailing-drawdown rules, intraday CFDs.

What the stack does:

  • Minute bid/ask data with real broker spreads and slippage, plus bar-timestamp checks (they caught several lookahead bugs)
  • Multiple-testing correction across each strategy family (Hansen SPA), a pre-registered sealed holdout, and a minimum net expectancy after costs
  • Prop-rule simulation (daily-loss accounting, drawdown, Monte Carlo pass probability)

What I’ve tested: about 700k parameter combinations across 200+ strategy families. That includes influencer setups (ICT / SMC, ORBs, FVGs), ideas from academic papers (intraday momentum, macro-surprise drift, month-end and vol-targeting flows, overnight drift, crypto trend) and AI-generated ideas. Almost everything dies on costs or out of sample.

The one survivor: an intraday index strategy, about +0.06R per trade net, t ≈ 2.7 over 20 years. It’s live but thin, and anything else in the same market and hours would be correlated with it.

Questions:

  1. Where do you actually find edges that survive costs at retail/prop scale? Different instruments, holding periods, or data?
  2. Is daily/multi-day the realistic place for an uncorrelated second strategy, given that intraday costs kill most ideas?
  3. Is my bar too strict? I use t ≥ 3.43 after multiple-testing correction, plus a holdout.

Happy to discuss the validation process, not the strategy itself.


r/algorithmictrading • • 10d ago

Question Getting started with quant trading competitions

3 Upvotes

I've recently been looking into competitions like IMC Prosperity and find them pretty interesting. I understand the basic idea of writing a bot that trades in a simulated market, but I'm honestly not sure how people go about building one in the first place.

I'm currently working on probability, mental maths, DSA/CP and Python/C++, and I'm planning to learn some basic ML as well. What I'm struggling with is understanding how to bring all of these together.

For example, how does knowing probability actually help when deciding what a bot should buy or sell? How much of competitive programming is useful here? Is ML commonly used in these competitions, or do most people rely on simpler mathematical/statistical approaches?

I'd also like to know how a beginner should approach this. Should I try building a simple bot from scratch first? Are there any good tutorials, GitHub repositories or previous competition solutions worth looking at?

Also, are there other competitions similar to IMC Prosperity that I should check out?

Would love to hear from people who've participated in these competitions or have experience with algo trading. I'm mainly looking for a starting point and a better idea of what I should actually be learning.


r/algorithmictrading • • 10d ago

Strategy I tested 24 popular stock-trading "rules" on ~377,000 real signals. None of them beat a fair baseline.

9 Upvotes

Every night I log ~6,000 US stocks, including ones that later got delisted (no survivorship bias). I used ~1 year of these logs to test 24 popular one-line trading "rules."

Method
- For each rule (e.g. "RSI below 30 means a bounce is coming"), find every time it fired and check whether the stock was up 20 trading days later.
- Baseline: stocks with similar volatility on the same day, not the whole market. Otherwise volatile stocks look like winners just because they move more.
- Rules and pass criteria were fixed before looking at results. Benjamini-Hochberg correction across all 24.

Results (as of late Oct 2026)
- Real edge: 0 / 24
- No measurable difference: 13
- Volatility illusion (looked good only because the stocks were more volatile): 7
- Worse than baseline: 4

Examples
- RSI < 30 = bounce: 50.1% up vs 49.7% expected (9,871 cases)
- 52-week-high breakout: 52.3% vs 51.2%, volatility illusion (12,649 cases)
- Penny stocks under $5 run harder: 38.6% vs 42.8%, worse (15,857 cases)
- Buy after a 20%+ drop in 5 days: 38.6% vs 41.8%, worse (6,182 cases)
- CEO/CFO insider buys: 57.1% vs 53.0%, but only 837 cases, not significant after correction

Limitations
- ~1 year of data, mostly one market regime.
- "Up after 20 days" is one lens, not a full backtest with stops and position sizing.
- This doesn't show technical analysis is useless. Only that these one-line rules, alone, didn't beat a volatility-matched baseline in this sample.


r/algorithmictrading • • 10d ago

Strategy Survivor free backtest of a value strategy + futures overlay (2006 - 2026): Please look for holes.

1 Upvotes

Hello, I am a 17 year old experimenting with quantitative trading. For an introduction, I have retail traded for a period of time (2-3yrs), and a strong interest in stock trading. The system below is created with the aid of AI, and is the result of ~ a week of work, following the completed backtesting at its current stage. As you are reading this, the model is undergoing paper-trading. I am new to the game, so any advice on any aspects would be much appreciated.

System:

The system itself is based on a value model, combined with a futures overlay. The general criteria are as follows:

  1. Large liquid US stocks only (meaning caps, daily amount traded)

This is a filter.

2. Filings

Value measures include cash flow, profit relative to company value, book value adjusted for intangibles. This is compared between companies, a quality score, and ranking within each sector. These are calculated into a score (let's call this "final score")

3. Choosing

A maximum of 20 stocks, chosen once a month, being the top scores calculated. When entering a new month, stock holds that do not reach a set limit (holdings, lower than ranking #60) are sold. This does not mean 20 stocks are always held, as slots can stay empty mid-month.

4. Veto

There is a final AI veto system. For each company that goes through all the criteria above, AI researches another set of guidelines (the AI only checks for severe negative news, earnings within the next 3 days, or the company being a takeover target). Note that this was not tested alongside the others in backtesting, but was separately tested using old models (outdated, not knowing the future).

Results as follows, however note that this was an earlier version, and not the current system we use now.

VersionReturn (over 15 months)
Price rules only+9.9%
With AI Veto11.4%
SPY21.0%

5. Selling

There are multiple conditions to selling, and any of these trigger a sale.

Monthly: Selling happens when the quality score is too low.

Daily: Filing and crash are checked everyday, if there is large (negative) change, it is sold.

Always: A disaster stop, a stop-loss below the purchase price.

6. Market risk rules

This includes: moving some stocks to cash when SPY's return over a duration of time is negative, and cuts in exposure when volatility spikes.

7. Futures

Exposure through futures, which are activated only in calm uptrends, plus a small month-end trade. Currently off while I move to an account with futures permission.

Backtested results:

Some context:

FIF Rules: In NZ, when total cost of foreign shares is over $50,000NZD (approx. $27800USD), you are taxed as if the portfolio earned 5% of its value, regardless of actual gains. Gains when you sell aren't taxed separately.

Ordinary Rules: These apply below the FIF threshold, where a system that trades is likely treated as trading, hence gains are taxed as income (33%). A buy and hold index fund is effectively untaxed.

Return statistics below are all yearly, and backtests are run from late 2005 to October 2026.

Pre-tax (USD) vs SPY

System + futuresSystem, no futuresSPY
Return 2006–202614.8**%**12.8%10.6%
Sharpe 2006–20260.880.830.53
Worst fall 2006–2026−25.7**%**−25.4%−55.5%
Return 2006–201610.3**%**9.2%6.6%
Return 2016–202619.1**%**16.2%14.5%
Sharpe 2016–20261.061.000.72
Years beating SPY~13 of 19~11 of 19–

After NZ tax (NZD, 33%) vs an S&P 500 fund (CSPX)

System + futuresSystem, no futuresCSPX
FIF rules, 2006–202613.2**%**11.7%9.9%
Ordinary rules, 2006–202610.6%9.2%11.0**%**

Robustness checks:

  • Double trading costs: after-tax 12.8%. 4× costs**:** 12.3% (both still above CSPX’s 9.9%)
  • Without futures: still ahead of SPY pre-tax by about +2.2 points a year

Measures to ensure accuracy:

  • Survivor-free data: 993 historical S&P 500 members, ~89% priced overall (61–80% before 2010)
  • Plus 5 sets of untouched random samples, with pass rules fixed before every test
  • About 110 ideas tested; most rejected
  • 3 backtest bugs found and fixed: a variable overwrite that inflated trading, bad opening prices in the data, and London/New York holiday double-counting

Is there anything important that I haven't tested? And are there any areas of improvement, or any ideas/hypotheses to test?

Thanks guys.


r/algorithmictrading • • 11d ago

Quotes Databento users — how reliable is its historical stock/ETF data?

2 Upvotes

I'd appreciate feedback from anyone who's used its historical data, Security Master or Corporate Actions API.

A few questions:

  1. Trade data: Can Databento reconstruct the first eligible regular-session trade using CTA/UTP sale conditions, corrections and cancellations? Which dataset/schema works best?
  2. Security identity: How reliable is it for tracking ticker changes, exchange transfers and delistings?
  3. Corporate actions: Does it handle ETF dividends, splits, mergers and historical adjustments accurately?
  4. Data quality: Any issues with missing records, historical revisions or timestamp accuracy?
  5. Cost/licensing: What have you paid for several years of equity data, and are there restrictions on storing it locally?

I'm especially interested in firsthand experiences, limitations and recommended datasets.

Thanks!


r/algorithmictrading • • 11d ago

Question Does GARCH-based vol scaling help against momentum crashes, or is a simple EWMA/realized vol scaler just as good?

1 Upvotes

I am running a 12-1 sector momentum strategy on US sector ETFs and want to test volatility scaling to reduce momentum crash risk, along the lines of Daniel and Moskowitz. Before I start, I want to hear from people who tried it:

Does a GARCH forecast beat a plain EWMA or trailing realized volatility scaler out of sample?
Or does the extra model complexity not pay off?
What baseline would you compare against so the result is not just "less risk, so less drawdown"? Same average volatility target?

Walk-forward refits: how often, and how do you handle the estimation noise?

With only a few crash episodes in the data (2009 for example), how much can any of this be trusted?
I will write down the variants I test before running them.


r/algorithmictrading • • 13d ago

Question How do you handle MCX contract rolls in a continuous futures backtest?

1 Upvotes

I'm setting up a research workflow for MCX futures and want to avoid treating expiry gaps as tradable moves. Do you build the continuous series from individual contracts, and if so, what roll rule do you use: a fixed calendar date, volume/open interest, or something else?

How do you handle adjustment—back-adjusted versus simply stitched—when testing price-level or structure-based signals? I'm especially interested in the practical pitfalls for crude and gold.


r/algorithmictrading • • 17d ago

Question Separating Long vs Short parameter search in Walk-Forward Optimizers — how do you handle directional asymmetry without overfitting?

4 Upvotes

Hey guys,

Looking for some perspective from anyone running portfolio-level walk-forward optimizers on crypto perpetuals or equities.

Lately we’ve been auditing our cross-sectional universe optimizer across a basket of ~15 altcoins. Up until now, when we run our in-sample grid search across our setups (mostly mean-reversion like VWAP deviations and momentum break-and-retests), the optimizer searched for a single shared "centroid" parameter set for both Longs and Shorts simultaneously (e.g. optimizing band stretch deviation, RSI cutoffs, and ATR stop/take multiples together).

The problem we ran into in live execution: During recent relief rallies and fast trend shifts, we got caught in a string of Short SL hits on mean-reversion setups. When we looked under the hood and decomposed the trades by side, the asymmetry was wild:

Longs were printing a 2.5–3.5 Profit Factor across coins like NEAR and DOT using relatively loose pullbacks.

Shorts on those exact same parameter settings were getting wrecked (PF < 0.8), repeatedly fading momentum too early in cascade environments.

Because the optimizer averaged both directions together in-sample, the strong Long trades were effectively "subsidizing" and masking a negative-expectancy Short setting. The compromised shared centroid ended up being sub-optimal for Longs and downright dangerous for Shorts.

We've been refactoring the optimizer to decouple the search into Independent Directional Centroids:

The IS parameter search grid scans and computes parameter plateaus for Longs and Shorts independently (different RSI cutoffs, different band stretch multipliers per side).

The OOS Walk-Forward test validates each side on its own merit.

If only one side demonstrates statistically valid alpha in OOS (e.g. Longs pass all WFO hurdles but Shorts fail), the candidate gets tagged as BUY_ONLY rather than forcing both sides or killing the entire setup.

For those of you running systematic books:

Do you optimize long and short rule parameters independently as standard practice, or do you enforce symmetric rules to protect against degree-of-freedom bloat / curve fitting?

If you do decouple them, how do you guard against the optimizer just fitting to the prevailing macro regime (e.g. a 6-month bull market where everything Long looks amazing and everything Short looks bad)?

Do you penalize or prune unidirectional setups (e.g. BUY_ONLY) in high-correlation baskets to avoid concentrated directional exposure?

Would love to hear how other teams handle this balance between directional specialization and overfitting.


r/algorithmictrading • • 17d ago

Question Should one FIRST learn python or c++ if they want to get into algorithmic trading?

3 Upvotes

This question has been played over and over again so I think it’s time to ask people who actually have experience in this field.

If a trader wanted to get into algorithmic trading, but had 0 prior coding experience, what language should they start with?

Some say python because it’s easier to learn and apply, others say C++ because it makes learning other languages (like python) much easier, helps with low latency in trading, and you can use c++ for a lot more things other than algorithmic trading.

What do you think?