Category: Finance
-
Maximum continous sequence profit
An interesting concept in Finance and Computer Science is if we have some historical data about the price of a security and we want to see the maximum profit we can make. (Assumption: we can only carry out one buy and one sell action) Let’s assume that time is represented by natural numbers as opposed…
