Carlos C. Sepulveda

🗣 🇪🇸 🇩🇪 🇬🇧 🇫🇷


Financial data analysis with R (Shiny)

Published May 16, 2021

simulr is a Shiny (R) web application I built to analyze high frequency financial data in real-time.

Running locally

You will need to setup R first.

  • Installing the R package from source:
remotes::install_gitlab("cacsfre/simulr")
  • Launching the application:
simulr::run_simulr()

The app will be available at http://localhost:3838.

Running with Docker

Alternatively, you can use the available make rules to build, start and attach a container. The container includes all OS and R dependencies to run the app, which can then be launched as explained above.

  • Launch a docker container:
user@host:~/simulr$ make run
...
root@host:/src# ls
data  data-raw  DESCRIPTION  inst  LICENSE.md  Makefile  man  NAMESPACE  R  README.md
  • Run the app through the container:
root@host:/src# R -e "devtools::load_all(); run_simulr()"

License : GPL-3 | Code