All templates

Automated GMX Liquidation Risk Alerts

Every hour, WebRun opens GMX, reads every open leveraged position along with its liquidation price and funding, saves a dated snapshot to Google Drive, and posts a Slack alert the moment a position moves within your danger margin.

Runs on WebRun · Strict Lockdown policy
Every hour, around the clock WebRunorchestrates each step
1 GMX check positions and liquidation price
2 Google Drive save the hourly snapshot
3 Slack alert on danger margin
In short

How do I get warned before a GMX leveraged position gets close to liquidation?

WebRun checks every open GMX perpetual position every hour, reading mark price, liquidation price, and funding for each. It saves a dated snapshot to Google Drive every check and posts a Slack alert the moment any position enters the danger margin you set, so leverage risk never goes unnoticed between visits to the app.

  • Liquidation risk is checked every single hour, day and night
  • A Slack alert arrives the same hour a position enters the danger margin
  • A full hourly snapshot history builds up in Drive automatically

Built for DeFi derivatives traders · GMX users · leveraged traders · active traders

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens app.gmx.io in a real browser with your saved login - no setup, no API keys.

  2. 1
    GMX - check positions and liquidation price
    gmx.io
    WebRun in GMX: check positions and liquidation price
    WebRun opens GMX to check positions and liquidation price.
    • Open GMX and review every open leveraged position
    • Read the current mark price, liquidation price, and funding for each
    • Calculate how far each position sits from its liquidation price

    Done when Every open position's liquidation distance is recorded for this hour.

  3. 2
    Google Drive - save the hourly snapshot
    drive.google.com
    WebRun in Google Drive: save the hourly snapshot
    WebRun opens Google Drive to save the hourly snapshot.
    • Save a dated snapshot with each position's size, mark price, and liquidation price
    • Add it to the running position history folder
    • Keep the file naming consistent so snapshots sort chronologically

    Done when This hour's snapshot is saved in the Drive folder.

  4. 3
    Slack - alert on danger margin
    slack.com
    WebRun in Slack: alert on danger margin
    WebRun opens Slack to alert on danger margin.
    • Post an alert only when a position moves within your set danger margin of liquidation
    • Include the position, mark price, and liquidation price
    • Never add margin, close, or modify a position on GMX

    Done when A Slack alert goes out the same hour any position enters the danger margin.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
app.gmx.io
ScheduleRuns automatically on this cadence
Every hour, around the clock
DeliveryHow each run's result reaches you
Liquidation risk alert · Slack
OutputWhat each run produces - An hourly Drive snapshot of every position, with a Slack alert when one nears liquidation.
Alert
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will WebRun add margin or close a position for me?

No. WebRun only reads your positions and reports liquidation distance. It never adds margin, closes a position, or opens a new one on GMX, and it never moves funds from your wallet. Managing the position stays entirely your call.

How is the danger margin defined?

You set how close to the liquidation price counts as dangerous when this is set up, and WebRun compares the live mark price against that margin every hour.

Why save a snapshot every hour?

The Drive archive gives you a full history of how each position moved over time, useful for reviewing your own risk management even on quiet hours.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.