@@ -44,7 +44,7 @@ int main() {
4444 std::cout << ' \n ' ;
4545
4646 const auto dataset_conditions = client.MetadataGetDatasetCondition (
47- " GLBX.MDP3" , " 2019-06-01" , " 2019-08-01" );
47+ " GLBX.MDP3" , { " 2019-06-01" , " 2019-08-01" } );
4848 std::cout << " Conditions:\n " ;
4949 for (const auto & dataset_condition : dataset_conditions) {
5050 std::cout << " - " << dataset_condition << " \n " ;
@@ -62,8 +62,9 @@ int main() {
6262 }
6363 std::cout << ' \n ' ;
6464
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);
6768 std::cout << " Record count: " << record_count << " \n\n " ;
6869
6970 const auto live_unit_prices =
@@ -90,13 +91,14 @@ int main() {
9091 << " \n\n " ;
9192
9293 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,
9495 databento::SType::RawSymbol, {});
9596 std::cout << " Billable size (uncompressed binary bytes): " << billable_size
9697 << " \n\n " ;
9798
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);
100102 std::cout << " Cost (in cents): " << cost << ' \n ' ;
101103
102104 return 0 ;
0 commit comments