I have written a simple piece of code in the Research Environment that plots GBP continuous futures data between two dates (See below). The results show a flat period in the data of about a month. Am I doing something wrong?

chris-stichbury_1748264447.jpg
import matplotlib.pyplot as plt
import matplotlib.dates as mdates  # Import the mdates module

# Initialize QuantBook
qb = QuantBook()

# Define the continuous future contract for GBP
gbp_future = qb.add_future(
    Futures.Currencies.GBP,
    resolution = Resolution.DAILY,  
    data_normalization_mode=DataNormalizationMode.BACKWARDS_PANAMA_CANAL,  
    data_mapping_mode = DataMappingMode.OPEN_INTEREST,
    contract_depth_offset=0,
    extended_market_hours=True)

# Define the start and end dates for the historical data
start_date = datetime(2023, 9, 1)
end_date = datetime(2024, 5, 31)

# Get the historical data as a TradeBar dataframe for the continuous GBP future
history = qb.History(TradeBar, gbp_future.Symbol, start_date, end_date, Resolution.Daily)

#print(history.head())
#print(history.index)

# Extract the relevant data
close_prices = history.loc[('1899-12-30', '/6B')]['close']

sliced_data = close_prices['2023-12-01':'2023-12-31']
print(sliced_data)

# Convert the index to datetime objects if it's not already
close_prices.index = pd.to_datetime(close_prices.index)

# Create the plot
plt.figure(figsize=(10, 6))  # Adjust figure size as needed
plt.plot(close_prices.index, close_prices.values)

# Set monthly labels on the x-axis
plt.xlabel("Date")
plt.ylabel("Closing Price")
plt.title("GBP")
plt.xticks(pd.to_datetime(close_prices.resample('MS').first().index),
           close_prices.resample('MS').first().index.strftime('%Y-%m'),
           rotation=45, ha='right')
plt.tight_layout()
plt.show()