Skip to content

Commit 2b6a303

Browse files
committed
VER: Release DBN 0.61.0
2 parents 3e58087 + 1c8da50 commit 2b6a303

10 files changed

Lines changed: 52 additions & 40 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.61.0 - 2026-06-16
4+
5+
### Enhancements
6+
- Added `MatchAlgorithm` variant `Allocation`
7+
- Upgraded `time` version to 0.3.49
8+
- Upgraded `pyo3` to 0.29.0
9+
310
## 0.60.0 - 2026-06-09
411

512
### Enhancements

Cargo.lock

Lines changed: 23 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ resolver = "2"
1111
[workspace.package]
1212
authors = ["Databento <support@databento.com>"]
1313
edition = "2021"
14-
version = "0.60.0"
14+
version = "0.61.0"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"
1818

1919
[workspace.dependencies]
2020
anyhow = "1.0.102"
2121
csv = "1.4"
22-
pyo3 = "0.28.3"
23-
pyo3-build-config = "0.28.3"
22+
pyo3 = "0.29.0"
23+
pyo3-build-config = "0.29.0"
2424
rstest = "0.26.1"
2525
serde = { version = "1.0", features = ["derive"] }
26-
time = "0.3.47"
26+
time = "0.3.49"
2727
zstd = "0.13"

c/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ dbn = { path = "../rust/dbn", features = [] }
1919
libc = "0.2.186"
2020

2121
[build-dependencies]
22-
cbindgen = { version = "0.29.3", default-features = false }
22+
cbindgen = { version = "0.29.4", default-features = false }

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "databento-dbn"
3-
version = "0.60.0"
3+
version = "0.61.0"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
55
readme = "README.md"
66
requires-python = ">=3.10"

python/python/databento_dbn/_lib.pyi

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,15 +476,15 @@ class MatchAlgorithm(Enum):
476476
Trade quantity is allocated to resting orders based on a pro-rata percentage:
477477
resting order quantity divided by total quantity.
478478
FIFO_LMM
479-
Like `FIFO` but with LMM allocations prior to FIFO allocations.
479+
Like FIFO, but with LMM allocations prior to FIFO allocations.
480480
THRESHOLD_PRO_RATA
481-
Like `PRO_RATA` but includes a configurable allocation to the first order that
482-
improves the market.
481+
Like Pro-Rata, but includes a configurable allocation to the first order that
482+
improves the market. Minimum order thresholds may exist.
483483
FIFO_TOP_LMM
484-
Like `FIFO_LMM` but includes a configurable allocation to the first order that
484+
Like FIFO with LMM, but includes a configurable allocation to the first order that
485485
improves the market.
486486
THRESHOLD_PRO_RATA_LMM
487-
Like `THRESHOLD_PRO_RATA` but includes a special priority to LMMs.
487+
Like Threshold Pro-Rata, but includes a special priority to LMMs.
488488
EURODOLLAR_FUTURES
489489
Special variant used only for Eurodollar futures on CME.
490490
TIME_PRO_RATA
@@ -494,6 +494,9 @@ class MatchAlgorithm(Enum):
494494
A two-pass FIFO algorithm. The first pass fills the Institutional Group the aggressing
495495
order is associated with. The second pass matches orders without an Institutional Group
496496
association. See [CME documentation](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457217267#InstitutionalPrioritizationMatchAlgorithm).
497+
ALLOCATION
498+
Like Pro-Rata, but includes a configurable allocation to the first order that
499+
improves the market.
497500
498501
"""
499502

@@ -508,6 +511,7 @@ class MatchAlgorithm(Enum):
508511
EURODOLLAR_FUTURES: str
509512
TIME_PRO_RATA: str
510513
INSTITUTIONAL_PRIORITIZATION: str
514+
ALLOCATION: str
511515

512516
def __init__(self, value: str) -> None: ...
513517
def __index__(self) -> int: ...

rust/dbn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name = "dbn"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
dbn = { path = "../dbn", version = "=0.60.0", default-features = false }
19+
dbn = { path = "../dbn", version = "=0.61.0", default-features = false }
2020

2121
anyhow.workspace = true
2222
clap = { version = "4.6", features = ["derive", "wrap_help"] }

rust/dbn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = ["dep:serde", "time/parsing", "time/serde"]
2525
trivial_copy = []
2626

2727
[dependencies]
28-
dbn-macros = { version = "=0.60.0", path = "../dbn-macros" }
28+
dbn-macros = { version = "=0.61.0", path = "../dbn-macros" }
2929

3030
async-compression = { version = "0.4.42", features = ["tokio", "zstd"], optional = true }
3131
async-stream = { version = "0.3", optional = true }

rust/dbn/src/enums.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ pub enum MatchAlgorithm {
445445
#[pyo3(name = "FIFO_LMM")]
446446
FifoLmm = b'T',
447447
/// Like [`Self::ProRata`] but includes a configurable allocation to the first order that
448-
/// improves the market.
448+
/// improves the market. Minimum order thresholds may exist.
449449
#[pyo3(name = "THRESHOLD_PRO_RATA")]
450450
ThresholdProRata = b'O',
451451
/// Like [`Self::FifoLmm`] but includes a configurable allocation to the first order that
@@ -467,6 +467,9 @@ pub enum MatchAlgorithm {
467467
/// association. See [CME documentation](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457217267#InstitutionalPrioritizationMatchAlgorithm).
468468
#[pyo3(name = "INSTITUTIONAL_PRIORITIZATION")]
469469
InstitutionalPrioritization = b'V',
470+
/// Like [`Self::ProRata`], but includes a configurable allocation to the first order that improves the market.
471+
#[pyo3(name = "ALLOCATION")]
472+
Allocation = b'A',
470473
}
471474

472475
impl From<MatchAlgorithm> for char {

rust/dbn/src/python/enums.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ impl MatchAlgorithm {
396396
Self::EurodollarFutures => "EURODOLLAR_FUTURES",
397397
Self::TimeProRata => "TIME_PRO_RATA",
398398
Self::InstitutionalPrioritization => "INSTITUTIONAL_PRIORITIZATION",
399+
Self::Allocation => "ALLOCATION",
399400
}
400401
}
401402

0 commit comments

Comments
 (0)