For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
What is the recommended way to retrieve underlying orders for a trade?
-
In strategy, we have
notify_trade
to be called when a trade is happened (opening/updating/closing). Based on the reference of this trade, what is the recommended way to get the underlying orders for this trade? -
Use the tradehistory. Docs - Trade (Activate it in Docs - Cerebro or in the Docs - Strategy)