All templates

Automated CMC Markets Margin Level Alerts

Every 30 minutes during market hours, WebRun opens CMC Markets, reads your account margin level and open position exposure, and the moment margin level drops within the safety threshold you set, creates a Trello card logging the event and posts an alert to Microsoft Teams so you can add funds or reduce exposure before a stop-out.

Runs on WebRun · Strict Lockdown policy
Every 30 minutes, during market hours WebRunorchestrates each step
1 CMC Markets read margin level and exposure
2 Trello log the margin alert card
3 Microsoft Teams post the margin warning
In short

How do I get warned before my CMC Markets account nears a stop-out?

WebRun checks your CMC Markets margin level every 30 minutes during market hours, and the moment it drops within the safety threshold you set, logs a Trello card and posts an alert to Microsoft Teams naming the current level and distance to stop-out. Adding funds or reducing exposure always stays your own call.

  • A margin level risk is caught 30 minutes at a time instead of after a stop-out
  • The safety threshold matches your own risk tolerance, not a generic default
  • A Trello record of every real margin warning builds automatically over time

Built for CFD traders · leveraged position holders · active traders · CMC Markets users

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

  2. 1
    CMC Markets - read margin level and exposure
    cmcmarkets.com
    WebRun in CMC Markets: read margin level and exposure
    WebRun opens CMC Markets to read margin level and exposure.
    • Open CMC Markets and read current margin level as a percentage
    • Read total open position exposure across CFDs
    • Compare margin level to the safety threshold you set

    Done when Today's margin level and exposure are captured for this check.

  3. 2
    Trello - log the margin alert card
    trello.com
    WebRun in Trello: log the margin alert card
    WebRun opens Trello to log the margin alert card.
    • Create a card logging today's date, margin level, and which positions are largest
    • Only create the card when margin level drops within your set threshold
    • Move the card to Resolved once margin level recovers above the threshold

    Done when A Trello card exists for every genuine margin warning.

  4. 3
    Microsoft Teams - post the margin warning
    microsoft.com
    WebRun in Microsoft Teams: post the margin warning
    WebRun opens Microsoft Teams to post the margin warning.
    • Post an alert naming the current margin level and how close it is to stop-out
    • State the two options in plain terms, add funds or reduce exposure
    • Post nothing when margin level stays safely above the threshold

    Done when The team has an alert whenever margin level is genuinely at risk, and nothing otherwise.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
www.cmcmarkets.com
ScheduleRuns automatically on this cadence
Every 30 minutes, during market hours
DeliveryHow each run's result reaches you
Margin level alert · Microsoft Teams
OutputWhat each run produces - A Teams alert and a Trello card the moment your CMC Markets margin level drops within your set safety threshold.
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 close a position or add funds to prevent a stop-out?

No. WebRun only reads your margin level and alerts you when it gets close to a stop-out. Closing a position, adding funds, or making any account change is always done by you directly on CMC Markets.

How is the safety threshold set?

You define the margin level percentage that should trigger an alert when you turn the template on, so it reflects however much buffer you personally want to keep before a stop-out.

How quickly would I know about a real risk?

Within 30 minutes, since margin level is checked that often during market hours. The check interval can be shortened further for faster-moving markets.

Put this on autopilot.

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