我想寫: 目前空單1口, 停損時,原本空單1口用stop平倉, 再用buy stop limit單進場1口多單
[目前空單1口]
(程式) buytocover 1 share next bar 10000 stop;
(程式) buy 1 share next bar 10000 stop 10050 limit;
[結果送出order時]:
(程式) buytocover 1 share next bar 10000 stop; ==> (真實) 送出 1口 buy 10000 stop 之單子.
(程式) buy 1 share next bar 10000 stop 10050 limit; ==> (真實) 送出 2口 buy 10000 stop 10050 limit 之單子.
(我的問題是) : 如何讓stop limit之單子在真實送出單子時, 是送出 1口 buy 10000 stop 10050 limit 之單子 ?