Dave Bergstrom (@Dburgh) header
Dave Bergstrom (@Dburgh) profile picture

Quant Trader for High Frequency Trading firm. Mostly C++, Python, and Charts. Checkout Build Alpha @buildalpha software below

Joined April 2011
Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)Photo by Dave Bergstrom (@Dburgh)
I feel as though, for some traders, there will be many "ah-ha" moments in @Dburgh's interview... 💡 cwtrd.rs/ep_103
11
6
75
Nicely done!!
Replying to @PrometheusCHT
I'm rather pleased to say, continuing on from October's strong PnL, November was another month where the portfolio was up double digits intra-month, alas, I couldn't keep it all into month end... Fortunately, I kept most of it as our US shorts performed handsomely: up ~8% for November. Nb. This is a low net, effectively market neutral book.
1
2
10
1,551
Dave Bergstrom retweeted
What if your entry logic is fine and your fill price is what's killing the edge? One finding from early LLM orchestration + Build Alpha experiments: changing the entry order type and price level often delivers more bang for your buck than having the LLM author another entry signal. Here’s 10 entry ideas worth adding to your library: 1. Daily open ± k × ATR 2. VWAP ± k × ATR 3. Opening range high/low 4. Previous day's high/low 5. Overnight high/low 6. N-bar high/low (Donchian) 7. Signal-bar retracement % 8. Partial gap fill 9. Moving average ± k × ATR 10. Compression-range breakout What are some entry types in your library?
4
8
74
5,511
Dave Bergstrom retweeted
Your signal isn't broken. The environment just changed. Build the entry, build the exit... but never check regime sensitivity. An unfortunate common pitfall. Six conditions worth running your strategy through: 1. VIX term structure → Is the market pricing fear or complacency? 2. Yield curve shape → Is liquidity expanding or contracting? 3. Market breadth → Is the move supported broadly, or just a few names? 4. Gamma exposure → Are dealers likely to dampen or amplify volatility? 5. COT positioning → Are commercial hedgers leaning heavily one way? 6. Credit spreads → Is risk appetite opening up or quietly closing? Ignore these at your own peril. They impact your strategy regardless. The simplest application is testing an ON/OFF filter. The more advanced use scales position sizing to the environment. Test your strategy through all your saved position sizing scalers with one-click.
6
20
1
236
26,540
Dave Bergstrom retweeted
Most traders think of Average True Range (ATR) as a proxy for volatility. But ATR can control 5 different components of a trading strategy. 1. Volatility-adjusted entries Instead of buying a breakout at a fixed 15 points above the open, use: Entry = Open + 2.5 × ATR(20) Your entry automatically adapts to the current volatility environment. 2. Dynamic stops and profit targets A 20-point stop might be enormous in a quiet market and meaningless in a volatile one. Using 2 × ATR for a stop allows your exit distance to expand and contract with volatility. 3. Market regime detection Compare short-term and long-term volatility: ATR(20) > ATR(252) → Volatility expanding ATR(20) < ATR(252) → Volatility contracting 4. Volatility-based position sizing Position Size = Dollar Risk / (ATR × Point Value) As volatility doubles, position size halves. Targeting consistent dollar risk per ATR unit instead of blindly trading the same number of contracts regardless of environment. 5. Continuous position scaling Rather than turning a strategy ON or OFF based on volatility, adjust exposure gradually Size Multiplier = ATR(252) / ATR(20) Low relative volatility → Increase exposure. High relative volatility → Reduce exposure. No arbitrary binary threshold. No need to eliminate trades entirely. And every one of these should be systematically tested to make smarter, dynamic systems.
9
27
5
301
56,459
Dave Bergstrom retweeted
A smarter loop that runs while you sleep. Most search algorithms like a genetic algorithm search inside a box. If the productive region (undiscovered alphas) sits outside your box, no amount of compute can find them. The LLM orchestrator now detects a plateau during strategy discovery and moves the search box. Parameters are values inside a strategy. Hyperparameters define the search itself, which signals are available, what metric we’re optimizing , which regime filters, etc. If generation stops improving then AI can now modify hyperparameters so progress doesn’t stall. BA has 7,000+ signals across 17 categories. If none work or can’t improve, then the connected AI can write its own signals mid-session. Every round logs what changed, failed and why. Automatically saved in memory for future runs. Software getting smarter the more you use it.
1
8
44
3,447
Dave Bergstrom retweeted
If your trading strategy can’t beat random noise, what evidence do you have that it actually has an edge? Timothy Masters, a statistician and author of Testing and Tuning Market Trading Systems and Permutation and Randomization Tests for Trading System Development, has written extensively about using Monte Carlo permutation tests to distinguish genuine market structure from statistical luck. The Monte Carlo Permutation Test (MCPT) shuffles historical OHLC price movements to generate 1,000+ synthetic price paths, disrupting the original market’s temporal structure. Your strategy is then backtested on each synthetic market. The result is a p-value measuring how your original strategy’s performance compares with the randomized results. PASS: Your strategy performs (significantly) better on real market data than on the shuffled alternatives. FAIL: results indistinguishable from MCPT results. A beautiful equity curve isn’t proof of an edge. Now you can find out before risking capital. Build Alpha can automate this test as part of a sequential workflow.
14
24
1
200
12,998
Dave Bergstrom retweeted
NQ algo based on Pullback after a Break of structure ICT logic, Long only strategy on 15 Min, found with @buildalpha
6
3
16
3,017
Dave Bergstrom retweeted
Most traders overfit entries. It’s easy to do now. The quiet killer is an overfit exit. The Randomized Monte Carlo test checks this directly: 1. Every entry stays fixed 2. Exits are randomized on each trade 3. This is repeated 1,000 or more times Pass: most of the paths stay profitable. Fail: profitability collapses, which suggests the exits were overfit. You find out before you risk capital. Build Alpha runs this test automatically and can filter strategies by the result.
3
8
1
114
7,703
Dave Bergstrom retweeted
The beauty of automation is you can trade 16 mediocre strategies instead of attempting to flawlessly execute 1 perfect strategy. And 16 mediocre can mathematically produce an excellent portfolio. Sharpe ratio measures how much return you earn for each unit of volatility you take on. Portfolio Sharpe scales with the square root of independent bets. Start with a strategy that has a Sharpe of 0.5. Combine equally risky, uncorrelated strategies with the same Sharpe: Sharpe * square root (indep bets) • 1 strategy → Sharpe 0.5 • 4 strategies → Sharpe 1.0 • 9 strategies → Sharpe 1.5 • 16 strategies → Sharpe 2.0 You quadruple risk-adjusted performance without improving a single strategy at 16 strategies. Stop optimizing the perfect strategy. Start finding strategies that move differently from everything you already trade. But what does moving from Sharpe 0.5 to 2.0 actually mean? Assuming 10% annual volatility, a 4.32% risk-free rate, and normally distributed returns: Sharpe 0.5 → 82% probability of a profitable year. Sharpe 2.0 → 99% probability of a profitable year.
6
15
1
88
5,043
Rare to see data on prop firms
I ran one portfolio of futures strategies through 502 prop firm challenges from 22 different prop firms. Nothing changed between runs except the challenge. The big takeaway? Test your trades on the exact prop firm’s rules. It can make a BIG difference in which challenge you should buy. Here are some of the data findings: 1. Expected net per attempt ranged from +$27,822 to -$2,883 2. The median challenge was worth $2,349, about 1/12 of the best 3. 134 challenges had a higher pass rate than the winner. All paid less 4. Same firm, same account, same price: one payout option paid $27,822, the other $14,971 5. The median $25K account was worth $616. The median $150K was worth $4,270 The best prop firm challenge is not the cheapest, the biggest or the easiest to pass. It is the one that fits your trades. The Challenge Finder runs this in BA. Full write-up with charts in the first comment 👇
3
17
1,649
Dave Bergstrom retweeted
Jim Simons’ Medallion Fund reportedly increased its Sharpe ratio from ~2 to ~6 by expanding into new markets and improving its trading techniques. There’s an important lesson here for systematic traders. Portfolio Sharpe theoretically scales with the square root of independent bets. But finding truly independent bets is the hard part. Here’s how better portfolio construction helps: 1. Select strategies by their marginal contribution to portfolio Sharpe, not standalone performance. 2. Cluster similar strategies to avoid loading up on the same underlying risk. 3. Allocate by risk contribution rather than equal capital. 4. Measure downside correlation. Strategies that appear uncorrelated can lose together during market stress. 5. Diversify across markets, timeframes, and trading styles. 6. Monitor correlations as they change over time. The goal is to find strategies that make each other better. Stop optimizing individual strategies and start thinking at the portfolio level
5
21
2
188
14,744
Dave Bergstrom retweeted
Replying to @buildalpha
Amazing update man...!! It's just awesome. Best trading software available for retail traders. Period. And, excited for the next upcoming update. Especially, for the Live execution layer and CFDS prop firm simulator. You ain't human, You are an Alien. 👽 ThankYou So much. ♥️
1
2
5
709
It is truly amazing work. Congrats also on the new family member. Moreover, just know that I will use MCP, but I will still most likely use the terminal like its 1992
Build Alpha v3.2 update is live. Check your inbox! What's new: -MCP. Control BA from your LLM -Prop Firm Simulator. Test any strategy or portfolio across challenge and funded stage -Challenge Finder. Test any strategy or portfolio across 800+ prop firm challenges to find the best. -MT5 data downloader. Export data from MT5 directly into Build Alpha with one-click. All symbol settings included. Full write up in the first comment. Thank you!
1
2
12
1,682
Proud of this one
The biggest feedback from v3.2 launch this week -MCP makes it way easier to use Build Alpha -Prop traders were buying challenges that were NOT the best fit for their strategies Most common feedback: MCP makes building and testing strategies easier. No more button clicking or searching. Just type and Claude configures/runs Build Alpha. Productivity way up 📈 Next feedback: The Challenge Finder is opening many prop traders' eyes. Prop trading is a game with published rules. Many buy challenges because the rules "seem" beatable. Many buy challenges because lower fees. The Challenge Finder just tests all Prop Firms at once and ranks them against your portfolio. You get a quantified answer of which challenge is the best to buy. Basically, no more blindly buying prop challenges because there is a coupon code 😅. Coupons are also included in the simulator fwiw.
1
27
1,471
Dave Bergstrom retweeted
Replying to @buildalpha
You are just unbelievable, no clue how you do so much. BA is an amazing software suite that I never could have imagined when I started trading 28 years ago. A good time to be a trader thanks to all your work on developing BA into the best trading software ever developed for traders. Thanks for changing the game and your constant commitment to improvement.
1
2
13
703
Dave Bergstrom retweeted
Build Alpha v3.2 update is live. Check your inbox! What's new: -MCP. Control BA from your LLM -Prop Firm Simulator. Test any strategy or portfolio across challenge and funded stage -Challenge Finder. Test any strategy or portfolio across 800+ prop firm challenges to find the best. -MT5 data downloader. Export data from MT5 directly into Build Alpha with one-click. All symbol settings included. Full write up in the first comment. Thank you!
16
8
2
47
6,095
Excited to get this out to everyone!
Introducing MCP for Build Alpha Releasing soon. Control Build Alpha from a prompt. Build strategies Create signals Plot indicators Automated robustness Portfolio construction Prop simulations Export code and more... 🫶
3
7
25
1,935
Dave Bergstrom retweeted
Introducing MCP for Build Alpha Releasing soon. Control Build Alpha from a prompt. Build strategies Create signals Plot indicators Automated robustness Portfolio construction Prop simulations Export code and more... 🫶
18
18
2
86
5,564
Dave Bergstrom retweeted
Prop Challenge Finder Find the challenge your portfolio is best for Pick one portfolio and run it through every challenge in the database of 500+ prop challenges Then rank each prop firm challenge by · expected net per attempt · passing probability · days to pass · expected cost to get funded · Prop ROI · etc. And view how each simulation path faired. One portfolio against every challenge. A strategy or portfolio may fail one firm’s rules but pass another’s. Blindly buying challenges without knowing which are best suited for your trading style is an avoidable mistake. I call this the "Challenge Finder". It will ship this week.
3
8
2
46
3,736
Dave Bergstrom retweeted
Prop Firm Math part 4: two strategies that usually fail a prop challenge can pass together. Strategy 1 Mean Reversion: · Makes about $120 on normal days · Loses $2,000 on crash days (5% of days) · Wins 69% of days Strategy 2 Trend: · Loses about $100 on normal days · Makes $2,500 on crash days · Loses 66% of days Both have positive expectancy on their own. Run each through LucidFlex 50K rules: $3,000 target, $2,000 trailing drawdown, 50% consistency rule. 20,000 simulations each: Mean reversion passes 32% ❌ Crash days blow straight through the drawdown. Trend passes 30% ❌ It bleeds into the trailing drawdown while it waits for big days. But put both in one account. Same rules, same size. Passes 84% ✅ Why? They lose on different days. The crash days cancel out, and mean reversion’s steady gains cover the trend bleed. The account rarely gets near the drawdown. Compare that with running them in two separate accounts: a 53% chance that at least one passes, but you pay two fees. Together: 84% for one fee. Prop challenges don’t grade your P&L... they grade your path. Stop judging strategies one at a time looking for the perfect one. Think what does this strategy do to the portfolio’s path? That’s what the prop firm simulator I’ve built searches for: the combinations that pass.
9
7
2
58
7,390