Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
Explore NISM prep
Series-VIII · Equity DerivativesSeries-XII · Securities Markets FoundationSeries-V-A · Mutual Fund DistributorsSeries-XV · Research AnalystSeries-XIX-E · Category III AIF ManagersSeries-XIX-D · Category I & II AIF ManagersSeries-XIX-C · Alternative Investment Fund ManagersSeries-XVI · Commodity DerivativesSeries-VI · Depository OperationsSeries-II-A · Registrars & Transfer AgentsSeries-I · Currency DerivativesSeries-VII · Securities Operations & Risk Management
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryInvestment Banking Analyst
Private Equity AnalystQuant & Hedge Fund AnalystBreaking Into VCFinancial Analyst Program
Risk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Free Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
QuarksCourses
Explore Interview Preparation
Investment BankingEquity ResearchVenture CapitalistPrivate EquityHedge Funds
QuantFinancial AnalysisPrivate Wealth ManagementDebt Capital MarketsRisk Management
Derivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Interview tracksAll
1Investment Banking
Question bankPuzzlesCase studies
2Equity Research
Question bankPuzzlesCase studies
3Venture Capital
Question bankPuzzlesCase studies
4Private Equity
Question bankPuzzlesCase studies
5Hedge Funds
Question bankPuzzlesCase studies
6Quant
Question bankPuzzlesCase studies
7Financial Analysis
Question bankPuzzlesCase studies
8Private Wealth Management
Question bankPuzzlesCase studies
9Debt Capital Markets
Question bankPuzzlesCase studies
10Risk Management
Question bankPuzzlesCase studies
11Derivatives Foundation
Question bankPuzzlesCase studies
12Portfolio Management
Question bankPuzzlesCase studies
13Mutual Fund Mastery
Question bankPuzzlesCase studies
062

Case 062Systematic research and dataCore

A backtest on Orlin Minerals gives a Sharpe ratio of 2.1. The price file has one duplicated day and one bad print at ten times the true price that reverts the next day. What does cleaning do to the Sharpe, and how would you catch these errors automatically?

SCSquarepoint CapitalLondon · 2026

1The situation

A junior researcher shows you a backtest of a simple strategy on Orlin Minerals, a mining stock trading around Rs 100: each day, go short if yesterday's return was positive and long if it was negative, fully invested, closing prices only. Over about six months of daily data the strategy shows a Sharpe ratio of 2.1.

Looking at the price file, you find two problems. Row 21 repeats row 20 exactly, a duplicated day. And on row 42 the close is recorded as about Rs 1,035, ten times the true price, before returning to normal the next day.

2Your task

What happens to the Sharpe ratio when you clean the file, why does one bad print matter so much, and what checks would catch errors like these before anyone sees a backtest?

Quick check

Which error do you expect to have inflated the Sharpe ratio more?

Worked solution

Try it on paper, then open one step at a time.

30-second answerThe answer to give first

Cleaning takes the Sharpe from 2.1 to about 0.6. The bad print gives the strategy two giant winning days: long into the tenfold jump, then short into the fall back. Those two days make about 97% of the raw return. The duplicated day barely moves the number here but can shift every later signal by a day in other pipelines. Catch both automatically with a duplicate-date check and a spike-and-reversal filter before any backtest runs.

Step 1What does the raw file look like?

Plot it before computing anything. A tenfold price that returns to normal the next day is not a market move; it is a data error, usually a misplaced decimal or a wrong instrument code. Think of a bank statement showing Rs 1,00,000 credited on Monday and debited on Tuesday by mistake: your balance is right by Wednesday, but a spending plan built on Monday's balance is not. The duplicated row is quieter: the same close appears twice, so the file shows a day on which nothing happened.

The raw Orlin price file: one duplicated row, one bad print90100110120Bad print: Rs 1,035, 10x the true price,back to normal the next day (clipped)Row 21 repeats row 20: a duplicated dayRows of the raw file, about six months of trading days (price, Rs)
The raw Orlin file shows a duplicated close on row 21 and a bad print of about Rs 1,035, ten times the true price, on row 42, which is back to normal the next day.
Step 2Why does one bad print create most of the Sharpe ratio?

Walk the strategy through the error. The day before the print Orlin fell, so the strategy is long. The price then jumps tenfold, a log return of about 2.30, and the next day it falls back by the same amount while the strategy, fading the jump, is short: two winning days, each a log return of about 2.3. The clean strategy earns about 10% over the whole six months; the raw file shows about 473%. Two fictional days are about 97% of the raw return. They also raise the volatility, which is why the Sharpe ratio reaches 2.1 and not something far larger.

Cumulative strategy return: two days built almost all of it0%100%200%300%400%500%Raw file: Sharpe 2.1Cleaned: Sharpe 0.6the bad print andits reversalTrading days in the backtest (cumulative log return, shown in %)
On the raw file the fade strategy's cumulative return is flat until the bad print and its reversal add about 459% of log return in two days, giving a Sharpe ratio of 2.1; on the cleaned file it earns about 10% with a Sharpe ratio of 0.6.
Version of the price fileSharpe ratio
Raw: duplicate and bad print2.07
Bad print only2.08
Duplicate only0.51
Cleaned0.61
The bad print alone takes the Sharpe ratio from 0.61 to 2.08; the duplicated day on its own moves it only from 0.61 to 0.51.
Step 3If the duplicate barely mattered, why fix it?

Because its harm depends on the pipeline, not on this backtest. If returns and signals are ever joined by row position instead of by date, one extra row shifts every later signal by a day, and a strategy that looks one day into the future can show a spectacular Sharpe ratio for months. It also inflates the day count used to annualise volatility and hides a real missing day somewhere else, because vendors often duplicate the previous close when a day's data failed to arrive.

Step 4How would you catch both automatically?

Build checks that run before any research code sees the data. Reject duplicate dates and flag runs of identical closes. Flag any day whose return is more than, say, ten times the stock's recent daily volatility and is reversed within one or two days, then compare the price with a second source or the day's traded high and low. Check prices against corporate-action calendars so a genuine split is not flagged as an error. And make every backtest report show its result without its best five days: when 97% of the return sits in two days, that one line tells you to look at the data before the strategy.

Where candidates lose it

The frequent loss is fixing the bad print by deleting the row. That leaves a two-day gap whose return is the true two-day move, which is fine, but it also creates a missing date that a position-based join will mis-align. Replace it with a verified price or mark it missing and handle it explicitly.

The second is trusting the Sharpe ratio because the strategy makes economic sense. Fading daily moves is a plausible idea, which is exactly why a data error that flatters it goes unquestioned.

What the interviewer asks next

  • How would you tell a genuine one-day spike, such as a takeover bid, from a bad print?
  • The strategy runs on 500 stocks instead of one. How does one bad print affect the portfolio's Sharpe ratio then?
  • What would you log so a data error found next year can be traced to every backtest it touched?

Asked at Squarepoint Capital, Quantitative Trading, London, 2026 (Wall Street Oasis): implement some functionalities and make sure that input data is cleaned (duplicates, corrupted data etc...)

← Case 061Vornix EdTech spends Rs 12,000 to acquire a customer paying Rs 500 a month at a 30% gross margin, with 4% monthly churn, and trades at 8x sales. Build the unit economics and make the short case.Case 063 →Ferrin Vol Fund sells one-month at-the-money index straddles every month at 16% implied volatility, while realised volatility averages 12%. Roughly what does it earn in a normal month, and what happens in a month when the index moves 12%?

Company names and figures are illustrative.

Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsInterview RoadmapsShowdown
RESOURCES
All CoursesFree CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.