ta库中boll 的 n += S[k] 报 Traceback (most recent call last): File “E:/FMZ/binance-futures-connector-python-main/MyFmz.py”, line 707, in <module> boll = TA.BOLL(r, 22, 2) File “E:/FMZ/binance-futures-connector-python-main/MyFmz.py”, line 193, in BOLL n += S[k] TypeError: unsupported operand type(s) for +=: ‘float’ and ‘list’
请梦总指导下怎么处理
陈皮 S[k]是列表,不可以这样相加的