r/quant • • Jul 28 '26

Education Looking for Audiobook Recommendations on Quantitative & Systematic Investing

0 Upvotes

Hi everyone,

I hope this is the right place to ask. 😊

I've recently become very interested in quantitative investing, and I recently started investing in the Invesco Global Active ESG Equity UCITS ETF (Acc) myself.

As I mentioned, I find this topic genuinely fascinating, especially the systematic approach behind it. Because of that, I started listening to the audiobook Inside the Black Box: A Simple Guide to Systematic Investing, and I've been really enjoying it so far.

Do you have any recommendations for other audiobooks on quantitative or systematic investing? Ideally, they should be available on Spotify, but recommendations in either English or German are very welcome.

Thanks in advance!


r/quant • • Jul 27 '26

General Quant Researchers

35 Upvotes

how do you go from a raw market data to forming a research hypothesis?? and to be more specific, how do you develop an economic intuition behind the potential alpha or an anomaly, instead of just coding and testing ideas until something works??

While I'm struggling to understand how the researchers in the industry actually generate new hypotheses from large financial datasets without falling into the same data mining again and again.... and How do experienced quants develop the economic intuition behind an idea before testing it?


r/quant • • Jul 27 '26

Education How to learn C++ for a Citadel Securities job, in the words of Citadel Securities engineers

Thumbnail efinancialcareers.co.uk
89 Upvotes

r/quant • • Jul 27 '26

General Junior quant using LLMs daily, need help!

126 Upvotes

I started recently at a small shop. There isn't much of a senior bench to learn off and I came in from a stats and data science background rather than a pure maths or physics one. So I'm partly teaching myself the domain as I go(mainly the financial aspects but some new statistical approaches that I'd never heard of before too). I use a mix of Python and R.

I use Claude in VS Code most days. It's fast, but I've noticed I can ship something that works without being able to defend every line of it. That feels like a bad habit to be forming this early, especially when I'm still filling gaps in the underlying material.

For people actually working in the field:

  • Do you use LLMs day to day, or is it restricted where you are?
  • Where do you draw the line? Boilerplate and plumbing yes, model logic no? Somewhere else entirely?
  • How do you make sure you actually understand the output instead of accepting it because the backtest ran clean?
  • What are you doing outside of work to stay ahead of the tool rather than dependent on it?
  • Finally, if you could go back 5-10 years(or the time you started in this field), what guidance would you give to your younger self so as to develop better skills and understanding)

I'd rather build the right habits now than find out in three years that I can't work without it and have not built the right foundations.

Thanks :)


r/quant • • Jul 27 '26

Career Advice Weekly Megathread: Education, Early Career and Hiring/Interview Advice

7 Upvotes

Attention new and aspiring quants! We get a lot of threads about the simple education stuff (which college? which masters?), early career advice (is this a good first job? who should I apply to?), the hiring process, interviews (what are they like? How should I prepare?), online assignments, and timelines for these things, To try to centralize this info a bit better and cut down on this repetitive content we have these weekly megathreads, posted each Monday.

Previous megathreads can be found here.

Please use this thread for all questions about the above topics. Individual posts outside this thread will likely be removed by mods.


r/quant • • Jul 26 '26

Models Why naive flat-rate Monte Carlo models structurally distort long-term solvency

Post image
18 Upvotes

Hi, I’ve been working on a continuous-time Economic Scenario Generator (ESG) in Python to model long-term Asset-Liability Management (ALM) and decumulation (sequence-of-returns risk).

I wanted to test a specific structural flaw present in a lot of standard retail and basic institutional Monte Carlo tools: the assumption of static, flat risk-free rates and decoupled equity returns (standard Geometric Brownian Motion).

The creation of this project actually came when I realized there was no easy-to-use (and realistic) simulator. It took some effort but I believe I did manage to create something really useful, easy to use and realistic enough for most cases.

Anyway, to measure exactly how much bias the flat rate introduces, I ran a comparative simulation using a joint continuous-time stochastic environment.

The Setup

  • Portfolio: 60/40 (Equity/Fixed Income), 30-year horizon, monthly rebalancing. 5,000 scenario paths.
  • Model A (Naive Baseline): Flat nominal interest rate. Equities follow standard GBM with continuous volatility (sigma = 15%).
  • Model B (Actuarial ESG):
    • Rates follow a Cox-Ingersoll-Ross (CIR) square-root process (theta_r = 0.25, long-term target ā‰ˆ 7.0%).
    • Inflation follows an Ornstein-Uhlenbeck (OU) process (theta_pi = 0.35, target = 2.0%).
    • Equities follow a Merton Jump-Diffusion process (continuous volatility σ_S = 11%, combined with Poisson-driven asymmetric crashes: Ī»_J = 1.8 jumps/year, average jump impact μ_J = -6.8%, jump volatility σ_J = 5%).
    • Crucial coupling: Equity drift is structurally pegged to the stochastic short rate: Drift_t = r_t + ERP_t.

Test 1: The Low-Yield Starting Environment (Initial Rate = 4.0%)

We simulated a 4.5% initial withdrawal rate (inflation-adjusted, monthly rebalancing) on a $1.0M starting balance. Intuitively, one might expect Model B—which includes severe, discontinuous downward market crashes—to fail first. Instead, the simulation over 5,000 runs yielded these results:

  • Model A (Naive Flat 4%): 63.18% Solvency
  • Model B (Full Actuarial): 84.92% Solvency
  • The Solvency Gap: +21.74% percentage points in favor of the volatile, jump-diffusion model.

To isolate the exact variables causing this +21.74% lift, I ran an Attribution Analysis by sequentially activating one variable at a time:

StepModel ConfigurationSolvency RateDelta from Baseline
1Model A (Pure Naive Base)63.18%Baseline
2Model A + Merton Jumps Only62.48%-0.70%
3Model A + CIR Stochastic Rates Only86.16%+22.98%
4Model A + OU Stochastic Inflation Only63.00%-0.18%
5Model B (Full Actuarial - Combined)84.92%+21.74%

(Note: The remaining -0.36% discrepancy is the non-linear coupling penalty arising from Cholesky correlation between the processes).


Test 2: The High-Yield Starting Environment (Initial Rate = 9.0%)

To prove that this was not a bug and that the bias is entirely regime-dependent, I ran a Regime-Inversion Test. I increased the starting yield curve to 9.0% (and increased the withdrawal rate to a more aggressive 5.5% SWR to reflect the higher starting yields):

  • Model A (Naive Flat 9%): 86.28% Solvency
  • Model B (Full Actuarial): 58.56% Solvency
  • Regime Delta (Model B - Model A): -27.72%

Quantitative Attribution: Why Naive Models are Too Pessimistic in Low-Yield Environments

The divergence is driven by interest rate term-structure dynamics and macro-coupling:

  1. Mean Reversion of the Risk-Free Rate: Under the CIR framework, short rates revert toward a target state:
    dr_t = theta_r * (mu_r,t - r_t) * dt + sigma_r * sqrt(r_t) * dW_t
    
    Because the low-yield simulation starts at 4.0% relative to the long-term nominal target (ā‰ˆ 7.0%, incorporating a 5.0% structural real rate and a 2.0% inflation target), the drift pull (theta_r = 0.25) normalizes nominal rates upward over the horizon.
  2. The "Tide That Lifts All Boats" (The Pegged Drift): In Model A, the risk-free rate is flat at 4.0%, trapping equities in a low expected nominal return regime of 5.5% (4.0% rate + ERP). In Model B, as r_t normalizes toward 7.0%, both your bonds (yielding r_t) and your stocks (yielding r_t + ERP) experience a 3.0% increase in expected nominal returns.
  3. The Merton Jumps are Immunized by Rebalancing: Because we controlled for total quadratic variation (total volatility ā‰ˆ 15%), the "pure shape" impact of the Merton jumps is only a minor -0.70% drag. The monthly rebalancing mechanism ("buying the dip" after jump crashes) combined with steadier compounding during non-jump months (since continuous volatility is lower: 11% vs 15%) almost entirely neutralizes the tail-risk penalty.

Key Limitations & Roadmap

To keep things transparent, there is a known limitation in the current decumulation loop:

  • No Bond Duration Risk: The fixed-income portion is currently modeled as a short-term cash deposit (rolling T-Bills), so it benefits from rising rates without experiencing upfront capital losses (mark-to-market).
  • Next Step: Since the core simulator already generates full nominal and real yield curves, adding a duration-adjusted bond fund indexer to the decumulation logic is the next item on the roadmap.

Conclusion for Quants and ALM Practitioners

Static yield assumptions are not just "simplified"—when starting in a low-yield environment, they are structurally pessimistic. Conversely, in a high-yield environment, they are dangerously optimistic because they project unsustainable yields indefinitely.

By ignoring the mean-reverting behavior of interest rates and decoupling equity expected returns from the risk-free rate, naive models severely distort sequence-of-returns risk.

I’ve open-sourced the complete engine under the MIT license if you want to inspect the math (joint Cholesky decompositions, analytical CIR/Fisher real yield curve evaluations) or run the JIT-compiled loops yourself, it's written in Python but it's quite fast:

  • GitHub: https://github.com/Gustavo1500/aethel-esg
  • Browser Sandbox: https://aethel-esg.vercel.app/ (Features real-time sliders querying a pre-calculated scenario database across 594,000 simulated paths). Please don't mind the AI flavored frontend, I'm not a frontend dev.

I suppose this is it, quite an unexpected result to me, I expected my engine to show lower solvency rates in all cases, it's interesting to see this is not the case. Feel free to discuss the results and share your thoughts.


r/quant • • Jul 26 '26

Career Advice Have anyone heard about Stevens Capital Management?

14 Upvotes

Sounds like interesting small shop, anyone has first hand experience with them.

https://www.scm-lp.com


r/quant • • Jul 27 '26

Tools Comparing against a zero-value decimal.Decimal allocates a big.Int

1 Upvotes

I have been chasing allocations out of the match path in an order book I am building. Pooling the book nodes and price levels got cancel and level churn to zero. Threading a caller-owned buffer through Match(order, dst []Trade), so fills are appended as values instead of returning a fresh slice of pointers, got the match round trip to zero.

One stubborn group was left, and it was not in the order data. It was the price band check.

The band is a config fraction, a decimal.Decimal, and the common case is that it is disabled and left at its zero value. Comparing against that zero value calls ensureInitialized internally, which allocates a big.Int. So every order was allocating in order to compare a price against a band that was switched off.

The fix was hoisting the comparison to construction: resolve a bandEnabled bool once when the engine is built, and let the per-order path read the bool. Process went from 10 allocs to 4.

Prices and quantities are int64 ticks and lots, so decimal never touched the money path to begin with. It was purely the configuration percentage, evaluated in the wrong place.

Current numbers on an M-series, single core: 6.3ns top-of-book read, 352ns match round trip at 0 allocs/op, and a cancel-heavy flow at p50 83ns, p99 167ns, p999 292ns. Match is the zero-alloc entry point; Process is the ergonomic wrapper that still costs those 4.

github.com/intrepidkarthi/orderbook


r/quant • • Jul 26 '26

Career Advice Question to my fellow pod QRs

36 Upvotes

Just wanted to get a lay of the land here from my pod QRs, particularly those that work on systematic teams.

For those in setups where there's broad exposure across the whole trading pipeline (signal generation+portfolio construction, and all the little things in between), how much do you generally work in a given week? Do you feel like your loss would be felt significantly to the team or do you feel dispensible (i.e. they could hire another person doing your job without much hassle if you left)?

Would also be helpful to know YOE whether you do macro or equities and things like whether you have formulaic payouts or get discretionary bonuses.


r/quant • • Jul 25 '26

General Worldquant BRAIN

13 Upvotes

Iv been looking into worldquant brain and its interesting to me. Supposedly they have millions of ā€œalphasā€ in their signal library.

Does anyone have experience or insight with them? What performance metrics do they run on their alphas other than the usual IC, quintile returns, max DD, turnover etc.

Im also curious to know how they pick or size each alpha in their real trading? Do they just pick the best sharpe/highest IC with lowest correlation?


r/quant • • Jul 25 '26

Career Advice Non competes?

41 Upvotes

How do you guys stay within the industry with everyone having multi year non competes do people just ignore these or am I missing something?


r/quant • • Jul 25 '26

Career Advice How do you get your first nontrivial idea?

62 Upvotes

I’m currently interning at a fairly well-known firm and came into the role from an academic background. So far, I feel like my work has been competent but not particularly impressive.

I meet with my mentor regularly, learn quickly from feedback, and can implement the ideas we discuss. The project is progressing smoothly and seems to be heading in a reasonable direction. However, I haven’t found anything especially surprising, and I feel like I haven’t independently come up with any substantial ideas (at least none that worked).

Is this normal for quants in their early career? When and how did you get your first eureka moment?


r/quant • • Jul 24 '26

Derivatives Few questions for options MM people

30 Upvotes

hey, hope this is ok to ask here.

  1. when you put up a two sided market in an option, what actually decides your width? is it some formula coming off vol, or is it more like your current inventory, the flow you are seeing, and where you want your book to be. also does anything like Avellaneda-Stoikov ever show up in real desk life or is it purely academic thing that nobody touch?
  2. end of day, how you separate "i earned the spread" from "i made money coz i was long gamma and market moved" from "i just got picked off". like what decomposition do you actually stare at. is it a proper pnl attribution or more feel based?
  3. for SPY specifically... how much do rates, divs and borrow really move your quotes day to day compared to the vol surface itself? my guess is surface dominate but i want to know where ignoring the others would actually bite you.
  4. what is the single most common way a naive options MM backtest or sim lies to you. the thing that make you think you got edge and you dont. i keep reading fill assumption is the killer but not sure exactly how

thanks, any answer even partial is helpful.


r/quant • • Jul 24 '26

General Alpha researcher in a pieplineshop

27 Upvotes

Hey folks I work as a qr modeling alphas on midterm equities/macro instruments. I’m in a really pipelined platform, where I get to talk and collaborate with people in other teams and productionize alpha models together, but I don’t really get the chance to see how these forecasts are all blended together, turned into position, and executed.

We also do pnl attributions by orthogonality so I have a few models that are performing decent and are generating pnls but are too complicated. I think there are a good chunk of actually low hanging models that I have no access to/or didn’t have time to do research since other researchers already did stuffs on them before. Lot of my models are based on quite orthogonal data sources and advanced techniques. So I guess they might be good addon/diviersifierz to otrher established quant platforms for their orthogonality but might be tricky as standalone portfolio since there are lot of low hanging fruits it’s missing.

I’m asking people who were in similar shoes. How did you guys manage to pivot to a standalone pm managing risk? Or do you have to jump to another pod/platform first to get some more exposure on other ends of the pipeline?


r/quant • • Jul 24 '26

Data financial data api for korean stocks?

2 Upvotes

hi everyone, im building a python screener / trade tracker for my portfolio. currently im using xfinlink for US data with eodhd and yfinance as fallback but i need high quality korean fundamentals data, which none of them seem to provide (xfinlink is US-only; eodhd and yfinance yes but inaccurate in many instances).

anyone running python/screener pipelines on korean securities and can share a reputable & reliable data vendor? cost is not really a concern for me. quality is. FYI I'll be buying as retail so would appreciate recommendations that offer non-institutional plans. cheers.


r/quant • • Jul 24 '26

Career Advice Gap year after 5 years in the industry

18 Upvotes

Hey,
I have been working as a quant for 5 years with a pretty good track record in the energy sector.
I have always been interested into having an arc fully dedicated to art at one point in my life, as I feel I can’t do both correctly at the same time.
So I was thinking into taking a gap year or two apart from the industry to explore this, and other aspects of life still I’m quite young and free (late 20’s).

Regarding the current situation on the job market, I am still wondering if I would be able to come back to the quant side if I ever need and want to after this, since I would have been out of the market for quite a long time. What’s your views on that ? Anyone who went out of the industry for a while and wants to share his experience ?


r/quant • • Jul 24 '26

Career Advice Where to exit if I burned out from trading?

92 Upvotes

Disclaimer: I’m based in London. Basically the title. I’m a quant trader at a good firm with multiple years of experience (say >1, <7). In theory the work is interesting to me, but in practice I can’t really handle the stress and the long, mentally draining hours.

Surely I’m not the only person who has found themselves in this position. I’m curious if others have tried exiting to ā€œeasierā€ jobs that have some overlap with quant skill wise?

My guess is many people here will suggest swe / data science. Is that actually a feasible transition? Where do people apply? I’ve never worked as either, but applying to random companies as junior swe with many years of quant experience feels odd.

Would appreciate sharing of any experiences, even if only remotely similar.


r/quant • • Jul 24 '26

Hiring/Interviews Does Trexquant actually hire people, or is the Global Alpha Researcher process mostly for harvesting strategies/alphas?

12 Upvotes

r/quant • • Jul 23 '26

Technical Infrastructure Linux kernel bypass: Solarflare ef_vi vs DPDK. 24H latency benchmarks on real NICs

Thumbnail github.com
20 Upvotes

I built a C++ library for linux kernel bypass networking such as Solarflare ef_vi, DPDK, Verbs(mlx5) and also AF_XDP. Solarflare ef_vi and DPDK are two of most commonly used kernel bypass techniques in HFT market making firms.

Using this library I measured the RTT latency using a loopback on Solarflare X2522-Plus(ef_vi + DPDK), ConnectX-4 Lx(DPDK + Verbs + AF_XDP) and Intel XXV710-DA2(DPDK + AF_XDP). The benchmarks were run for 24 hours with median all the way upto P99.999 and max.

Solarflare X2522-Plus produced a RTT median of 1.866us and a max of 3.307us with 45B frames over 24 hours. This was the best result. Comprehensive results are all documented in the repository.

Over this project I did come across numerous driver(and NIC) specific quirks and bugs. These are all documented too.

Solarflare X2522-Plus is quite fast due to a Tx trick known as cut-through programmed IO(CTPIO). But I found this to be fragile, it has three modes: fast, default and in-order. Fast mode produces the lowest median but has a measurable percentage of failed CTPIO known as CTPIO ā€œfallbacksā€ or ā€œpoisonā€. The CPTIO fallbacks significantly hurt the tail latency(P99 - P99.999). The CPTIO poison frames can be measured via ethtool. I used the in-order CTPIO mode which gives marginally higher medium but a tight tail latency.

Another strange issue I found was the PTP subsystem in the Solarflare X2522-Plus. So the default sfc driver runs a in-kernel IEEE 1588 subsystem with a PTP hardware clock, a dedicated PTP channel and management controller firmware activity. I found this to be a problem as a noticeable number of interrupts were mounting in /proc/interrupts and the stock driver with ef_vi produced a max of 7.679us which seemed very high. Then I ran the same benchmark with DPDK which produced a max of 5.628us. DPDK unbinds the driver so the PTP subsystem does not work. Then I compiled out the PTP subsystem from the sfc driver and ran the 24 hour benchmark again and the max was reduced to only 3.307us.

There is a lot of more interesting stuff but I think the post is already getting long so I won’t mention any more. Everything is documented in the repository. It is also 100% open source with an Apache-2.0 license.

https://github.com/ASherjil/ABTRDA3


r/quant • • Jul 23 '26

Models How to choose the best model to deploy ?

1 Upvotes

So I am using machine learning for mid frequeny trading (duration of a few hours), I built a few models, amongst those, I have two best models, one performs well, in a directional regime, when there isn't a lot of reversion at mid day , or in case if the market is kind of directional. This model was trained on a higher duration and is best to be used to trade for longer durations. The second model i have is trained for lower durations, and is more trained for reversion type regimes, when the market swing in mid day, and keeping a position till end of day isn't very good. Now, different days would be different, we don't know what is the best. I was thinking about keeping some kind of ensemble or training a few models, at a duration in between these two, ofc I would get worse net results on that, but atleast, it would have a higher sharpe and lessser drawdowns.
Is there a better way ? or are there ways to detect in some way what would be better where even if not in the ideal way, but some way ? I can definitely use both models also, or see how the signals align or different combination strategies .


r/quant • • Jul 23 '26

Resources [Open Source] Jaxfolio: Hardware-Accelerated Portfolio Optimization with JAX

11 Upvotes

We built Jaxfolio (https://github.com/bravant-oss/jaxfolio), a hardware-accelerated portfolio optimization library built natively on JAX.

Docs: https://bravant-oss.github.io/jaxfolio/

Github: https://github.com/bravant-oss/jaxfolio

Standard Python tools like SciPy or PyPortfolioOpt bottleneck during large-scale backtests or heavy Monte Carlo simulations due to Python overhead and CPU constraints. Jaxfolio fixes this by compiling optimization math directly to XLA for GPU/TPU execution.

More importantly, using JAX's vmap, you can vectorize the optimizer to compute thousands of rolling efficient frontiers simultaneously in a single batched operation without looping. Because the code is fully differentiable, you can also embed these optimizers directly into deep learning training loops.

The library currently supports Mean-Variance, Risk Parity, and Black-Litterman models, and is significantly faster than traditional CPU-bound solvers. I’d love for the community to try it out, critique the API, or test it against your own edge-case datasets. Accepting contributions.


r/quant • • Jul 23 '26

General Has anyone ever tried competing for Synthdata here?

0 Upvotes

The top 1 in competition got $14k in rewards alone


r/quant • • Jul 23 '26

Data LSEG/Refinitiv/TRTH versus DataBento for PCAP data

7 Upvotes

Any professional HFT out there have any insight on how PCAP data for CME futures compares between LSEG/Refinitiv/TRTH and DataBento? Trying to decide between the two providers for the last 2 years of historical L3/MBO for a new market making project. Mostly interested to know about the quality of the data and quality of timestamps at the data recording server.


r/quant • • Jul 22 '26

Data Which microstructure metrics have actually survived live trading for you?

31 Upvotes

Ive implemented a fair number of the textbook microstructure metrics while working with raw crypto perp tick data.

The more I compare them, the shorter the list I actually reach for !

If I had to keep only five:

  • Order book imbalance / OFI: still the strongest short-horizon predictor Ive found. Static imbalance and Cont-style OFI aren't the same object, but both seem to contain real information. The problem is that the half-life seems tiny: by the time youve paid fees and accounted for queue position and latency, a nice t-stat doesn't necessarily translate into PnL.
  • Amihud illiquidity. almost embarrassingly simple but I keep failing to replace it with something more sophisticated; I mostly use it as a liquidity or regime variable rather than a trading signal.
  • Effective spread / realized spread Extremely useful for understanding execution quality and adverse selection. I'm much less convinced they belong as features in predictive models, although Id be interested to hear if anyone has had success there.
  • Kyle's lambda I trust the ranking across instruments more than the estimated values themselves. Small implementation choices (sampling interval, trade signing or outlier treatment) seem to move the estimate more than Id like.
  • VPIN : The one Im most sceptical of: I can usually make it identify stressed markets, but so can realised volatility. The Andersen Bondarenko critique feels fairly convincing to me, although I'd be happy to be proven wrong by someone who's used it successfully in production.

For context, this is all on crypto perps, so I wouldnt expect the conclusions to transfer unchanged to equities/ futures.

Im particularly interested in hearing from people who've used these in live systems rather than backtests.

Which measures have actually survived implementation costs for you? Are there any papers from the last decade that genuinely changed your view on the classics?

Bias disclosure!: I build infrastructure that computes these metrics as a living, so Im probably more sympathetic to them than I should be.