All templates

Automated IG Expiry and Margin Reminders

Every morning, WebRun opens IG, reads every open position for its expiry date if it has one and the account's overall margin level, creates a Trello card for any position expiring within 5 days, and posts an alert to Microsoft Teams if margin level has dropped within the safety threshold you set.

Runs on WebRun · Strict Lockdown policy
Every day at 8:00 AM, before market open WebRunorchestrates each step
1 IG read position expiries and margin level
2 Trello log the upcoming expiry card
3 Microsoft Teams post the margin warning
In short

How do I track upcoming IG position expiries and margin risk?

WebRun checks your open IG positions every morning for anything expiring within 5 days and reads the account's overall margin level, creating a Trello card for upcoming expiries and posting a Microsoft Teams alert only when margin level drops within your set safety threshold. Closing a position or adding funds is always left for you to decide.

  • No position expires as a surprise, since every one gets a 5-day heads-up
  • Margin risk is caught before it becomes a call, not after
  • Quiet days stay quiet. Teams alerts only fire on a genuine margin risk

Built for IG traders · CFD traders · options traders · active retail 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 www.ig.com in a real browser with your saved login - no setup, no API keys.

  2. 1
    IG - read position expiries and margin level
    ig.com
    WebRun in IG: read position expiries and margin level
    WebRun opens IG to read position expiries and margin level.
    • Open IG and read every open position, noting any with a fixed expiry date
    • Read current account margin level as a percentage
    • Flag any position expiring within 5 days and compare margin level to your set threshold

    Done when Today's expiring positions and margin level are captured.

  3. 2
    Trello - log the upcoming expiry card
    trello.com
    WebRun in Trello: log the upcoming expiry card
    WebRun opens Trello to log the upcoming expiry card.
    • Create a card for any position expiring within 5 days
    • Title it with the instrument, expiry date, and current value
    • Move the card to Expired once the date passes

    Done when Every position expiring within 5 days has a tracked Trello card.

  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 only if margin level has dropped within your set safety threshold
    • State the current margin level and which positions are using the most margin
    • Post nothing on a day margin level stays safely above the threshold

    Done when The team has a margin alert whenever it is genuinely needed, and nothing otherwise.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
www.ig.com
ScheduleRuns automatically on this cadence
Every day at 8:00 AM, before market open
DeliveryHow each run's result reaches you
Margin and expiry alert · Microsoft Teams
OutputWhat each run produces - A Trello card per position expiring within 5 days and a Teams alert when margin level nears your set threshold.
Checklist + 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 my IG account?

No. WebRun only reads position expiries and margin level and reports on them. It never places, closes, or modifies a position, and it never adds funds or moves money on its own.

How is the margin safety threshold set?

You choose the margin level percentage that should trigger a Teams alert when you turn the template on, matching however much buffer you personally want to keep.

What kinds of IG positions have expiry dates?

Products like options or futures-style instruments carry a fixed expiry, while standard CFD positions typically do not. Only positions with a real expiry date get a Trello card.

Put this on autopilot.

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