{"id":22123396,"url":"https://github.com/drpaulbrewer/robot-trading-webapp","last_synced_at":"2025-10-16T05:30:14.702Z","repository":{"id":147350894,"uuid":"59394463","full_name":"DrPaulBrewer/robot-trading-webapp","owner":"DrPaulBrewer","description":"robot trading webapp/demo based on single-market-robot-simulator and market-* packages","archived":false,"fork":false,"pushed_at":"2020-06-01T08:53:24.000Z","size":9365,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T09:23:00.977Z","etag":null,"topics":["experiments","javascript-applications","market","microeconomics","numerical","robot-trading"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrPaulBrewer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-05-22T04:14:57.000Z","updated_at":"2022-03-14T03:00:02.000Z","dependencies_parsed_at":"2023-07-02T16:30:53.997Z","dependency_job_id":null,"html_url":"https://github.com/DrPaulBrewer/robot-trading-webapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DrPaulBrewer/robot-trading-webapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPaulBrewer%2Frobot-trading-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPaulBrewer%2Frobot-trading-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPaulBrewer%2Frobot-trading-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPaulBrewer%2Frobot-trading-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrPaulBrewer","download_url":"https://codeload.github.com/DrPaulBrewer/robot-trading-webapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPaulBrewer%2Frobot-trading-webapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279159536,"owners_count":26116492,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["experiments","javascript-applications","market","microeconomics","numerical","robot-trading"],"created_at":"2024-12-01T15:32:57.419Z","updated_at":"2025-10-16T05:30:14.696Z","avatar_url":"https://github.com/DrPaulBrewer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# robot-trading-webapp\n\n[![Build Status](https://travis-ci.org/DrPaulBrewer/robot-trading-webapp.svg?branch=master)](https://travis-ci.org/DrPaulBrewer/robot-trading-webapp)\n\nBrowser-based numerical market experiment webapp for agent-based computational economics and finance.  \n\n## Trying out the software\n\nGo to:    http://drpaulbrewer.github.io/robot-trading-webapp\n\nYou do not need to install anything to try out this software.\n\nThe web demo above is pre-configured with a simple comparison of markets with different supply/demand intersection.  \n\n### Initial Screen\n\nClicking the RUN button will run this simulation.  The number of periods can be selected from the interface.\nOnce the simulation has been run, there is a choice of visualizations from the pulldown menu.\n\nParameters of the simulations can be changed by clicking the \"EDIT\" tab at the top of the screen to expand the editor.\n\nIf you want to modify the simulator to work differently, or program your own agents, you may wish to \ninstall this code to your own server and/or create a fork.\n\n## Installing and Changing the source code:  Pre-requisites\n\nThese steps are unnecessary if you are only trying out the software.\nA copy of this code is already running publicly on the web, see \"Usage\" above. \n\nThese installation instructions are indended for usage by technically inclined Ph.D. students or others with expertise\nin Linux, Javascript browser and server development, and agent-based economic simulation, who wish to examine the\nsoftware more closely or adapt it to other usage.\n\nYou need\n\n* a Linux-based web server\n* a nodejs development environment\n* familiarity with ES6 JavaScript is essential; some knowledge of jspm and npm package management is also useful  \n\nThen:\n\n1. `git clone https://github.com/DrPaulBrewer/robot-trading-webapp`\n2. Edit and run the build script in `make-local.sh`, in particular, change these lines before running:\n\n```\n# Put *your* code to deploy it below this line\nrm -rf /var/web/192.168.1.10/zi\nmkdir -p /var/web/192.168.1.10/zi\ncp -a * /var/web/192.168.1.10/zi/\n```\nYou need to change `/var/web/192.168.1.10/zi` to the directory where you wish to install the files on your web server.\n\n## Other Modules/Libraries (dependencies)\n\nCode in robot-trading-webapp is limited to creating a user interface for reviewing and changing simulation parameters, \nand generating results in the form of graphs or a downloadable .zip package of simulation logs.\n\nAll market and agent processes are conducted in separate, tested modules.  Modules are also used for user interface support,\nETL, plotting, and saving data as zip files.  \n\nSignificant modules, including modules authored by others, include:\n\n* [market-agents](https://www.npmjs.com/package/market-agents) generic agent functions, specific agents, and pools of agents\n* [market-engine](https://www.npmjs.com/package/market-engine) scaffolding for markets with lists of orders, pre-order checks, cancellation, and expiration\n* [market-example-contingent](https://www.npmjs.com/package/market-example-contingent) event-driven sequential double auction market with buy, sell, stop limit, OCO one-cancels-other and OSO one-sends-other functionality\n* [single-market-robot-simulator](https://www.npmjs.com/package/single-market-robot-simulator) Multiple period simulations, either syncronous or asynchronous, yielding a data log files or arrays.\n* [single-market-robot-simulator-app-framework](https://www.npmjs.com/package/single-market-robot-simulator-app-framework) Framework of web app providing functions such as run, edit, download data, plot selection,  etc.\n* [single-market-robot-simulator-viz-plotly](https://www.npmjs.com/package/single-market-robot-simulator-viz-plotly) Extraction and transformation of simulation data to formats needed for specific charts in Plotly\n* [single-market-robot-simulator-savezip](https://www.npmjs.com/package/single-market-robot-simulator-savezip) saves configuration and data of an array of simulations as a .zip file using 3rd parties jszip and filesaver.js modules.\n* [plotly](https://www.npmjs.com/package/plotly.js) Plotly open source scientific plotting package (commercial 3rd party module, MIT Licensed)\n* [json-editor](https://www.npmjs.com/package/json-editor) User-interface manager configured via JSON Schema. \n\n\n## Tests\n\nMost imported modules above has tests that can be run by running \"npm test\" in that module's directory.\n\nThe top level code, which processes user input and displays the results, does not include automated tests at this time.\n\n## Copyright\n\nCode authored herein is \n\nCopyright 2016 Paul Brewer, Economic and Financial Technology Consulting LLC\n\n## License\n\n[The MIT License](https://github.com/DrPaulBrewer/robot-trading-webapp/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpaulbrewer%2Frobot-trading-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrpaulbrewer%2Frobot-trading-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpaulbrewer%2Frobot-trading-webapp/lists"}