Table of Contents

Enum SecurityUpdateAction

Namespace
DatabentoDotNet.Dbn
Assembly
DatabentoDotNet.Dbn.dll

The type of InstrumentDefMsg update.

public enum SecurityUpdateAction : byte
Extension Methods

Fields

Add = 65

A new instrument definition.

Delete = 68

Removal of an instrument definition.

Invalid = 126

Deprecated upstream since dbn 0.3.0 but still present in legacy files; retained here for decode compatibility, not as a value new code should emit.

Modify = 77

A modified instrument definition of an existing one.

Remarks

Char-valued: each variant's numeric value is its ASCII character code, and that character is the only wire/text form this type has — there is no separate string representation. Use ToChar(SecurityUpdateAction) to read it as a char. Rust marks Add as the type's default, but C#'s implicit default(SecurityUpdateAction) is the zero value (SecurityUpdateAction)0, which has no name here — reference Add explicitly where upstream's default matters.