as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
is there any algorithm to calculate highest possible return on stock market?
user
you can statistically estimate the maximal loss/gain over a period of time t by the highest loss/gain during any of the same length time intervals in during the life of the stock. using logarithmic prices to be more accurate.
assistant