Stock Trading Profit Maximization
Stock Trading Profit Maximization: a task in Terminal-Lego-15k (Harbor dataset). You are given stock prices for a set of consecutive days. Your goal is to implement an algorithm that calculates the maximum profit you can obtain through optimal trading.
The task
You are given stock prices for a set of consecutive days. Your goal is to implement an algorithm that calculates the maximum profit you can obtain through optimal trading.
Part of PrimeIntellect/Terminal-Lego-15k.