from clr import AddReference
AddReference("System")
AddReference("QuantConnect.Common")
AddReference("QuantConnect.Research")
AddReference("QuantConnect.Indicators")
from System import *
from QuantConnect import *
from QuantConnect.Data.Market import TradeBar, QuoteBar
from QuantConnect.Research import *
from QuantConnect.Indicators import *
from datetime import datetime, timedelta
import matplotlib.pyplot as plt
import pandas as pd

# Create an instance
qb = QuantBook()

Cryptolst = ["BTCUSD"]

for currency in Cryptolst:
qb.AddCrypto(currency)

start_time = datetime(2019, 5, 1) # start datetime for history call
end_time = datetime(2019, 6, 1) # end datetime for history call

history = qb.History(qb.Securities.Keys, start_time, end_time, Resolution.Hour)

#plt.plot(figsize = (12,10))
history.loc[Cryptolst[0]]['close'].plot(figsize = (12,10))

keys = list(history.loc[Cryptolst[0]]['close'].index)[::72]
values = list(history.loc[Cryptolst[0]]["close"])[::72]

data_sets = dict(zip(keys, values))

data_sets

plt.figure(figsize = (12,10))
plt.plot(keys,values)
print(keys)

plt.figure(figsize = (12,10))
#history.loc[Cryptolst[0]]['close'].plot()
history.loc[Cryptolst[0]]["close"][::48].plot()

Hi so is anybody getting the same issue I am; my plots get thrown into like 1900 years into the future... for basically no reason.. in the jupyter notebook

any help would be appreciated