{"id":13508657,"url":"https://github.com/RajdeepKonwar/stockast","last_synced_at":"2025-03-30T11:32:30.337Z","repository":{"id":67270316,"uuid":"94487167","full_name":"RajdeepKonwar/stockast","owner":"RajdeepKonwar","description":"Predict stock market pricing over 180 minutes using Black-Scholes stochastic modeling and parallel Monte-Carlo simulations.","archived":false,"fork":false,"pushed_at":"2023-01-16T06:24:25.000Z","size":115,"stargazers_count":43,"open_issues_count":1,"forks_count":23,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-01T08:33:45.329Z","etag":null,"topics":["black-scholes","c-plus-plus","monte-carlo-simulation","openmp","parallel","prediction-model","predictive-analytics","predictive-modeling","stock-data","stock-market","stock-prediction","stock-price-prediction","stock-prices","thread"],"latest_commit_sha":null,"homepage":"","language":"C++","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/RajdeepKonwar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-15T23:43:08.000Z","updated_at":"2024-10-10T08:40:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"abb82400-c6ec-4715-a93e-697c6232bed7","html_url":"https://github.com/RajdeepKonwar/stockast","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajdeepKonwar%2Fstockast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajdeepKonwar%2Fstockast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajdeepKonwar%2Fstockast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajdeepKonwar%2Fstockast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RajdeepKonwar","download_url":"https://codeload.github.com/RajdeepKonwar/stockast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314011,"owners_count":20757450,"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":["black-scholes","c-plus-plus","monte-carlo-simulation","openmp","parallel","prediction-model","predictive-analytics","predictive-modeling","stock-data","stock-market","stock-prediction","stock-price-prediction","stock-prices","thread"],"created_at":"2024-08-01T02:00:56.345Z","updated_at":"2025-03-30T11:32:30.332Z","avatar_url":"https://github.com/RajdeepKonwar.png","language":"C++","funding_links":[],"categories":["C++","c-plus-plus"],"sub_categories":[],"readme":"# Stockast [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FRajdeepKonwar%2Fstockast.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FRajdeepKonwar%2Fstockast?ref=badge_shield)\n## Stock Market Forecasting using Parallel (OpenMP) Monte-Carlo Simulations\n\n![alt text](https://i.imgur.com/dHf0aRO.png)\n\n### Compile Instructions\n#### Windows\n* Open `stockast.sln`\n* [Optional] Right-click Solution 'stockast' in the Solution Explorer and select `Retarget solution`\n* Build and run!\n\n#### Linux\n```\nmake\n```\nType `make clean` to clean object file and executable.\n\n### Run Instructions\n#### Windows\nSimply run from Visual Studio or double-click the executable created inside x64\\\\{config}\\stockast.exe\n\nBy default, the program will try and utilize the maximum system threads available. In order to use a specific number of threads, set the environment vairable `OMP_NUM_THREADS` equal to the number of threads you want.\n\n#### Linux\nSet the number of threads to be used for computation,\n```\nexport OMP_NUM_THREADS=number_of_threads\n```\nFor example, `export OMP_NUM_THREADS=8`.\nThen run the program\n```\n./stockast\n```\n\n![image](https://user-images.githubusercontent.com/22571164/212611578-cec8eecf-a858-467d-967b-79315ea33d60.png)\n\n### General info\n* The input file \"data.csv\" contains the stock-price values for 3 hours prior to run-time; this acts as the history-data and helps estimate the market volatility.\n* The output file \"opt.csv\" contains the output (most likely outcome) price-vector from our code. One can use Excel or gnuplot to plot the resulting line graph of the predicted stock pricing.\n* (**Linux only**) The script \"profiling.sh\" runs the parallel code from 1 to the specified number of threads. To use the script,\n```\n./profiling.sh \"number_of_threads\"\n```\nFor example, `./profiling.sh 8`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRajdeepKonwar%2Fstockast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRajdeepKonwar%2Fstockast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRajdeepKonwar%2Fstockast/lists"}