For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

A small error in the document

  • In the section Bracket Orders, there is a small error in my view in the subsection Manual Issuing of a Bracket

    mainside =, exectype=bt.Order.Limit, transmit=False)
    lowside  = self.sell(price=13.00, size=mainsize.size, exectype=bt.Order.Stop,
                         transmit=False, parent=mainside)
    highside = self.sell(price=14.00, size=mainsize.size, exectype=bt.Order.Limit,
                         transmit=True, parent=mainside)

    size=mainsize.size should be size=mainside.size

Log in to reply