Since the question was "How do you implement this" I assume they meant how do you automate the actual trading, not how do you run a backtest.
Does the endpoint on Yahoo Finance just download the CSV file? Could use a node HTTP fetch go nab the latest CSV, check if it's new, if it is throw it in the data set then run the algo.
I'm not familiar with Yahoo Finance so I'm not sure how feasible this is.