Enum SecurityUpdateAction
- Namespace
- DatabentoDotNet.Dbn
- Assembly
- DatabentoDotNet.Dbn.dll
The type of InstrumentDefMsg update.
public enum SecurityUpdateAction : byte
- Extension Methods
Fields
Add = 65A new instrument definition.
Delete = 68Removal of an instrument definition.
Invalid = 126Deprecated upstream since
dbn0.3.0 but still present in legacy files; retained here for decode compatibility, not as a value new code should emit.Modify = 77A 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.