Support Board
Date/Time: Sat, 04 Apr 2026 00:58:16 +0000
Post From: ACSIL: Flatten all positions
| [2022-06-30 20:06:26] |
| ycomp - Posts: 328 |
|
How do you flatten all positions using code? I could loop all positions and check which are open using GetPositionByIndex() The part I got stuck at is how do you set the current position? All the flatten methods seem to work only on the current position. |
