Support percentage expressions in alarm targets #9

Closed
opened 2026-06-21 17:57:29 +02:00 by minimons · 0 comments
Owner

In the configuration file for Jupiter perps alarms, we need an extension of the target column.
Normally we can use a target price, for example '123.23'. This needs to be extended to support a simple calculation.
So we could have this '100.0+10%' - this should result in the same behaviour as if I just had written '110'. Or '200-25%' would be the same as if I had written '150'.

This makes it easier to update the price if the liquidation price is know. Now you will not need to do a manual calculation on each price trigger update.

In the configuration file for Jupiter perps alarms, we need an extension of the target column. Normally we can use a target price, for example '123.23'. This needs to be extended to support a simple calculation. So we could have this '100.0+10%' - this should result in the same behaviour as if I just had written '110'. Or '200-25%' would be the same as if I had written '150'. This makes it easier to update the price if the liquidation price is know. Now you will not need to do a manual calculation on each price trigger update.
minimons added the enhancement label 2026-06-21 17:57:29 +02:00
minimons self-assigned this 2026-06-21 17:57:29 +02:00
minimons added this to the AssetAZ project 2026-06-21 17:57:29 +02:00
minimons changed title from 'Advanced' Jupiter perps alarm price trigger to 'Advanced' Jupiter perps alarm price target 2026-06-21 18:06:23 +02:00
minimons changed title from 'Advanced' Jupiter perps alarm price target to Support percentage expressions in alarm targets 2026-06-21 18:29:39 +02:00
minimons moved this to Done in AssetAZ on 2026-06-23 08:06:52 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: r35157/com_r35157_nenjim-hubd-impl_ref#9