CMPS 367 Financial Modeling

This page was created to support students taking the Financial Modeling course. This page contains:

Questions from a difficult interview

7) If you were building an application that requires realtime data (financial). What measures would you take to make sure you didn't have any problems?

 

9) You are writing a trading system in Java (gets realtime market data and executes orders).

 

  a) How would you optimize such a system for speed and memory, in general?

 

 b) The trading system needs to execute large trades that are broken down into smaller trades. Lets say you need to sell X shares. You can only do one sell order per minute. You are given a cost matrix C, where C(i,j) is the cost of selling i-shares at minute j. How would you efficiently find the cheapest way to sell X shares?

 

10) You have a trading strategy that you are trying to optimize to make more money. You ran simulations on historical data, generating m trades. You see that the strategy is dependent on n entry condition variables. What approach would you take to optimize the strategy? What problems would worry you? How would you avoid them? Be specific.

 

11) You are trying to buy a stock at the best price. You need to buy it in the next 100 minutes. Every minute you will receive a random price (uniform distribution) that is a number between 1 and 100 dollars and decide whether to buy it or not. 1)  Assuming you buy the stock in one trade, give a condition for buying the stock. 2) On average how many minutes will pass before that condition holds (expression or approximation is fine)? 3) If you could split up the trade, ie, buy different amounts at different minutes, what would you do differently?