waditu / tushare

TuShare is a utility for crawling historical data of China stocks
BSD 3-Clause "New" or "Revised" License
12.88k stars 4.29k forks source link

区块链行情获取失败(积分已超过3000) #965

Closed yhmickey closed 5 years ago

yhmickey commented 5 years ago

----> 1 df = pro.coinbar(exchange='huobi', symbol='btcusdt', freq='1min', start_date='20180801', end_date='20180802')

C:\ProgramData\Anaconda2\lib\site-packages\tushare\pro\client.pyc in query(self, api_name, fields, **kwargs) 41 result = json.loads(res.text) 42 if result['code'] != 0: ---> 43 raise Exception(result['msg']) 44 data = result['data'] 45 columns = data['fields']

<type 'str'>: (<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u'\u672a\u627e\u5230\u6307\u5b9a\u6570\u636e\u6e90\uff0c\u8bf7\u8f93\u5165\u5408\u9002\u7684\u53c2\u6570', 0, 17, 'ordinal not in range(128)'))

yhmickey commented 5 years ago
raise Exception(result['msg'])

Exception: 未找到指定数据源,请输入合适的参数

rockyzhaohui commented 5 years ago

大侠,你的积分可以转赠一点给我吗?急需到500分查数据

jimmysoa commented 5 years ago

1分钟5分钟需要单独开权限,具体请咨询tushare群群主