So are you saying you want to run the backtest on multiple stocks? Did you ever figure it out? I may have found something helpful a few weeks back, I will try to find it again.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/