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.
1,322 questions · page 30 of 34
Random question- 1161Finding the unpaired ids, part 3 of 3
AdvancedData structures and algorithms
- 1162Converting between currencies, part 3 of 3
ExpertData structures and algorithms
- 1163You add an array of shape (100, 5) to one of shape (5,). What happens?
FoundationPython and data for quantsCitadel SecuritiesTwo SigmaJump Trading
- 1164What happens with def f(x, acc=[]): acc.append(x); return acc?
FoundationPython and data for quantsOptiverIMC TradingCitadel Securities
- 1165How much memory does a 5,000 × 5,000 float64 NumPy array use, in megabytes?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 1166A US equity session runs 6.5 hours. How many five-minute bars does it contain?
FoundationPython and data for quantsOptiverCitadel SecuritiesHudson River Trading
- 1167An equity curve runs 100, 120, 90, 110. What is the maximum drawdown, as a decimal?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 1168What 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
- 1169What does -7 // 2 evaluate to in Python?
FoundationPython and data for quantsCitadelHudson River TradingJump Trading
- 1170After g = (x for x in range(3)) and list(g), what is len(list(g))?
FoundationPython and data for quantsCitadelHudson River Trading
- 1171When should you compare with is rather than == in Python?
FoundationPython and data for quantsCitadelHudson River Trading
- 1172How 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
- 1173What is the length of np.arange(10).reshape(2, 5).sum(axis=0)?
FoundationPython and data for quantsCitadelTwo Sigma
- 1174What does pd.Series([1, None, 3]).mean() return?
FoundationPython and data for quantsCitadelTwo Sigma
- 1175For prices 100,110,99, what is the last value of pct_change()?
FoundationPython and data for quantsCitadelTwo Sigma
- 1176A Series has 10 values. How many non-missing values does s.rolling(3).mean() contain?
FoundationPython and data for quantsCitadelTwo Sigma
- 1177The New York equity open is 9:30 local time.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 1178A strategy grows $100 to $150 over three years.
FoundationPython and data for quantsCitadelTwo SigmaAQR
- 1179A strategy wins 40% of trades with an average gain of 3 and loses 60% with an…
FoundationPython and data for quantsOptiverCitadelTwo Sigma
- 1180You test x in container millions of times against a fixed collection of 100,000 ids.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 1181Building one-minute bars, part 1 of 3
FoundationPython and data for quants
- 1182Shapes in a returns matrix, part 1 of 3
FoundationPython and data for quants
- 1183A signal that sees the future, part 1 of 3
FoundationPython and data for quants
- 1184A rolling mean, faster, part 1 of 3
FoundationPython and data for quants
- 1185A backtest computes pnl = signal * returns, where both are indexed by day. What is wrong?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaJump TradingFree solution
- 1186You need the quote in force at the instant of each trade. Which join?
AppliedPython and data for quantsIMC TradingCitadel SecuritiesTwo SigmaFree solution
- 1187A strategy has a daily Sharpe ratio of 0.1. What is its annualised Sharpe ratio?
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 1188Your gross Sharpe ratio is 2 and your net Sharpe ratio is 0.1.
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaPoint72 and Cubist
- 1189You compute a feature with df.rolling(21, center=True).mean().
AppliedPython and data for quantsIMC TradingTwo SigmaJump Trading
- 1190Roughly how much memory does a list of ten million distinct Python integers…
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 1191You slice a[::2] and then modify the result. What happens to a?
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 1192You add two pandas Series with partly different indexes. What do you get?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 1193A $100 stock goes ex-dividend by $2.
AppliedPython and data for quantsCitadelCitadel SecuritiesHudson River Trading
- 1194Profiling shows 60% of runtime in one function.
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 1195What does [f() for f in [lambda: i for i in range(3)]] evaluate to?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 1196After a = [[0] * 3] * 3 and a[0][0] = 1, what is sum(map(sum, a))?
AppliedPython and data for quantsCitadelHudson River Trading
- 1197What does round(2.5) return in Python 3?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 1198What is the value in np.array([127], dtype=np.int8) + 1?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 1199You 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
- 1200For the data 1,2,3,4, pandas’ Series.std() (default ddof=1) returns what, to…
AppliedPython and data for quantsCitadelTwo SigmaAQR