ranaroussi/quantstats

TypeError: unsupported operand type(s) for +: 'float' and 'str'

MacarocoFonseca opened this issue · 3 comments

While using make_index() function I am getting a TypeError: unsupported operand type(s) for +: 'float' and 'str' message. This is my code that originated the error

import quantstats as qs
qs.extend_pandas()

tickers = {'AMZN': 0.5, "META":0.5}

portfolio = qs.utils.make_index(ticker_weights=tickers)

Also having this error. Curious if there has been any update.

still in the same status... maybe best to try an older package version

same here