gsailer / calcStopLoss

Calculate stop-loss-exit price and potential loss at given risk in terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

calcStopLoss

Little tool to calculate a stop-loss-target and the potential loss.

Usage

csl [risk in percent] [price/share] [number of shares]

or

calcStopLoss [risk in percent] [price/share] [number of shares]

Installation

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.

About

Calculate stop-loss-exit price and potential loss at given risk in terminal


Languages

Language:Python 100.0%