Enum HistoricalGateway
- Namespace
- DatabentoDotNet.Historical
- Assembly
- DatabentoDotNet.Historical.dll
A Databento historical API gateway.
public enum HistoricalGateway
- Extension Methods
Fields
Bo1 = 0The default gateway, in Boston.
Remarks
Port of upstream's HistoricalGateway (historical.rs:24-40), which has exactly one
member today. A second gateway, if Databento ever opens one, is another member of this enum —
a value, not a reason to design a new type around two of them.
Bo1 is 0, deliberately — and that is the opposite call from
VersionUpgradePolicy. That enum's discriminants are
upstream's own wire values, so they start at 1 and this port will not renumber them to
make a C# default line up. This enum has no wire representation at all — nothing here, and
nothing in upstream's, ever crosses the network as a HistoricalGateway — so there is no
upstream numbering to preserve, and starting at 0 means
default(HistoricalGateway) is Bo1: with exactly one gateway, the only
value the type can hold by default is also the only valid one.