Monitor order, positions and balance updates

This example shows how to setup real time monitoring for order events and position changes using websockets.

Be aware that ENS-events from partial fills might be received in a different order, due to the nature of the distributed system.

ENS request arguments:
Balance request arguments:
Position request arguments:

Place an order with SaxoTraderGO to see what happens.

Click button to launch function.

JS code:
Click button to show code.