symbol = '510050'
exchange = 'SSE'
vtSymbol = '.'.join([symbol, exchange])
pymongo.errors.InvalidName: database names cannot contain the character '.'
如题
symbol = '510050'
exchange = 'SSE'
vtSymbol = '.'.join([symbol, exchange])
pymongo.errors.InvalidName: database names cannot contain the character '.'
如题
转一下不就好了?
2.0修改使用了新的数据库模式,不会再有这个问题。