Day2, code for strategy