All templates

Automated dYdX Position Risk Alerts

Every hour, WebRun opens dYdX, reads every open perpetual position along with its current funding rate, margin, and liquidation price, logs each one to a Google Sheet, and writes a Notion note flagging any position whose current price sits within your set buffer of its liquidation price.

Runs on WebRun · Strict Lockdown policy
Every hour WebRunorchestrates each step
1 dYdX read positions and liquidation prices
2 Google Sheets log position and risk data
3 Notion flag positions near liquidation
In short

How do I track liquidation risk on my open dYdX positions?

WebRun reads every open dYdX perpetual position every hour, tracking funding rate, margin, and liquidation price, and logs it to a Google Sheet. It writes a Notion note flagging any position whose current price has moved within your set buffer of liquidation, so real risk surfaces early instead of being noticed only after a position is closed out.

  • A position nearing liquidation is flagged with hours of buffer, not after the fact
  • Every open position's risk data builds into a live, current Sheet
  • Closed positions drop off automatically, keeping the risk log accurate

Built for perpetual futures traders · dYdX users · DeFi derivatives traders · active crypto 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 dydx.exchange in a real browser with your saved login - no setup, no API keys.

  2. 1
    dYdX - read positions and liquidation prices
    dydx.exchange
    WebRun in dYdX: read positions and liquidation prices
    WebRun opens dYdX to read positions and liquidation prices.
    • Open dYdX and read every open perpetual position
    • Capture current funding rate, margin, and liquidation price for each
    • Calculate how far the current price sits from the liquidation price as a percentage

    Done when Every open position's risk data is captured for this check.

  3. 2
    Google Sheets - log position and risk data
    google.com
    WebRun in Google Sheets: log position and risk data
    WebRun opens Google Sheets to log position and risk data.
    • Append this check's position data as new rows including funding rate and liquidation buffer
    • Update the running row for each open position rather than duplicating it
    • Remove a position's row once it is closed

    Done when The risk log reflects every currently open position and its buffer to liquidation.

  4. 3
    Notion - flag positions near liquidation
    notion.so
    WebRun in Notion: flag positions near liquidation
    WebRun opens Notion to flag positions near liquidation.
    • Write a note flagging any position whose buffer to liquidation has dropped within your set threshold
    • State the current price, liquidation price, and percentage buffer remaining
    • Skip the note entirely when every position has a safe buffer

    Done when A warning note exists in Notion whenever a position is genuinely close to liquidation.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
dydx.exchange
ScheduleRuns automatically on this cadence
Every hour
DeliveryHow each run's result reaches you
Liquidation risk note · Notion
OutputWhat each run produces - A Google Sheets risk log of every open dYdX position and a Notion warning when one nears its liquidation price.
Report
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 close a position or add margin to prevent liquidation?

No. WebRun only reads your position data and reports on liquidation risk. It never places, closes, or modifies a position, and it never adds margin or moves funds on its own.

How is the liquidation buffer threshold set?

You choose the percentage buffer that should trigger a warning when you turn the template on, so the alert reflects however much room you personally want before liquidation risk.

Does the Sheet track closed positions too?

No. Once a position closes, its row is removed from the live risk log, since the sheet is meant to reflect current, open risk rather than historical trades.

Put this on autopilot.

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