Something very similar happened to me a couple of months ago. My hands started shaking all day, my heart was beating really strong (so strong I could hear it). After wasting tons of money by visiting multiple doctors, the diagnosis always came back the same: anxiety.
I never understood what anxiety was exactly until it happened to me. It's definitely an easy trap to fall into if you're a sedentary, overworked programmer. Taking walks in the middle of the day really helped me a lot. Also taking a step back and looking at what you're putting yourself through puts things into a good perspective, and the symptoms tend to naturally fade away after that.