Interview questions
1,322 questions in the style trading and research firms ask, from probability and brainteasers to options, statistics and coding. Every question is open to read, with its hints. The 50 in the free sample can be answered and marked on the spot, no account needed; open 3 of their worked solutions to try, then all of them with a free account.
52 questions · page 1 of 2 · Clear filters
Random question- 01You add an array of shape (100, 5) to one of shape (5,). What happens?
FoundationPython and data for quantsCitadel SecuritiesTwo SigmaJump Trading
- 02What happens with def f(x, acc=[]): acc.append(x); return acc?
FoundationPython and data for quantsOptiverIMC TradingCitadel Securities
- 03How much memory does a 5,000 × 5,000 float64 NumPy array use, in megabytes?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 04A US equity session runs 6.5 hours. How many five-minute bars does it contain?
FoundationPython and data for quantsOptiverCitadel SecuritiesHudson River Trading
- 05An equity curve runs 100, 120, 90, 110. What is the maximum drawdown, as a decimal?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 06What is sum([i * j for i in range(3) for j in range(3) if i != j])?
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 07What does -7 // 2 evaluate to in Python?
FoundationPython and data for quantsCitadelHudson River TradingJump Trading
- 08After g = (x for x in range(3)) and list(g), what is len(list(g))?
FoundationPython and data for quantsCitadelHudson River Trading
- 09When should you compare with is rather than == in Python?
FoundationPython and data for quantsCitadelHudson River Trading
- 10How many elements does the result of adding NumPy arrays of shapes (3, 1) and (1, 4) have?
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 11What is the length of np.arange(10).reshape(2, 5).sum(axis=0)?
FoundationPython and data for quantsCitadelTwo Sigma
- 12What does pd.Series([1, None, 3]).mean() return?
FoundationPython and data for quantsCitadelTwo Sigma
- 13For prices 100,110,99, what is the last value of pct_change()?
FoundationPython and data for quantsCitadelTwo Sigma
- 14A Series has 10 values. How many non-missing values does s.rolling(3).mean() contain?
FoundationPython and data for quantsCitadelTwo Sigma
- 15The New York equity open is 9:30 local time.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 16A strategy grows $100 to $150 over three years.
FoundationPython and data for quantsCitadelTwo SigmaAQR
- 17A strategy wins 40% of trades with an average gain of 3 and loses 60% with an…
FoundationPython and data for quantsOptiverCitadelTwo Sigma
- 18You test x in container millions of times against a fixed collection of 100,000 ids.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 19Building one-minute bars, part 1 of 3
FoundationPython and data for quants
- 20Shapes in a returns matrix, part 1 of 3
FoundationPython and data for quants
- 21A signal that sees the future, part 1 of 3
FoundationPython and data for quants
- 22A rolling mean, faster, part 1 of 3
FoundationPython and data for quants
- 23A backtest computes pnl = signal * returns, where both are indexed by day. What is wrong?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaJump TradingFree solution
- 24You need the quote in force at the instant of each trade. Which join?
AppliedPython and data for quantsIMC TradingCitadel SecuritiesTwo SigmaFree solution
- 25A strategy has a daily Sharpe ratio of 0.1. What is its annualised Sharpe ratio?
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 26Your gross Sharpe ratio is 2 and your net Sharpe ratio is 0.1.
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaPoint72 and Cubist
- 27You compute a feature with df.rolling(21, center=True).mean().
AppliedPython and data for quantsIMC TradingTwo SigmaJump Trading
- 28Roughly how much memory does a list of ten million distinct Python integers…
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 29You slice a[::2] and then modify the result. What happens to a?
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 30You add two pandas Series with partly different indexes. What do you get?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 31A $100 stock goes ex-dividend by $2.
AppliedPython and data for quantsCitadelCitadel SecuritiesHudson River Trading
- 32Profiling shows 60% of runtime in one function.
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 33What does [f() for f in [lambda: i for i in range(3)]] evaluate to?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 34After a = [[0] * 3] * 3 and a[0][0] = 1, what is sum(map(sum, a))?
AppliedPython and data for quantsCitadelHudson River Trading
- 35What does round(2.5) return in Python 3?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 36What is the value in np.array([127], dtype=np.int8) + 1?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 37You take b = a[[0, 2, 4]] from a NumPy array a and then set b[0] = 99. What happens to a?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 38For the data 1,2,3,4, pandas’ Series.std() (default ddof=1) returns what, to…
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 39A daily signal is computed from each day’s close.
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 40Prices go 100 → 110 → 99. What is the total log return, to five decimals?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading