For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Quickstart typo
-
In the quickstart link: https://www.backtrader.com/docu/quickstart/quickstart.html#the-broker-says-show-me-the-money
TestStrategy.notify_order is missing the following at the end:
# Write down: no pending order self.order = None
Without it the buy order stays open for the entire session.
-
There has been an update to that part and probably that got missing. Thanks for spotting it.