Netting of positions

Netting is a process where opposing positions in the same instrument and account are consolidated to fully or partially reduce the market exposure in the instrument depending on the sizes of the opposing positions.

More info: https://www.developer.saxo/openapi/learn/position-netting
Response:
Click button to launch function.

JS code:
Click button to show code.