All templates

Automated AvaTrade Margin Level Alerts

Every hour during market hours, WebRun signs in to AvaTrade, reads your balance, equity, used margin, and margin level, appends the reading to an Airtable log, and sends you a Telegram alert if the margin level drops below the threshold you set.

Runs on WebRun · Strict Lockdown policy
Every hour during market hours WebRunorchestrates each step
1 AvaTrade read equity and margin level
2 Airtable log every hourly reading
3 Telegram alert you when it crosses your line
In short

How do I get alerted when my trading account margin level drops?

WebRun signs in to AvaTrade every hour and reads your balance, equity, used margin, and margin level. It appends the reading to an Airtable log and sends a Telegram alert whenever the margin level crosses the threshold you set, so a slipping account never goes unnoticed. WebRun never places a trade.

  • A margin level drop reaches you within the hour it happens
  • Every hourly reading is kept in Airtable for review
  • No trade is ever placed or closed on your behalf

Built for active traders · CFD traders · self-directed investors · trading desk operators

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 www.avatrade.com in a real browser with your saved login - no setup, no API keys.

  2. 1
    AvaTrade - read equity and margin level
    avatrade.com
    WebRun in AvaTrade: read equity and margin level
    WebRun opens AvaTrade to read equity and margin level.
    • Sign in to your AvaTrade account and open the trading platform
    • Read the account balance, equity, used margin, free margin, and margin level
    • List the open positions with their instrument, direction, size, and floating profit or loss

    Done when This hour's balance, equity, margin level, and open positions are captured.

  3. 2
    Airtable - log every hourly reading
    airtable.com
    WebRun in Airtable: log every hourly reading
    WebRun opens Airtable to log every hourly reading.
    • Append one Airtable row per run with the timestamp, balance, equity, used margin, and margin level
    • Record the open position count and total floating profit or loss alongside it
    • Keep the history so you can chart how margin level moved across the week

    Done when Airtable holds an unbroken hourly history of your account readings.

  4. 3
    Telegram - alert you when it crosses your line
    telegram.org
    WebRun in Telegram: alert you when it crosses your line
    WebRun opens Telegram to alert you when it crosses your line.
    • Send a Telegram alert if margin level falls below the percentage you set
    • Include the current equity, used margin, and the three positions with the largest floating loss
    • Stay silent on runs where nothing crossed a threshold, and repeat the alert only if it worsens

    Done when You have been alerted to any threshold crossing within the hour it happened.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
www.avatrade.com
ScheduleRuns automatically on this cadence
Every hour during market hours
DeliveryHow each run's result reaches you
Margin alert · Telegram
OutputWhat each run produces - An hourly reading of balance, equity, used margin, and margin level, plus a Telegram alert whenever your threshold is crossed.
Text
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 it open, close, or adjust any of my trades?

No. WebRun only reads your AvaTrade account and reports the numbers. It never places an order, closes a position, moves a stop, or deposits funds. Every trading decision stays yours.

Is this financial advice?

No. WebRun reports the figures your own account already shows and alerts on a threshold you choose. It does not recommend instruments, sizes, or timing, and it is not a substitute for a licensed adviser.

How often will it message me?

Only when your margin level crosses the line you set, and again only if the reading gets worse. Quiet hours are logged to Airtable with no Telegram message.

Put this on autopilot.

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