Winter 2018
Meeting agenda
Apr 6, 2018

SecurityManager, a simple Java8 app. Requires bonds.txt
Mar 23, 2018

Fermi Question: What number of US dollar coins would you have to lay on the surface area of Manhattan in order to fully cover it?

A simple game of cards: problem 8.21 from Quant Technical Interview Questions.

Coming up next: Java interfaces, generics

Market Review: Trump announced “first of many” tariffs, China responded. How will this effect the markets?
Mar 9, 2018

Fermi Question: what is 4 to the 435th (as a power of ten)?

Friends flipping coins, problem 3.21 from Quant Technical Interview Questions. If you need to install Java and Eclipse, see last meeting’s instructions.

Some important Java collections: Lists. See HRList for source. Maps, and HashSets. Along the way, learn a little bit about Java interfaces.

Market Review
Feb 16, 2018

Fermi Question: what is the weight of a bowling ball, measured in drops of water?
 Introduction to Java and Eclipse.
 You may need to install the JDK (Java Development Kit).
 Install the latest version Eclipse.
 Workflow for beginning of any project: Create Java Project, create package, create first class (e.g. HelloWorld).

HackerRank Java Intro reading via Scanner.

We implement the Alex and Beth Coin flipping problem from last week in both Python and Java, and compare the implementations.
 Market Review
Feb 9, 2018

A question from Fermi Questions.

Alex and Beth are flipping coins. See problem 3.20 from Quant interview book.

Counting rectangles: Project Euler problem 85.

Market Review
Feb 2, 2018
 A question from Fermi Questions.
 Imagine it’s snowing…see problem 13 from the Quant interview book.
 Coding warmup: Sometimes, you just need more precision. Try Project Euler problem 80. But before you code it, put on your Fermi hat, and estimate the answer.
 A wrapup on what we wrote last week for tranched credit indices.
 Market Report. How did Tesla raise money this past week?
Jan 26, 2018

Brainteasers: How many footballs are needed to fill Michigan Stadium? How many cows are in Mexico? How much of the water from Archimedes’ famous bath is in my coffee? Practice using Fermi Questions.

Coding warmup: Project Euler problem 81. Does this look familiar?

We’ve spent a couple of weeks talking about modeling a set of variables that are jointly normal with identical pairwise correlation, and we built a simulation of it. Let’s use it to build a simple tranched credit index. For more depth on tranched credit indices, see this BIS article or this more entertaining FT report (requires free signup with Alphaville). And here is the code we wrote for tranched credit indices

Market Report. What did Mnuchin and Trump say about the dollar? And is it time to sell stock?
Jan 19, 2018

Warmup: Project Euler problem 50. Solution is here.

Recall the problem from last time: We built a simulation of $n$ correlated assets, and via Monte Carlo simulation in Python, we found an empirical distribution of the number of assets that had negative return. Why is the number of assets that have positive return uniformly distributed? Try to figure it out on your own. But if you must, solution is here, starting on page 3.

Market Report.
Jan 5, 2018

Wrap up Python implementation of the bag with 3 red, and 3 black marbles (see previous week). How big can you scale up your solver?

Student presentation: Solution to the minmax correlation problem from Jane Street? Solutions presented by Patrick Lu and Jiahua Gu.

Consider problem 5.2 from the Quant Technical Interview Questions. We built a simulation of n correlated assets, and via Monte Carlo simulation in Python, we found an empirical distribution of the number of assets that had negative return. Challenge for next time: explain the distribution for the case where pairwise asset correlation is 0.5.

Market Report: Bitcoin continues to be in the news.