Maybe in the future, not currently.
There is the workaround that was discovered here:
Partially close available for automation?
However as Nicolas says in that topic:
I strongly don’t recommend using this ‘workaround’ at all, for several reasons:
- this is not an official and normal functionality of the interaction protocol between the software and the broker
- calculations of strategy results in detailed reports will not be correct, as this is not expected in normal operation
- in the event of a dispute with the broker, this type of “unofficial” operation could work against you