You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a python program that takes as input the name of a CSV file containing the historical quotes of a specific symbol (stock), utilizes the maximum subarray method (CLRS 4.1, Sep 11 lecture slides) to compute the optimal (i.e., maximum profit) buy and sale date pair based on the Open price for each day. Run your program on three different stocks