I have a small issue currently : I'd like to partially close positions when some conditions are completed.
The user may choose oh many % of the position will be close.
For some instruments, it's working but for some other, no.
Is there is a small trick please to round the new quantity (after dividing the position size) to the right format of the instrument quantity sizing?
Regards

Comment