hustcer / star Goto Github PK
View Code? Open in Web Editor NEWA STock Analysis and Research tool for terminal(cli) users. 技术控和命令行爱好者的 A 股辅助分析工具。
License: MIT License
A STock Analysis and Research tool for terminal(cli) users. 技术控和命令行爱好者的 A 股辅助分析工具。
License: MIT License
/usr/bin/env: node --harmony: No such file or directory 这个怎么解决,谢谢
Bug of query none exist symbols, such as: star 601102
Add --lteb
and --gtes
support to filter the stocks whose current price is lower than buy price or greater than sell price
Scrawl insider trading data and store the records to TI server.
内部交易的记录和其他用户的投资记录是怎么获取的? 实时的吗?
May be I should learn to create a mobile app for insider trading query?
Enable filter symbols that support margin, using -M
or --margin
param.
yntaxError: /Users/oujun/.star.json: Unexpected end of input
at Object.parse (native)
at Object.Module._extensions..json (module.js:430:27)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.getSymbolFilePath (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/lib/common.js:45:26)
at Object.getFilteredSymbols (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/lib/trace.js:31:56)
at Object.trace (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:128:29)
at doCmd (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:161:20)
at Object. (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:165:1)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
don't have history data~~
--code
support for insider trading query using TI API
Trailing comma bugs when run the following commands:
star -i 600118,600117,600677,
star 600118,600117,600677,
star -w 600118,600117,600677,
Add field for target price update date
Add star and inq docs to my blog
Unhandled rejection Error: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (/Users/hustcer/github/star/node_modules/request/request.js:820:19)
at ClientRequest.g (events.js:199:16)
at ClientRequest.emit (events.js:104:17)
at Socket.emitTimeout (_http_client.js:543:10)
at Socket.g (events.js:199:16)
at Socket.emit (events.js:104:17)
at Socket._onTimeout (net.js:348:8)
at _makeTimerTimeout (timers.js:476:11)
at Timer.unrefTimeout (timers.js:540:5)
Add duplication check for symbols
and watchList
section in config file.
Fix query latest insider trading paging bug.
Start a web server based on json database?
从源代码安装Star(sudo npm install --production),使用软连接访问Star时,出现以下问题:
fs.js:584
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open 'symbols.yaml'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:431:33)
at Object..filter..filter..filter..filter.syms as getFilteredSymbols
at Object.actions.TRACE (/Users/ChiangEarl/Documents/Project/git/star/star.js:128:29)
at doCmd (/Users/ChiangEarl/Documents/Project/git/star/star.js:161:20)
at Object. (/Users/ChiangEarl/Documents/Project/git/star/star.js:165:1)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz
AR(target) Release/obj.target/iconv.a
CXX(target) Release/obj.target/iconv/src/binding.o
In file included from ../src/binding.cc:18:
../node_modules/nan/nan.h:316: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
make: Leaving directory `/usr/lib/node_modules/star/node_modules/iconv/build'
Add more readable star
help manual
Maybe I can use node-fetch instead of request
Make a docker container
Add unit tests
Unescape html entities of fin cal by using strman
Short term trading query support. REF
module.js:489
throw err;
^
SyntaxError: /Users/local/.star.json: Unexpected end of input
at Object.parse (native)
at Object.Module.extensions..json (module.js:486:27)
at Module.load (module.js:355:32)
at Function.Module.load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.Common.getSymbolFilePath (/usr/local/lib/node_modules/star/lib/common.js:43:26)
at Object..filter..filter._.filter.syms as getFilteredSymbols
at Object.actions.TRACE (/usr/local/lib/node_modules/star/star.js:109:29)
at doCmd (/usr/local/lib/node_modules/star/star.js:137:20)
at Object. (/usr/local/lib/node_modules/star/star.js:141:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
Support latest insider trading query, such as: star -i --latest --span 3m
Add finance calendar feature.
Display stock current price in insider trading query output, this way will make the price compare more easy and convenient.
Pagination bugs for insider trading query with specified symbol code, such as: star -i 002603
/home/wangkr/star/star.js:11
let _ = require('lodash'),
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
Add portfolio support: show profit, etc.
Query top buy and top sell of insider tradings
Add -R
or --remove
support to remove symbols with specified keywords.
Add grep from security code feature in stock trace.
Trim inline tabs of events in finance calendar.
Add sort by 'bdiff' and 'sdiff' feature to sort stocks by (s.price - s.cheap)/s.price
and (s.price - s.expensive)/s.price
separately.
Minimize snapshot pictures and update readme.
Add star
and inq
to traceInvest.com
Query stock institutional ownership information
Use superagent
instead of request
and iconv
Add --lteb [pct]
and --gtes [pct]
support
Add symbol detail query support: price/PE/PB/insider trading, etc.
Use columnify to improve table alignment.
Insider trading paging bug: star -i 000158 -p 2
, enable query of the second page.
Add show market summary feature
Use text-table
to align console output
Make star -wo
or star -w -o
to watch held stocks, and star -w
to watch stocks in watchList
then fallback to held stocks if there is no stock in watchList
Consider of creating a cross platform desktop app by using electron
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.