Backtrader Python Update Method Java