For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
how to update a trade?
-
Hi, backtrader. In the doc, it says a strategy can
be notified through notify_trade(trade) of any opening/updating/closing trade.I know how to open, close a trade. But I don't know how to update a trade, could anyone give an example?
Thanks in advance.
-
What are you specifically trying to update?