Skip to content

Commit 2a96073

Browse files
committed
VER: Release C++ 0.59.0
2 parents 11e00e9 + 5d72f18 commit 2a96073

9 files changed

Lines changed: 473 additions & 6 deletions

File tree

CHANGELOG.md

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

3+
## 0.59.0 - 2026-06-02
4+
5+
### Enhancements
6+
- Added `Historical::BatchGetJobDetails` for querying the details for a single batch job
7+
- Added new venues, datasets, and publishers for US Equities Securities Information
8+
Processors
9+
10+
### Bug fixes
11+
- Fixed `HistoricalBuilder::SetAddress` not working with HTTPS
12+
313
## 0.58.0 - 2026-05-26
414

515
### Enhancements

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.24..4.2)
66

77
project(
88
databento
9-
VERSION 0.58.0
9+
VERSION 0.59.0
1010
LANGUAGES CXX
1111
DESCRIPTION "Official Databento client library"
1212
)

include/databento/historical.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class Historical {
7373
const std::string& since);
7474
// Lists all files associated with a batch job.
7575
std::vector<BatchFileDesc> BatchListFiles(const std::string& job_id);
76+
// Gets the details of a batch job.
77+
BatchJob BatchGetJobDetails(const std::string& job_id);
7678
// Returns the paths of the downloaded files.
7779
std::vector<std::filesystem::path> BatchDownload(
7880
const std::filesystem::path& output_dir, const std::string& job_id);

include/databento/publishers.hpp

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ enum class Venue : std::uint16_t {
119119
Iexo = 55,
120120
// Cboe Global Indices Feed
121121
Cgif = 56,
122+
// Texas Stock Exchange, LLC
123+
Txse = 57,
124+
// 24X National Exchange, LLC
125+
_24Eq = 58,
126+
// Consolidated Tape Association
127+
Cta = 59,
128+
// Unlisted Trading Privileges
129+
Utp = 60,
130+
// FINRA Alternative Display Facility
131+
Xadf = 61,
122132
};
123133

124134
// A source of data.
@@ -207,6 +217,8 @@ enum class Dataset : std::uint16_t {
207217
OceaMemoir = 41,
208218
// Cboe Titanium Cboe Global Indices Feed
209219
CgifTitanium = 42,
220+
// US Equities Security Information Processor
221+
EqusSip = 43,
210222
};
211223

212224
// A specific Venue from a specific data source.
@@ -431,6 +443,56 @@ enum class Publisher : std::uint16_t {
431443
OpraPillarIexo = 109,
432444
// Cboe Global Indices Feed
433445
CgifTitaniumCgif = 110,
446+
// US Equities SIP - NYSE American
447+
EqusSipXase = 111,
448+
// US Equities SIP - Nasdaq Texas
449+
EqusSipXbos = 112,
450+
// US Equities SIP - NYSE National
451+
EqusSipXcis = 113,
452+
// US Equities SIP - Texas Stock Exchange
453+
EqusSipTxse = 114,
454+
// US Equities SIP - 24X National Exchange
455+
EqusSip24Eq = 115,
456+
// US Equities SIP - MIAX Pearl
457+
EqusSipEprl = 116,
458+
// US Equities SIP - Nasdaq ISE
459+
EqusSipXisx = 117,
460+
// US Equities SIP - Cboe EDGA
461+
EqusSipEdga = 118,
462+
// US Equities SIP - Cboe EDGX
463+
EqusSipEdgx = 119,
464+
// US Equities SIP - Long-Term Stock Exchange
465+
EqusSipLtse = 120,
466+
// US Equities SIP - NYSE Texas
467+
EqusSipXchi = 121,
468+
// US Equities SIP - NYSE
469+
EqusSipXnys = 122,
470+
// US Equities SIP - NYSE Arca
471+
EqusSipArcx = 123,
472+
// US Equities SIP - Nasdaq
473+
EqusSipXnas = 124,
474+
// US Equities SIP - MEMX
475+
EqusSipMemx = 125,
476+
// US Equities SIP - IEX
477+
EqusSipIexg = 126,
478+
// US Equities SIP - Nasdaq PSX
479+
EqusSipXpsx = 127,
480+
// US Equities SIP - Cboe BYX
481+
EqusSipBaty = 128,
482+
// US Equities SIP - Cboe BZX
483+
EqusSipBats = 129,
484+
// US Equities SIP - FINRA/Nasdaq TRF Carteret
485+
EqusSipFinn = 130,
486+
// US Equities SIP - FINRA/NYSE TRF
487+
EqusSipFiny = 131,
488+
// US Equities SIP - FINRA/Nasdaq TRF Chicago
489+
EqusSipFinc = 132,
490+
// US Equities SIP - FINRA Alternative Display Facility
491+
EqusSipXadf = 133,
492+
// US Equities SIP - CTA
493+
EqusSipCta = 134,
494+
// US Equities SIP - UTP
495+
EqusSipUtp = 135,
434496
};
435497

436498
// Get a Publisher's Venue.

pkg/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Databento <support@databento.com>
22
_pkgname=databento-cpp
33
pkgname=databento-cpp-git
4-
pkgver=0.58.0
4+
pkgver=0.59.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

src/detail/http_client.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "databento/detail/http_client.hpp"
22

3-
#include <sys/types.h>
4-
53
#include <chrono> // seconds
64
#include <memory> // make_unique
75
#include <sstream> // ostringstream
@@ -37,7 +35,9 @@ HttpClient::HttpClient(databento::ILogReceiver* log_receiver, const std::string&
3735

3836
HttpClient::HttpClient(databento::ILogReceiver* log_receiver, const std::string& key,
3937
const std::string& gateway, std::uint16_t port)
40-
: log_receiver_{log_receiver}, client_{gateway, port} {
38+
: log_receiver_{log_receiver},
39+
// constructor with port parameter is HTTP-only
40+
client_{gateway + ':' + std::to_string(port)} {
4141
auto headers = HttpClient::BaseHeaders();
4242
headers.insert(httplib::make_basic_authentication_header(key, ""));
4343
client_.set_default_headers(headers);

src/historical.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,15 @@ std::vector<databento::BatchFileDesc> Historical::BatchListFiles(
362362
return files;
363363
}
364364

365+
databento::BatchJob Historical::BatchGetJobDetails(const std::string& job_id) {
366+
static const std::string kEndpoint = "Historical::BatchGetJobDetails";
367+
static const std::string kPath = ::BuildBatchPath(".get_job_details");
368+
369+
const nlohmann::json json =
370+
client_.GetJson(kPath, httplib::Params{{"job_id", job_id}});
371+
return ::Parse(kEndpoint, json);
372+
}
373+
365374
std::vector<std::filesystem::path> Historical::BatchDownload(
366375
const std::filesystem::path& output_dir, const std::string& job_id) {
367376
TryCreateDir(output_dir);

0 commit comments

Comments
 (0)