The amount of gold each vendor has is listed in top right of trade window. However, this number doesn’t go up and down when you buy or sell anything to that vendor.
Edit: lol… and i just noticed the gold there is your gold. Didn’t realize that. Updated title a bit to better reflect that is a graphical thing.