Код: Выделить всё
import backtrader as bt
import datetime
import yfinance as yf
%matplotlib inline
cerebro = bt.Cerebro()
df = yf.download("BTC-USD", start='2010-01-01')
df feed = bt.feeds.PandasData(dataname=df)
cerebro.adddata(feed)
cerebro.run()
cerebro.plot()

Я пробовал установить ipython и другие библиотеки, но ничего не помогло
Подробнее здесь: https://stackoverflow.com/questions/790 ... in-a-jupyt