Ok, the reference to the TradeTest script was helpful.