{"id":21923126,"url":"https://github.com/26hzhang/stockprediction","last_synced_at":"2025-04-13T09:37:40.713Z","repository":{"id":54501346,"uuid":"98490091","full_name":"26hzhang/StockPrediction","owner":"26hzhang","description":"Plain Stock Close-Price Prediction via Graves LSTM RNNs","archived":false,"fork":false,"pushed_at":"2021-02-15T07:43:18.000Z","size":43301,"stargazers_count":195,"open_issues_count":9,"forks_count":113,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-27T01:09:49.880Z","etag":null,"topics":["deeplearning4j","java","lstm","recurrent-neural-networks","spark-dataframes","stock-price-prediction"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/26hzhang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-27T03:31:27.000Z","updated_at":"2025-03-21T16:06:39.000Z","dependencies_parsed_at":"2022-08-13T18:00:18.436Z","dependency_job_id":null,"html_url":"https://github.com/26hzhang/StockPrediction","commit_stats":null,"previous_names":["26hzhang/stockprediction","isaacchanghau/stockprediction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26hzhang%2FStockPrediction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26hzhang%2FStockPrediction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26hzhang%2FStockPrediction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26hzhang%2FStockPrediction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/26hzhang","download_url":"https://codeload.github.com/26hzhang/StockPrediction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248691671,"owners_count":21146416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deeplearning4j","java","lstm","recurrent-neural-networks","spark-dataframes","stock-price-prediction"],"created_at":"2024-11-28T21:09:15.744Z","updated_at":"2025-04-13T09:37:40.682Z","avatar_url":"https://github.com/26hzhang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plain Stock Prediction\n\n![Authour](https://img.shields.io/badge/Author-Zhang%20Hao%20(Isaac%20Changhau)-blue.svg) ![](https://img.shields.io/badge/Java-1.8-brightgreen.svg) ![](https://img.shields.io/badge/DeepLearning4J-0.9.1-yellowgreen.svg) ![](https://img.shields.io/badge/ND4J-0.9.1-yellowgreen.svg) ![](https://img.shields.io/badge/Guava-23.0-yellowgreen.svg) ![](https://img.shields.io/badge/OpenCSV-3.9-yellowgreen.svg) ![](https://img.shields.io/badge/Spark-2.1.0-yellowgreen.svg)\n\nPlain Stock Price Prediction via RNNs with Graves LSTM unit.\n\nTraining and Predicting a specific feature by setting `PriceCategory` in `com.isaac.stock.predict.StockPricePrediction.java` as:\n```java\nPriceCategory category = PriceCategory.CLOSE; // CLOSE: train and predict close price\n// or\nPriceCategory category = PriceCategory.OPEN; // OPEN: train and predict open price\n// ...\n```\nThe `PriceCategory` enum:\n```java\npublic enum PriceCategory {\n    OPEN, CLOSE, LOW, HIGH, VOLUME, ALL\n}\n```\nPredicting all features as:\n```java\nPriceCategory category = PriceCategory.ALL; // ALL: train and predict all features\n```\n\n**Demo Result**\n\n\u003cimg src=\"predict.png\" align=center /\u003e\n\n**A Useful GitHub Repository**: [timestocome/Test-stock-prediction-algorithms](https://github.com/timestocome/Test-stock-prediction-algorithms), which contains much information, methods and sources about predict stock and market movements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26hzhang%2Fstockprediction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F26hzhang%2Fstockprediction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26hzhang%2Fstockprediction/lists"}