Support Board
Date/Time: Wed, 12 Feb 2025 01:47:46 +0000
Post From: sc.BuyEntry / sc.BuyExit linkage?
[2020-09-04 22:37:32] |
User99735 - Posts: 234 |
Hi, Suppose I call sc.BuyEntry 5 times with qty 1 and all the orders get filled at different entry prices/times, giving five long position. When sc.BuyExit with qty 1 is called, I think first trade is getting closed based on FIFO rules, in the Trade Activity Log. Is it possible to exit trade which was entered second, using sc.BuyExit, instead of the first trade? Regards Vivek |