Java分析股票涨跌走势
程序能不能像人腦一樣,看一眼就知道,哪個時間段是漲哪個時間段股票在下跌?
我要達到這種效果:
網上找了很多資料,都是python的,而且也沒有解決我的問題。
我需要實現的是,能智能地對數據分段,像局部的線性回歸檢測。
自行研究了兩天,加了部分硬編碼,實現了對股票漲跌的分析
找到一個問答,挺有意思,摘抄如下
Some ideas & guidances:
Based on your statement?(cit.:)
I did some searches and thought for a whole day, there is no a really good idea on how to do.
I can make you sure, there is no universally good idea, how to solve this, but this should not make you nervous. Generations of CTAs have spent their whole lives on doing this to their individual horizons of the best efforts they could have spent on mastering this, so at least, we can learn on what they have left us as a path to follow.
1) DEFINE a Trend:
As an initial surprise, one ought consider a trend to be rather an exosystem-driven ( extrinsic ) feature, which is more related to an?opinion, than to a TimeSeries Data ( observable ) history.
In other words, once one realises, that the information about a trend is simply not present internally in the TimeSeries dataset, the things will start to clear up significantly.
2)?given one believes strong enough into her/his Trend-identification methods,
one can but?EXTEND such Trend-indication, as a line-of-belief, into FUTURE?( a conjecture )
3)?The?MARKET?& only The Market?VALIDATES?( or ignores ) such one's "accepted"-belief.
4) SHARED?beliefs?RE-CONFIRM?such a line-of-belief as a majority respected Trend-indication ( measured by Market risk exposed equity, not by a popular vote, the less by crowd-shouted or CTAs' self-promoting squeeks )
最終效果:
?
總結
以上是生活随笔為你收集整理的Java分析股票涨跌走势的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java提取mssql备份文件的数据
- 下一篇: oracle用户名无法登陆,sysdba