wstock icon indicating copy to clipboard operation
wstock copied to clipboard

a cmd tool to watch stocks

Results 5 wstock issues
Sort by recently updated
recently updated
newest added

My name is Luis, I'm a big-data machine-learning developer, I'm a fan of your work, and I usually check your updates. I was afraid that my savings would be eaten...

如图所示,如果5g etf的代码`sh515050`写成了`sz515050`,`wstock list`虽然会出数据,但是数据全是乱的,不止是5g etf这一条数据是乱的,所有数据都是乱的 ![image](https://user-images.githubusercontent.com/1725060/81763395-b7d64400-9501-11ea-9320-3f1b3228592c.png)

我在`stock.json`里面加了一些代码,我希望`wstock list`代码是有序展示的,但是好像不是 ![image](https://user-images.githubusercontent.com/1725060/81636376-4a191200-9446-11ea-8137-ff801bc92fac.png) 另外这样改config文件的方式肯定不太好,能不能在查看`wstock list`的时候手动调整顺序?向上、向下、置顶、置低之类

我提一个小优化:按字母q退出行情查看 目前好像只能`control + c` 按照类似命令行的惯例,按q是可以退出的,比如说`top`,`htop`都是这样的

我试了下`wstock add 600127`报下面的错误,而且报错报的也不是很友好 ``` $ wstock add 600127 (node:36075) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'code' of undefined at /Users/shiming/wstock/index.js:172:17 at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:36075) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated...