basic profit and loss example - Search