Multiple Order Managment
Michael Scofield last edited by
Hi guys, I want to ask about how to perform multiple order handling.
For example, there is a up-trend, and I have two indicators, namely indi_1 and indi_2.
Buy signal is generated if indi_1 across the up-trend, and sell signal is generated if indi_2 across the trend.
The order sequence is : Buy, buy, sell, buy, sell.
How can I know the sell signal belongs to which buy signal, is the first one or the second one?
See this: Blog - Multi Example¶
You can additionally use
tradeidwhen issuing orders and track it in the order notifications or trade notifications. See Blog - MultiTrades