This is a simple Python script to calculate the leverage of a certificate by entering the share price, the price of the certificate and the conversion ratio. Then a StopLoss or a StartBuy price can be entered for the stock and the program calculates the price in the certificate.