My rule of thumb, if a swing trade position, only buy enough shares that allows you to exit within an hour if you need to. you never know when things can turn sour.
short term/long term = similar but for me, a days period time for me to get out at the latest.