---
If you have 1000$ and want to invest a 2%; you take the price of the altcoin in dolars, and multiply it by the amount you are investing (20$). You then want to sell when the price of the coins you bought is 100$, so to know that, bought coin amount/100. If you are doing a BTC-Altcoin par, the same logic applies.
Just change the $ sign for a
BTC sign.