This happened last week. Me and my team delivered a high frequency trading platform. Ahead of schedule, and better performance than requested. But still, we were too costly so we were all let go. Then it was shipped over seas.
I'm really questioning what I want to do now. I love coding, but constantly being outsourced is getting very tired.