Homework H15
Metrics!
Learning Goals
Implement basic portfolio management functionality.
Context
“You have done a MARVELOUS job!” Stockton’s voice fills half the trading floor. A few heads turn.
You’ve just finished demoing the Spartan Trader’s data retrieval engine — live pulls from Alpha, Beta, and Gamma.
Stockton has a way of praising that makes you slightly uncomfortable. Maybe that’s just how he talks.
Ms. Tradewell, seated quietly in the corner, says nothing. Which means she’s evaluating.
Stockton pivots instantly. “Now... what's next?” he says.
“Well, Mr. Bonds, I think we should be computing financial metrics, beginning with MTM portfolio value.”
“Mark to market.” he repeats approvingly. “SAGACIOUS!”
He begins pacing. “And we disaggregate. I don’t want a blob of value. I want components.”
You follow his momentum: “Capital account. Long positions. Short positions.”
“YES! Shorts imply margin. Margin means constraints.”
You continue. “We should compute required margin levels on short positions. We need to ensure we keep at least thirty percent of
liabilities in cash to avoid a margin call.”
Stockton points at you “TACTICALLY ASTUTE!"
“Performance” Ms. Tradewell says. “How do we know if Spartan Trader is actually adding value?”
You have been thinking about that.
“We define a target growth path,” you say. “For example, what the portfolio would be worth if it grew at the risk-free rate. That gives us
a baseline. Then we compare actual portfolio value to that benchmark. A tracking error.”
Stockton turns back to you.
“MAGNIFICENT! Real-time portfolio value. Component breakdown. Margin surveillance. Benchmark growth function. And Tracking Error. Build
it! ”
You glance at the expanding list in your notebook. This is no longer data retrieval. This is portfolio intelligence.
“I am on it, Boss”.
As you return to your desk, you pull out your phone and send a quick message: Running late for party...
Task
Build a system that satisfies the requirements.
Feel free to change the look and feel of your app, provided that the interface is easily understandable by the grader. You are the
developer and the user. You build it the way you like it. You will use it in the Hedge Tournament.
Want to submit as a team? These are are instructions.
Criteria/Requirements
Your work must satisfy the following requirements
Hints and Tips
Patches