how much money should you have before you invest?
The conventional wisdom is to hold at least three months' worth of your net salary in cash so you can cope with surprise expenses. The idea is to have liquid funds available at all times. Keeping a sum like this in reserve is also a good bulwark against worrying about investing losses.