PredictingStockClosingPrices-master

所属分类:Java编程
开发工具:Java
文件大小:12KB
下载次数:0
上传日期:2020-05-02 13:26:01
上 传 者ChenSuperstar
说明:  JAVA股票预测代码,随机森林为基础,可适用于毕业设计等
(Java stock forecast code, very easy to use)

文件列表:
LICENSE.md (11357, 2017-03-31)
pom.xml (4103, 2017-03-31)
run.sh (61, 2017-03-31)
src (0, 2017-03-31)
src\main (0, 2017-03-31)
src\main\java (0, 2017-03-31)
src\main\java\org (0, 2017-03-31)
src\main\java\org\deb (0, 2017-03-31)
src\main\java\org\deb\PredictClosingPrice.java (7249, 2017-03-31)
src\main\resources (0, 2017-03-31)
src\main\resources\log4j.properties (460, 2017-03-31)
src\test (0, 2017-03-31)
src\test\java (0, 2017-03-31)
src\test\java\org (0, 2017-03-31)
src\test\java\org\deb (0, 2017-03-31)
src\test\java\org\deb\PredictClosingPriceTest.java (1021, 2017-03-31)

# How to run ## Prerequisites * JDK 8 * Maven 3.0 ## Run Extract attached source. execute run.sh it will take stock_closing_prices.csv from src/main/resources and creates output file src/main/resources/predicted_prices.csv. ### Closing Price prediction Calculate the price change for each stock for all the entries. Price change is calculated as today's closing price - previous day closing price.Get average change price. Add average change price with last closing price to get the next closing price. ### Purchase Decision Sort the average price change. For purchase decision consider the stocks where average price change value is greater than zero. Take from the highest average price change. Allocate stock of total value less than equal to 10 lakh to it. Continue this process till have some investment amount left.

近期下载者

相关文件


收藏者