Giter VIP home page Giter VIP logo

stockast's Introduction

Stockast FOSSA Status

Stock Market Forecasting using Parallel (OpenMP) Monte-Carlo Simulations

alt text

Compile Instructions

Windows

  • Open stockast.sln
  • Right-click Solution 'stockast' in the Solution Explorer and select Retarget solution
  • Build and run!

Linux

make

Type make clean to clean object file and executable.

Run Instructions

Windows

Simply run from Visual Studio or double-click the executable created inside x64\{config}\stockast.exe

By 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.

Linux

Set the number of threads to be used for computation,

export OMP_NUM_THREADS=number_of_threads

For example, export OMP_NUM_THREADS=8. Then run the program

./stockast

alt text

General info

  • The input file "ml_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.
  • 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.
  • (Linux only) The script "profiling.sh" runs the parallel code from 1 to the specified number of threads. To use the script,
./profiling.sh "number_of_threads"

For example, ./profiling.sh 8.

stockast's People

Contributors

rajdeepkonwar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.