@@ -44,7 +44,7 @@ int main() {
44
44
std::cout << ' \n ' ;
45
45
46
46
const auto dataset_conditions = client.MetadataGetDatasetCondition (
47
- " GLBX.MDP3" , " 2019-06-01" , " 2019-08-01" );
47
+ " GLBX.MDP3" , { " 2019-06-01" , " 2019-08-01" } );
48
48
std::cout << " Conditions:\n " ;
49
49
for (const auto & dataset_condition : dataset_conditions) {
50
50
std::cout << " - " << dataset_condition << " \n " ;
@@ -62,8 +62,9 @@ int main() {
62
62
}
63
63
std::cout << ' \n ' ;
64
64
65
- const auto record_count = client.MetadataGetRecordCount (
66
- kGlbxMdp3 , " 2020-12-28" , " 2020-12-29" , {" ESH1" }, databento::Schema::Mbo);
65
+ const auto record_count =
66
+ client.MetadataGetRecordCount (kGlbxMdp3 , {" 2020-12-28" , " 2020-12-29" },
67
+ {" ESH1" }, databento::Schema::Mbo);
67
68
std::cout << " Record count: " << record_count << " \n\n " ;
68
69
69
70
const auto live_unit_prices =
@@ -90,13 +91,14 @@ int main() {
90
91
<< " \n\n " ;
91
92
92
93
const std::size_t billable_size = client.MetadataGetBillableSize (
93
- kGlbxMdp3 , " 2020-12-28" , " 2020-12-29" , {" ESH1" }, databento::Schema::Mbo,
94
+ kGlbxMdp3 , { " 2020-12-28" , " 2020-12-29" } , {" ESH1" }, databento::Schema::Mbo,
94
95
databento::SType::RawSymbol, {});
95
96
std::cout << " Billable size (uncompressed binary bytes): " << billable_size
96
97
<< " \n\n " ;
97
98
98
- const auto cost = client.MetadataGetCost (
99
- kGlbxMdp3 , " 2020-12-28" , " 2020-12-29" , {" ESH1" }, databento::Schema::Mbo);
99
+ const auto cost =
100
+ client.MetadataGetCost (kGlbxMdp3 , {" 2020-12-28" , " 2020-12-29" }, {" ESH1" },
101
+ databento::Schema::Mbo);
100
102
std::cout << " Cost (in cents): " << cost << ' \n ' ;
101
103
102
104
return 0 ;
0 commit comments