Git Product home page Git Product logo

robot-trading-webapp's Introduction

robot-trading-webapp

Build Status

Browser-based numerical market experiment webapp for agent-based computational economics and finance.

Trying out the software

Go to: http://drpaulbrewer.github.io/robot-trading-webapp

You do not need to install anything to try out this software.

The web demo above is pre-configured with a simple comparison of markets with different supply/demand intersection.

Initial Screen

Clicking the RUN button will run this simulation. The number of periods can be selected from the interface. Once the simulation has been run, there is a choice of visualizations from the pulldown menu.

Parameters of the simulations can be changed by clicking the "EDIT" tab at the top of the screen to expand the editor.

If you want to modify the simulator to work differently, or program your own agents, you may wish to install this code to your own server and/or create a fork.

Installing and Changing the source code: Pre-requisites

These steps are unnecessary if you are only trying out the software. A copy of this code is already running publicly on the web, see "Usage" above.

These installation instructions are indended for usage by technically inclined Ph.D. students or others with expertise in Linux, Javascript browser and server development, and agent-based economic simulation, who wish to examine the software more closely or adapt it to other usage.

You need

  • a Linux-based web server
  • a nodejs development environment
  • familiarity with ES6 JavaScript is essential; some knowledge of jspm and npm package management is also useful

Then:

  1. git clone https://github.com/DrPaulBrewer/robot-trading-webapp
  2. Edit and run the build script in make-local.sh, in particular, change these lines before running:
# Put *your* code to deploy it below this line
rm -rf /var/web/192.168.1.10/zi
mkdir -p /var/web/192.168.1.10/zi
cp -a * /var/web/192.168.1.10/zi/

You need to change /var/web/192.168.1.10/zi to the directory where you wish to install the files on your web server.

Other Modules/Libraries (dependencies)

Code in robot-trading-webapp is limited to creating a user interface for reviewing and changing simulation parameters, and generating results in the form of graphs or a downloadable .zip package of simulation logs.

All market and agent processes are conducted in separate, tested modules. Modules are also used for user interface support, ETL, plotting, and saving data as zip files.

Significant modules, including modules authored by others, include:

Tests

Most imported modules above has tests that can be run by running "npm test" in that module's directory.

The top level code, which processes user input and displays the results, does not include automated tests at this time.

Copyright

Code authored herein is

Copyright 2016 Paul Brewer, Economic and Financial Technology Consulting LLC

License

The MIT License

robot-trading-webapp's People

Contributors

drpaulbrewer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

robot-trading-webapp's Issues

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.