Skip to content

MARKETSUSPENSION

MARKETSUSPENSION is obsolete from 2017 End of Year DM4.27 Release. MARKETSUSPENSION sets out a start and end periods of any market suspension and the reason.

Deprecation Warning

This table is in the HISTORICAL TABLES package, so is likely deprecated.

MARKETSUSPENSION is public data, so is available to all participants.

Source

MARKETSUSPENSION updates only if market is suspended.

Column Schema

SUSPENSIONID

Unique identifier for suspension

SQL Type: VARCHAR2(10) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • SA BLACK
  • Y2KCAP

ENDAUTHORISEDBY

User authorising end

SQL Type: VARCHAR2(15) Polars Type: str

This column is not mandatory.

Examples:

  • CBROWNLEE
  • RGILLETT

ENDDATE

End Date of suspension

SQL Type: DATE Polars Type: pl.Date()

This column is not mandatory.

Example: 2000/01/03 00:00:00

Note that AEMO represents dates as datetimes with a midnight time component.

ENDPERIOD

End trading interval of suspension

SQL Type: NUMBER(3,0) Polars Type: pl.Int16

This column is not mandatory.

Examples: 0, 45

LASTCHANGED

Last date and time record changed

For more information, see the dedicated documentation page.

SQL Type: DATE Polars Type: pl.Datetime()

This column is not mandatory.

Example: 1999/12/30 19:10:46

REASON

Reason for suspension

SQL Type: VARCHAR2(64) Polars Type: str

This column is not mandatory.

Examples:

  • System Black & Ministerial Direction
  • Y2K Price Cap during 3 day Y2K Period 31/12/1999 to 02/01/2000

STARTAUTHORISEDBY

User authorising start

SQL Type: VARCHAR2(15) Polars Type: str

This column is not mandatory.

Examples:

  • CBROWNLEE
  • RGILLETT

STARTDATE

Start date of suspension

SQL Type: DATE Polars Type: pl.Date()

This column is not mandatory.

Example: 1999/12/31 00:00:00

Note that AEMO represents dates as datetimes with a midnight time component.

STARTPERIOD

Start trading interval of suspension

SQL Type: NUMBER(3,0) Polars Type: pl.Int16

This column is not mandatory.

Examples: 1, 33

New Data Timing

When the market is suspended

Code Examples

Polars

Casting is enums, categoricals etc is not essential, but may speed up parsing. Swapping int for pl.UInt16, pl.Int32 would also speed up parsing. However some of the datatypes are inferred, so they may be wrong.

This code deduplicates for you. Deduplication is normally only required across multiple months.

This code assumes that all columns are present, which may not be true for older files.

import polars as pl
import polars.selectors as cs

# e.g. "2029/03/15 00:05:00"
dt_s_fmt = "%Y/%m/%d %H:%M:%S"

# Dates are represented as datetimes at midnight

d_fmt = "%Y/%m/%d 00:00:00"

csv_paths = ["SOMEFILE.CSV", "OTHERFILE.CSV"]

lf = (
    pl.concat(
        [
            pl.scan_csv(
                csv_path,  # must be unzipped beforehand
                skip_rows=1,  # skip the header
                infer_schema=False,  # much faster
            )
            .filter(cs.by_index(0) == "D")  # drop the footer
            .select(~cs.by_index(range(4)))  # drop metadata columns
            for csv_path in csv_paths
        ],
        how="diagonal_relaxed",
    )
    .with_columns(
        pl.col("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
        pl.col("ENDDATE", "STARTDATE").str.strptime(pl.Date, d_fmt),
    )
    .cast(
        {
            "SUSPENSIONID": str,
            "ENDAUTHORISEDBY": str,
            "ENDDATE": pl.Date(),
            "ENDPERIOD": int,  # or pl.Int16
            "REASON": str,
            "STARTAUTHORISEDBY": str,
            "STARTDATE": pl.Date(),
            "STARTPERIOD": int,  # or pl.Int16
        }
    )
    # Deduplicate
    # We want one row per ['SUSPENSIONID']
    # Tie-breaker: greatest value of ['LASTCHANGED']
    .sort(["LASTCHANGED"], descending=False)
    .unique(subset=["SUSPENSIONID"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_MARKETSUSPENSION_FILE01_202609010000.zip

SUSPENSIONIDSTARTDATESTARTPERIODENDDATEENDPERIODREASONSTARTAUTHORISEDBYENDAUTHORISEDBYLASTCHANGED
Y2KCAP1999/12/31 00:00:0012000/01/03 00:00:000Y2K Price Cap during 3 day Y2K Period 31/12/1999 to 02/01/2000RGILLETTRGILLETT1999/12/30 19:10:46
SA BLACK 2016/09/28 00:00:00332016/10/11 00:00:0045System Black & Ministerial Direction CBROWNLEECBROWNLEE2016/10/11 22:47:43

CSETP.WORLDDVD_MARKETSUSPENSIONAEMOPUBLIC2026/10/0915:53:28001791525208133MONTHLY_ARCHIVE001791525208133
IFORCE_MAJEUREMARKETSUSPENSION1SUSPENSIONIDSTARTDATESTARTPERIODENDDATEENDPERIODREASONSTARTAUTHORISEDBYENDAUTHORISEDBYLASTCHANGED
DFORCE_MAJEUREMARKETSUSPENSION1Y2KCAP1999/12/31 00:00:0012000/01/03 00:00:000Y2K Price Cap during 3 day Y2K Period 31/12/1999 to 02/01/2000RGILLETTRGILLETT1999/12/30 19:10:46
DFORCE_MAJEUREMARKETSUSPENSION1SA BLACK 2016/09/28 00:00:00332016/10/11 00:00:0045System Black & Ministerial Direction CBROWNLEECBROWNLEE2016/10/11 22:47:43
CEND OF REPORT5

SUSPENSIONID,STARTDATE,STARTPERIOD,ENDDATE,ENDPERIOD,REASON,STARTAUTHORISEDBY,ENDAUTHORISEDBY,LASTCHANGED
Y2KCAP,"1999/12/31 00:00:00",1,"2000/01/03 00:00:00",0,"Y2K Price Cap during 3 day Y2K Period 31/12/1999 to 02/01/2000",RGILLETT,RGILLETT,"1999/12/30 19:10:46"
"SA BLACK ","2016/09/28 00:00:00",33,"2016/10/11 00:00:00",45,"System Black & Ministerial Direction ",CBROWNLEE,CBROWNLEE,"2016/10/11 22:47:43"
C,SETP.WORLD,DVD_MARKETSUSPENSION,AEMO,PUBLIC,2026/10/09,15:53:28,001791525208133,MONTHLY_ARCHIVE,001791525208133
I,FORCE_MAJEURE,MARKETSUSPENSION,1,SUSPENSIONID,STARTDATE,STARTPERIOD,ENDDATE,ENDPERIOD,REASON,STARTAUTHORISEDBY,ENDAUTHORISEDBY,LASTCHANGED
D,FORCE_MAJEURE,MARKETSUSPENSION,1,Y2KCAP,"1999/12/31 00:00:00",1,"2000/01/03 00:00:00",0,"Y2K Price Cap during 3 day Y2K Period 31/12/1999 to 02/01/2000",RGILLETT,RGILLETT,"1999/12/30 19:10:46"
D,FORCE_MAJEURE,MARKETSUSPENSION,1,"SA BLACK ","2016/09/28 00:00:00",33,"2016/10/11 00:00:00",45,"System Black & Ministerial Direction ",CBROWNLEE,CBROWNLEE,"2016/10/11 22:47:43"
C,"END OF REPORT",5

Availability

Visibility: Public

This table is in the public monthly MMSDM archive.

I have collated the list of all those files into one place, in this CSV metadata file. (Columns year, month, url, compressed_size in bytes).

The earliest available data is month 1 of 2015. The most recent available data is month 9 of 2026.

Every month in between has a file. (No gaps.)

Data Size

Each year of data is approximately 7 KB when zipped, 72 KB as unzipped CSV.

Deduplication and PDR Loader Configuration

The primary keys are:

PDR Loader configuration is:

Report Name Report Subtype Version Undisclosed
FORCE_MAJEURE MARKETSUSPENSION 1 ⚠️

Warning

Some of these file mappings are not in the published PDR Loader configuration file, even though files for this table exist with those metadata values. Mappings marked with ⚠️ have been added by me after manually inspecting those files.

This means that the CSV files start with metadata columns:

I,FORCE_MAJEURE,MARKETSUSPENSION,1,...
D,FORCE_MAJEURE,MARKETSUSPENSION,1,...

Indexes

This page as JSON (schema documented here, but may change)

Download a JSON Schema specification for this table.

Official AEMO schema documentation

Other Information

Package: HISTORICAL TABLES