Miscellaneous blocks

Miscellaneous blocks

Pnl block

The Pnl block allow you to set P&L limits on per algo instance basis. You specify a positive P&L value that represents the maximum amount the trader can lose before pausing the algo. If the trader exceeds the specified loss threshold, the algo is automatically paused.

Example Pause the algo when the trader's loss is 1000 or greater.

Every time the trader's P&L updates, the block outputs a continuous message with new value through the Pnl output port. It also outputs an empty discrete message through its Event outport for your convenience, should you choose to use the event to trigger another block.

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas