Little tool to calculate a stop-loss-target and the potential loss.
csl [risk in percent] [price/share] [number of shares]
or
calcStopLoss [risk in percent] [price/share] [number of shares]
Clone the github repository
git clone https://github.com/sublinus/calcStopLoss.git
go to the repository directory you cloned locally. You can check that by
pwd
this should return
bla/calcStopLoss
and then install it to access globally in system with npm
npm install -g .
When you did that you're ready to go and use it as described above.