Table of Contents

Struct Event

Namespace
DatabentoDotNet.Reference
Assembly
DatabentoDotNet.Reference.dll

A corporate-action event type.

[JsonConverter(typeof(ReferenceCodeJsonConverter<Event>))]
public readonly record struct Event : IReferenceCode<Event>, IEquatable<Event>
Implements
Inherited Members

Remarks

An open set: a code this library does not know is carried, not lost. Upstream ends this enum in an Unknown(String) variant (enums.rs:1933) so a code Databento adds next month round-trips untouched, and a C# enum cannot hold a payload. See IReferenceCode<TSelf> for the shape this takes instead and why.

The members come from the EVENT group of the vendored corporate_actions.list_enums response, which is the oracle rather than a count typed into an issue.

Seeded from the EVENT dictionary group's 141 codes rather than from the 60 events corporate_actions.list_events documents. The 141 are a strict superset and are the widest vocabulary a record's event field is known to carry; the documented 60 are the subset with published field lists, not the type's range.

The name is Event even though that word is reserved in Visual Basic. It is what upstream calls this (enums.rs:1933), what the wire field is called, and the name a reader arrives with from the API documentation or the Rust client. A VB consumer writes [Event] to escape it, which is a known and minor cost; renaming to EventType would buy that back and spend the far larger one. The analyzer that objects to it, CA1716, is silent here only because this file is generated — hence the reason living in the documentation, where it is read, rather than in a suppression that suppresses nothing.

Constructors

Event(string)

Wraps a wire code, known or not. Prefer a named member such as Agchg where one exists, and From(string?) where the value came from the server.

public Event(string code)

Parameters

code string

The wire code.

Exceptions

ArgumentException

code is null or empty. A blank code is the absence of a value, which is default.

Properties

Agchg

Agency Change (AGCHG).

public static Event Agchg { get; }

Property Value

Event

Agm

Company Meeting (AGM).

public static Event Agm { get; }

Property Value

Event

Agncy

Agency (AGNCY).

public static Event Agncy { get; }

Property Value

Event

Ann

Announcement (ANN).

public static Event Ann { get; }

Property Value

Event

Arr

Arrangement (ARR).

public static Event Arr { get; }

Property Value

Event

Assm

Assimilation (ASSM).

public static Event Assm { get; }

Property Value

Event

Auct

Auction (AUCT).

public static Event Auct { get; }

Property Value

Event

Bb

Buyback (BB).

public static Event Bb { get; }

Property Value

Event

Bbc

Bloomberg Composite ID (BBC).

public static Event Bbc { get; }

Property Value

Event

Bbcc

Bloomberg Composite ID Change (BBCC).

public static Event Bbcc { get; }

Property Value

Event

Bbe

Bloomberg Exchange ID (BBE).

public static Event Bbe { get; }

Property Value

Event

Bbec

Bloomberg Exchange ID Change (BBEC).

public static Event Bbec { get; }

Property Value

Event

Bdc

Business Day Convention Center (BDC).

public static Event Bdc { get; }

Property Value

Event

Bhm

Bond Holder Meeting (BHM).

public static Event Bhm { get; }

Property Value

Event

Bkrp

Bankruptcy (BKRP).

public static Event Bkrp { get; }

Property Value

Event

Bndlq

Bond Liquidation (BNDLQ).

public static Event Bndlq { get; }

Property Value

Event

Bochg

Bond O/s Change (BOCHG).

public static Event Bochg { get; }

Property Value

Event

Bon

Bonus Issue (BON).

public static Event Bon { get; }

Property Value

Event

Bondfull

Bond Full (BONDFULL).

public static Event Bondfull { get; }

Property Value

Event

Bondlite

Bond Lite (BONDLITE).

public static Event Bondlite { get; }

Property Value

Event

Br

Bonus Rights (BR).

public static Event Br { get; }

Property Value

Event

Bschg

Bond Static Change (BSCHG).

public static Event Bschg { get; }

Property Value

Event

Bskcc

Basket Warrant Constituent Change (BSKCC).

public static Event Bskcc { get; }

Property Value

Event

Bwchg

Basket Warrant Change (BWCHG).

public static Event Bwchg { get; }

Property Value

Event

Call

Call (CALL).

public static Event Call { get; }

Property Value

Event

Callput

Call-Put (CALLPUT).

public static Event Callput { get; }

Property Value

Event

Cancel

Cancel (CANCEL).

public static Event Cancel { get; }

Property Value

Event

Caprd

Capital Reduction (CAPRD).

public static Event Caprd { get; }

Property Value

Event

Ch144

Link 144A Change (CH144).

public static Event Ch144 { get; }

Property Value

Event

Cinch

CIN Change (CINCH).

public static Event Cinch { get; }

Property Value

Event

Clean

Clean (CLEAN).

public static Event Clean { get; }

Property Value

Event

Clsac

Class Action (CLSAC).

public static Event Clsac { get; }

Property Value

Event

Cmacq

Compulsory Acquisition (CMACQ).

public static Event Cmacq { get; }

Property Value

Event

Code

The wire code, or null when this names no value.

public string? Code { get; }

Property Value

string

Consd

Consolidation (CONSD).

public static Event Consd { get; }

Property Value

Event

Conv

Conversion (CONV).

public static Event Conv { get; }

Property Value

Event

Convt

Conversion Terms (CONVT).

public static Event Convt { get; }

Property Value

Event

Corr

Correction (CORR).

public static Event Corr { get; }

Property Value

Event

Cosnt

Consent (COSNT).

public static Event Cosnt { get; }

Property Value

Event

Cpopn

Call Put Option Notes (CPOPN).

public static Event Cpopn { get; }

Property Value

Event

Cpopt

Schedule (CPOPT).

public static Event Cpopt { get; }

Property Value

Event

Crchg

Credit Rating Change (CRCHG).

public static Event Crchg { get; }

Property Value

Event

Crdrt

Credit Ratings (CRDRT).

public static Event Crdrt { get; }

Property Value

Event

Ctchg

Conversion Terms Change (CTCHG).

public static Event Ctchg { get; }

Property Value

Event

Ctx

Certificate of Exchange (CTX).

public static Event Ctx { get; }

Property Value

Event

Currd

Currency Redenomination (CURRD).

public static Event Currd { get; }

Property Value

Event

Defunct

Defunct SEDOL (DEFUNCT).

public static Event Defunct { get; }

Property Value

Event

Dist

Distribution (DIST).

public static Event Dist { get; }

Property Value

Event

Div

Dividend (DIV).

public static Event Div { get; }

Property Value

Event

Diveb

Dividend - Equity Bifurcated (DIVEB).

public static Event Diveb { get; }

Property Value

Event

Divif

Dividend - Investment Fund (DIVIF).

public static Event Divif { get; }

Property Value

Event

Divrc

Dividend Reclassification (DIVRC).

public static Event Divrc { get; }

Property Value

Event

Dmrgr

Demerger (DMRGR).

public static Event Dmrgr { get; }

Property Value

Event

Dprcp

Depository Receipt (DPRCP).

public static Event Dprcp { get; }

Property Value

Event

Drchg

Depository Receipt Change (DRCHG).

public static Event Drchg { get; }

Property Value

Event

Drip

Dividend Reinvestment Plan (DRIP).

public static Event Drip { get; }

Property Value

Event

Dvst

Divestment (DVST).

public static Event Dvst { get; }

Property Value

Event

Ent

Entitlement Issue (ENT).

public static Event Ent { get; }

Property Value

Event

Exchg

Exchange (EXCHG).

public static Event Exchg { get; }

Property Value

Event

Ffc

Free Float Change (FFC).

public static Event Ffc { get; }

Property Value

Event

Fi

Further Issue (FI).

public static Event Fi { get; }

Property Value

Event

Finch

FISN Change (FINCH).

public static Event Finch { get; }

Property Value

Event

Frank

Franking (FRANK).

public static Event Frank { get; }

Property Value

Event

Frnfx

FRN Fixing (FRNFX).

public static Event Frnfx { get; }

Property Value

Event

Fsplt

Forward Split, currently only used in US events (FSPLT).

public static Event Fsplt { get; }

Property Value

Event

Ftran

Fund Transfer (FTRAN).

public static Event Ftran { get; }

Property Value

Event

Ftt

Financial Transaction Tax (FTT).

public static Event Ftt { get; }

Property Value

Event

Fychg

Financial Year Change (FYCHG).

public static Event Fychg { get; }

Property Value

Event

Gicch

GICS Change (GICCH).

public static Event Gicch { get; }

Property Value

Event

HasValue

true when this names a code — known or not.

public bool HasValue { get; }

Property Value

bool

Icc

International Code Change (ICC).

public static Event Icc { get; }

Property Value

Event

Ifchg

Interest Frequency Change (IFCHG).

public static Event Ifchg { get; }

Property Value

Event

Inchg

Country of Incorporation Change (INCHG).

public static Event Inchg { get; }

Property Value

Event

Indef

In Default (INDEF).

public static Event Indef { get; }

Property Value

Event

Int

Interest (INT).

public static Event Int { get; }

Property Value

Event

Intbc

Interest Basis Change (INTBC).

public static Event Intbc { get; }

Property Value

Event

Intpy

Interest Payment Announcement (INTPY).

public static Event Intpy { get; }

Property Value

Event

Irchg

Interest Rate Change (IRCHG).

public static Event Irchg { get; }

Property Value

Event

IsKnown

true when Code is one of KnownCodes.

public bool IsKnown { get; }

Property Value

bool

Remarks

false is not an error. It means the server sent something newer than the table this library shipped with, and the code is still in Code to be read, logged, or sent back in a filter.

Ischg

Issuer Name Change (ISCHG).

public static Event Ischg { get; }

Property Value

Event

Issdd

Issuer Debt Default (ISSDD).

public static Event Issdd { get; }

Property Value

Event

Issur

Issuer (ISSUR).

public static Event Issur { get; }

Property Value

Event

KnownCodes

Every code the reference API reported for this type when the fixture was captured — 141 of them.

public static IReadOnlySet<string> KnownCodes { get; }

Property Value

IReadOnlySet<string>

Lcc

Local Code Change (LCC).

public static Event Lcc { get; }

Property Value

Event

Leich

LEI Change (LEICH).

public static Event Leich { get; }

Property Value

Event

Liq

Liquidation (LIQ).

public static Event Liq { get; }

Property Value

Event

Lstat

Listing Status (LSTAT).

public static Event Lstat { get; }

Property Value

Event

Ltchg

Lot Change (LTCHG).

public static Event Ltchg { get; }

Property Value

Event

Mfch

Mutual Fund Change (MFCH).

public static Event Mfch { get; }

Property Value

Event

Mfcon

Mutual Fund Conversion (MFCON).

public static Event Mfcon { get; }

Property Value

Event

Mffech

Mutual Fund Fees Change (MFFECH).

public static Event Mffech { get; }

Property Value

Event

Mifid

MIFID Securities (MIFID).

public static Event Mifid { get; }

Property Value

Event

Mkchg

Market Segment Change (MKCHG).

public static Event Mkchg { get; }

Property Value

Event

Mktsg

Market Segment (MKTSG).

public static Event Mktsg { get; }

Property Value

Event

Mrgr

Merger (MRGR).

public static Event Mrgr { get; }

Property Value

Event

Mtchg

Maturity Date Change (MTCHG).

public static Event Mtchg { get; }

Property Value

Event

Nlist

New Listing (NLIST).

public static Event Nlist { get; }

Property Value

Event

Ns

Not Specified (NS).

public static Event Ns { get; }

Property Value

Event

Oddlt

Odd Lot Offer (ODDLT).

public static Event Oddlt { get; }

Property Value

Event

Pid

Property Income Distribution (PID).

public static Event Pid { get; }

Property Value

Event

Pik

Pay In Kind (PIK).

public static Event Pik { get; }

Property Value

Event

Po

Purchase Offer (PO).

public static Event Po { get; }

Property Value

Event

Prchg

Primary Exchange Change (PRCHG).

public static Event Prchg { get; }

Property Value

Event

Prf

Preferential Offer (PRF).

public static Event Prf { get; }

Property Value

Event

Pvrd

Par Value Redenomination (PVRD).

public static Event Pvrd { get; }

Property Value

Event

Rcap

Return of Capital (RCAP).

public static Event Rcap { get; }

Property Value

Event

Rconv

Reconvention (RCONV).

public static Event Rconv { get; }

Property Value

Event

Rd

Record Date (RD).

public static Event Rd { get; }

Property Value

Event

Rdnom

Redenomination (RDNOM).

public static Event Rdnom { get; }

Property Value

Event

Redem

Redemption (REDEM).

public static Event Redem { get; }

Property Value

Event

Redmt

Redemption Terms (REDMT).

public static Event Redmt { get; }

Property Value

Event

Reiss

Reissuance (REISS).

public static Event Reiss { get; }

Property Value

Event

Restore

Restore Defunct Sedol (RESTORE).

public static Event Restore { get; }

Property Value

Event

Revert

Revert (REVERT).

public static Event Revert { get; }

Property Value

Event

Rochg

Registered Office Change (ROCHG).

public static Event Rochg { get; }

Property Value

Event

Rsplt

Reverse Split, currently only used in US events (RSPLT).

public static Event Rsplt { get; }

Property Value

Event

Rtrac

Retractions (RTRAC).

public static Event Rtrac { get; }

Property Value

Event

Rts

Rights (RTS).

public static Event Rts { get; }

Property Value

Event

Sachg

Security Agency Change (SACHG).

public static Event Sachg { get; }

Property Value

Event

Sbfdch

Sub Fund Change (SBFDCH).

public static Event Sbfdch { get; }

Property Value

Event

Sbfdtr

Sub Fund Transfer (SBFDTR).

public static Event Sbfdtr { get; }

Property Value

Event

Scagy

Security Agency (SCAGY).

public static Event Scagy { get; }

Property Value

Event

Scchg

Security Name Change (SCCHG).

public static Event Scchg { get; }

Property Value

Event

Scexh

Security Exchange (SCEXH).

public static Event Scexh { get; }

Property Value

Event

Scmst

Security Master (SCMST).

public static Event Scmst { get; }

Property Value

Event

Scswp

Security Swap (SCSWP).

public static Event Scswp { get; }

Property Value

Event

Scxtc

Security Exchange Trading Currency (SCXTC).

public static Event Scxtc { get; }

Property Value

Event

Sd

Sub Division (SD).

public static Event Sd { get; }

Property Value

Event

Sdchg

Sedol Change (SDCHG).

public static Event Sdchg { get; }

Property Value

Event

Sdlexc

SEDOL Exchange Change (SDLEXC).

public static Event Sdlexc { get; }

Property Value

Event

Secrc

Security Re-classification (SECRC).

public static Event Secrc { get; }

Property Value

Event

Sedol

SEDOL (SEDOL).

public static Event Sedol { get; }

Property Value

Event

Shoch

Shares Outstanding Change (SHOCH).

public static Event Shoch { get; }

Property Value

Event

Soff

Spin-Off, currently only used in US events (SOFF).

public static Event Soff { get; }

Property Value

Event

Sxtch

Security Exchange Trading Currency Change (SXTCH).

public static Event Sxtch { get; }

Property Value

Event

Tkovr

Takeover (TKOVR).

public static Event Tkovr { get; }

Property Value

Event

Tlelk

Temp Line Security (TLELK).

public static Event Tlelk { get; }

Property Value

Event

Trchg

Treasury Shares Change (TRCHG).

public static Event Trchg { get; }

Property Value

Event

Trnch

Tranche (TRNCH).

public static Event Trnch { get; }

Property Value

Event

Umchg

Umbrella Programme Change (UMCHG).

public static Event Umchg { get; }

Property Value

Event

Unstp

Unstaple (UNSTP).

public static Event Unstp { get; }

Property Value

Event

Usintch

US International Code Change (USINTCH).

public static Event Usintch { get; }

Property Value

Event

Warex

Warrant Exercise (WAREX).

public static Event Warex { get; }

Property Value

Event

Wtchg

Warrant Terms Change (WTCHG).

public static Event Wtchg { get; }

Property Value

Event

Wxchg

Warrant Exercise Change (WXCHG).

public static Event Wxchg { get; }

Property Value

Event

Methods

From(string?)

Reads a wire code, mapping null and the empty string to default — the absence of a value.

public static Event From(string? code)

Parameters

code string

The wire code, or null.

Returns

Event

The value.

ToString()

The wire code, or the empty string when this names no value.

public override string ToString()

Returns

string

The wire code.