diff --git a/04 Research Environment/03 Datasets/14 Futures Options/02 Universes/04 Get Historical Data.php b/04 Research Environment/03 Datasets/14 Futures Options/02 Universes/04 Get Historical Data.php index 23b7b980a3..8d3a84bf2d 100644 --- a/04 Research Environment/03 Datasets/14 Futures Options/02 Universes/04 Get Historical Data.php +++ b/04 Research Environment/03 Datasets/14 Futures Options/02 Universes/04 Get Historical Data.php @@ -11,9 +11,9 @@ # Get the Options data for the selected Futures contract. option_history = qb.option_history( - futures_contract, start_date, futures_contract.id.date, Resolution.MINUTE, + futures_contract, start_date, futures_contract.id.date, Resolution.HOUR, fill_forward=False, extended_market_hours=False -) +).data_frame
var startDate = new DateTime(2024, 1, 1);
 
 // Select a contract. For example, get the front-month Futures contract.
@@ -23,7 +23,7 @@
 
 // Get the Options data for the selected Futures contract.
 var optionHistory = qb.OptionHistory(
-    futuresContract, startDate, futuresContract.ID.Date, Resolution.Minute, 
+    futuresContract, startDate, futuresContract.ID.Date, Resolution.Hour, 
     fillForward: false, extendedMarketHours: false
 );