ta库源码中的问题

Author: 雪中, Created: 2022-04-29 09:32:48, Updated:

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’

请梦总指导下怎么处理


More

陈皮 S[k]是列表,不可以这样相加的