Question d’entretien chez AKUNA CAPITAL

Given a stock strategy, write code to simulate the result.