### 股票列表
~~~
get_stock_list()
~~~
#### 参数说明:
略
#### 返回说明:
返回Promise。
**resolve参数对象属性:**
* code: 数组,股票代码列表,
* name:数组,股票名称列表。
例子:
~~~
let stock = require('okaystock')
stock.get_stock_list()
.then(data => {
console.log(data)
}).catch(err => {
console.log(err)
})
~~~
输出:
~~~
{ name:
[ 'R003',
'R007',
'R014',
'R028',
'R091',
'R182',
'R001',
'R002',
'R004',
'RC001',
'RC003',
'RC007',
... more items ],
code:
[ '201000',
'201001',
'201002',
'201003',
'201004',
'201005',
'201008',
'201009',
'201010',
'202001',
'202003',
'202007',
'203007',
... more items ] }
~~~
