finance question 83

Question :

You are a market-maker who currently holds 100 shares. For each minute starting at = 1, an order arrives at your trading desk to either buy 100 shares from you (50 percent probability) or sell 100 shares to you (50 percent probability). Your algorithm automatically accepts every order. If you still have a positive share position at = 6, then your algorithm will always place a market order to sell all of your shares. For simplicity, assume that your algorithm stops when your share position equals zero. a) In expectation, how many minutes does it take to return to the zero position? Note that it is not possible to return to the zero position at = 2 or = 4 in this setup. The expected time to return to the zero position is calculated as follows

: ( ) = ∑ ( ) × 6 =1

Also note that the probability of returning to the zero position at = 6 equals one minus the sum of the probabilities of returning to the zero position at = 1, = 3, or = 5.

b) Suppose that you widen your bid at = 0 such that the probability of an order arriving to buy 100 shares from you is now 75 percent and the probability of an order arriving to sell 100 shares to you is now 25 percent. Assume that these probabilities will remain the same until you return to the zero position. In expectation, how many minutes does it take to return to the zero position?

see attached “hw3 question 2.png

study doc may help “Week 9 FIN480.pdf” “Algorithmic Trading 1 (Week 9).pdf”. ,,Algorithmic Trading 2 (Week 9).pdf”

due in one week

i need someone 100% sure for the answer

thank you !