做了一个 IntelliJ 的股票行情插件

2020-11-30 13:28:45 +08:00
 NightVermouth

功能:能够在 IntelliJ 内实时看到股票的报价,支持 A 股、港股、美股

插件市场地址: https://plugins.jetbrains.com/plugin/15443-stocker

源码: https://github.com/WhiteVermouth/intellij-investor-dashboard

实际效果如图中红框所示:

6709 次点击
所在节点    程序员
49 条回复
miao666
2020-11-30 13:37:55 +08:00
。。。真是个人才
xiaokaiyyy
2020-11-30 13:41:19 +08:00
哈哈 对标 VSC 韭菜盒子。
Jaeden
2020-11-30 13:43:45 +08:00
哈哈哈哈哈牛人
just4id
2020-11-30 13:51:47 +08:00
就不怕敲代码的时候玩成了高吸低抛?
wdzj
2020-11-30 13:52:31 +08:00
你真 TM 人才,划水新高度。
cccp2020
2020-11-30 13:55:07 +08:00
你们还在走流程啊,我都是直接给庄家转账
ob
2020-11-30 13:57:58 +08:00
行情怎么刷新的?还是实时推送?
NightVermouth
2020-11-30 14:03:26 +08:00
@ob 固定每秒拉取报价
undefine2020
2020-11-30 14:04:33 +08:00
为什么添加 AShare 没反应,比如 510100
NightVermouth
2020-11-30 14:05:51 +08:00
@undefine2020 代码前面要加上 sh (沪市)或者 sz (深市)
undefine2020
2020-11-30 14:11:04 +08:00
@NightVermouth 3Q~ 能加个双击看 k 线的功能吗 哈哈
NightVermouth
2020-11-30 14:12:06 +08:00
@undefine2020 个股详情信息这个还在做
so2back
2020-11-30 14:12:29 +08:00
还在用 2019.1 的我用不了。。
j747677392
2020-11-30 14:27:25 +08:00
默默地 get
echoe
2020-11-30 14:32:02 +08:00
666666
Beamish
2020-11-30 14:52:11 +08:00
hhh 厉害
catsoul
2020-11-30 14:56:39 +08:00
建议与 SciView 集成,装作在看矩阵数据
MonoBiao
2020-11-30 15:06:48 +08:00
@cccp2020 23333 笑死我了
TypeError
2020-11-30 15:09:46 +08:00
之前写了个行情 telegram bot,不过后来发现还是券商 app 方便
fo3xx
2020-11-30 15:19:04 +08:00
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at com.vermouthx.stocker.utils.StockerQuoteHttpUtil.get(StockerQuoteHttpUtil.kt:35)
at com.vermouthx.stocker.StockerApp$createQuoteUpdateThread$1.invoke(StockerApp.kt:43)
at com.vermouthx.stocker.StockerApp$createQuoteUpdateThread$1.invoke(StockerApp.kt:10)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/730572

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX