Table of Contents

Enum InstrumentClass

Namespace
DatabentoDotNet.Dbn
Assembly
DatabentoDotNet.Dbn.dll

The class of instrument.

public enum InstrumentClass : byte
Extension Methods

Fields

Bond = 66

A bond.

Call = 67

A call option.

CommoditySpot = 89

A commodity being traded for immediate delivery.

Future = 70

A future.

FutureSpread = 83

A spread composed of futures.

FxSpot = 88

A foreign exchange spot.

Index = 73

An index.

MixedSpread = 77

A spread composed of multiple instrument classes.

OptionSpread = 84

A spread composed of options.

Put = 80

A put option.

Stock = 75

A stock.

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(InstrumentClass) to read it as a char. Upstream marks this type #[non_exhaustive]: Databento may add variants in a future release without that being a breaking change. Do not treat an unrecognized byte as necessarily invalid the way you would for e.g. Schema; it may simply be a variant this port has not caught up to yet. This type has no upstream default variant.