Expand description
A crate for reading DBN and legacy DBZ files and converting them to other
Encodings.
Re-exports
pub use crate::error::Error;pub use crate::error::Result;pub use crate::metadata::MappingInterval;pub use crate::metadata::Metadata;pub use crate::metadata::MetadataBuilder;pub use crate::metadata::SymbolMapping;
Modules
- Contains dataset code constants.
- Decoding DBN and Zstd-compressed DBN files and streams. Decoders implement the
DecodeDbntrait. - Encoding DBN and Zstd-compressed DBN files and streams. Encoders implement the
EncodeDbntrait. - Enums used in Databento APIs.
- Types for errors that can occur while working with DBN.
- Helper macros for working with multiple RTypes, Schemas, and record types.
- Contains
Metadatastruct which comes at the beginning of any DBN file or stream andMetadataBuilderfor creating aMetadatawith defaults. - Contains new types for pretty-printing values found in DBN records.
- Enumerations for different data sources, venues, and publishers.
- Python wrappers around dbn functions. These are implemented here instead of in
python/to be able to implementpyo3traits for DBN types. - Market data types for encoding different Databento
Schemas and conversion functions. - The
RecordRefstruct for non-owning references to DBN records.
Macros
- Specializes a generic async function to all record types and dispatches based
rtype. - Specializes a generic function to all record types and dispatches based
rtype. - Specializes a generic function to all record types wrapped in
WithTsOutand dispatches based on thertype. - Specializes a generic async function to all record types and dispatches based
rtypeandts_out. - Specializes a generic function to all record types and dispatches based on the
rtypeandts_out. - Specializes a generic async method function to all record types with an associated schema.
- Specializes a generic method function to all record types with an associated schema.
- Specializes a generic method function to all record types with an associated schema.
Constants
- The current version of the DBN encoding, which is different from the crate version.
- The denominator of fixed prices in DBN.
- The sentinel value for an unset or null order quantity.
- The sentinel value for an unset or null price.
- The sentinel value for an unset or null stat quantity.
- The sentinel value for an unset or null timestamp.