Building a (very simple) portfolio tracker with pandas

All of these graphs were created in Colab. I’ve actually never found a commercial product that does everything I want, so I figured I’d build one up in a series of blog posts. We’ll see how many I get through! ๐Ÿงต๐Ÿ‘‡ First, we’ll get SPY’s stock history with pandas_datareader. This returns a dataframe that looksContinue reading “Building a (very simple) portfolio tracker with pandas”

The stock market is going down

Not the stocks, mind you, but the market itself. There are less than 4,000 companies listed, and new companies have less and less appetite for going public. Conversely, there are over 8,000 private-equity-backed companies in the US, and growing. There are a couple of problems with the stock market mouldering. One is that this isContinue reading “The stock market is going down”

Losing money sucks – the mathematics of loss aversion

There’s a lot of research on loss aversion: how bad people feel when they lose $50 vs. how good they feel good about gaining $50. This research is kind of taking an absolute value of emotion, positive or negative. We can represent this with emoji equations: ๐Ÿ˜€ == ๐Ÿ˜ซ (large-magnitude happiness or sadness) ๐Ÿ™‚ ==Continue reading “Losing money sucks – the mathematics of loss aversion”

The surprisingly complex math behind startup equity and taxes

Taxes for employees at startups are weird and can vastly change the amount you make.ย  To illustrate why, let’s take a simple example. Suppose we have a group of early employees at a startup, we’ll call them the Unicorn Inc. Mafia.ย  They’re all fresh out of college and managed to get through it without anyContinue reading “The surprisingly complex math behind startup equity and taxes”

AST Financial: the dumpster fire of a company

As an employee at MongoDB for several years, I had a bunch of shares that MongoDB was holding for me when it went public which I had to get to my brokerage account to actually sell. It turns out that the company can’t just hand you your shares, they have to go through a transferContinue reading “AST Financial: the dumpster fire of a company”

GV

Quick update: I’m now a partner at Google Ventures! I’m still doing engineering (although I would love to hear about it if you know about any cool startups I should check out) and I’m really enjoying being back at Google.

Staying out of trouble on Elastic Beanstalk

Editor’s note: devops always makes me cranky and Domino is in the doggy hospital (he’s okay), so have a rant about Elastic Beanstalk. This is my life: If you’re unfamiliar with Elastic Beanstalk: healthy is green, unhealthy is red, and grey is unreachable. Grey is the worst, because it’s inescapable: you can’t change the configurationContinue reading “Staying out of trouble on Elastic Beanstalk”

The thing about renting an apartment in NYC

There’s a lot of weird stuff about NYC real estate and this post attempts to cover some of the things that I’ve experienced. I’ve spent years renting apartments in NYC, mostly from rather small-time landlords with pre-war, rent stabilized buildings. If you’re looking for luxury rentals in new construction, a lot of this advice probablyContinue reading “The thing about renting an apartment in NYC”