Table of Contents

Enum Action

Namespace
DatabentoDotNet.Dbn
Assembly
DatabentoDotNet.Dbn.dll

An order event or order book operation.

public enum Action : byte
Extension Methods

Fields

Add = 65

A new order was added to the book.

Cancel = 67

An order was fully or partially cancelled.

Clear = 82

Reset the book; clear all orders for an instrument.

Fill = 70

An existing order was filled. Does not affect the book.

Modify = 77

An existing order was modified: price and/or size.

None = 78

Has no effect on the book, but may carry flags or other information.

Trade = 84

An aggressing order traded. Does not affect the book.

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(Action) to read it as a char. Rust marks None as the type's default, but C#'s implicit default(Action) is the zero value (Action)0, which has no name here — reference None explicitly where upstream's default matters.