### 实时分钟数据
~~~
get_minite_data(code)
~~~
#### 参数说明
* code: 股票代码,上海sh开头,深圳sz开头,例如:sh600000
#### 返回说明
返回Promise。
**resolve参数对象属性:**
* time: 数组,分钟时间线,
* price: 数组,分钟价格,
* volume:数组,成交量。
例子:
~~~
let stock = require('okaystock')
stock.get_minite_data('sh600000')
.then(data => {
console.log(data)
}).catch(err => {
console.log(err)
})
~~~
输出:
~~~
{ time:
[ '0930',
'0931',
'0932',
'0933',
'0934',
'0935',
'0936',
'0937',
'0938',
'0939',
... more items ],
price:
[ 10.88,
10.87,
10.83,
10.84,
10.86,
10.86,
10.85,
10.84,
10.84,
10.86,
10.84,
10.84,
... more items ],
volume:
[ 2822,
3372,
5766,
6682,
7767,
10418,
11487,
13483,
14243,
14891,
15027,
16715,
... more items ] }
~~~
