Skip to main content
All Questions

A stock moves up or down 1 dollar each day with equal chance. You buy a share after each up day and sell one after each down day. What is the expected profit after T days?

Unlock detailed company stats for this questionUpgrade
A stock price follows a symmetric random walk: each day it rises 1 dollar with probability 1/2 or falls 1 dollar with probability 1/2. Your strategy is to buy one share whenever the stock rose that day and sell one share whenever it fell, with short selling allowed. Over a horizon of T days, what is the expected profit? Prove your answer.

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.