The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
my code :
fundamentals = init_fundamentals()
US_stocks = {}
startdate = '2017-04-15'
def get_stocks(day):
fund_df = get_fundamentals(
query(
fundamentals.valuation.market_cap,
)
.filter(fundamentals.company_reference.primary_exchange_id == 'NAS')
.filter(fundamentals.valuation.market_cap != None)
.order_by(fundamentals.valuation.market_cap.desc()).limit(50),startdate)
return list(fund_df.columns.values)
US_stocks[startdate] = get_stocks(startdate)
a=0
for stock in US_stocks[startdate]:
a=a+1
Whistory=get_pricing(stock.symbol,start_date='2017-04-15',end_date= '2017-4-17',handle_missing='ignore',frequency='daily')
print (a)
the notebook always died at about a=37 or a=38 if I run get_pricin, and no problem if no get_pricing running. could somebody help what is my problem?