/shocktrade.js

ShockTrade - Stock Trading Game/Simulation

Primary LanguageJavaScriptApache License 2.0Apache-2.0

ShockTrade.js

ShockTrade is a community-oriented securities trading simulation, design to facilitate both education and entertainment for its participants.

Table of Contents

Motivations

Learning how to invest can be scary. After all, no one wants to lose money, and without the proper guidance, losing money is a very real possibility. ShockTrade seeks to change that by allowing users to experiment with investing without any risk to actual capital. Additionally, the use of social features and the ability to compete with friends changes an experience could be potentially quite frightening to one that's fun!

Features

ShockTrade provides the capability of:

  • Researching stock securities
  • Simulating stock trading for US Markets (AMEX, NASDAQ, NYSE and OTCBB) in real-time.
  • Social Networking ** FaceBook integration ** Interacting with users around the world via the social features of the system.

Development

Build Requirements

Project Dependencies

Building the application

$ sbt fastOptJSCopy

Installing the application

The following is an one-time operation to create a working application:

$ node ./daycycle.js --install 

The above will create and populate all of the reference data required by the application.

Running the application locally

To start the web application server

$ node ./server.js

To start the qualification engine

$ node ./qualification.js

To start the day-cycle process

$ node ./daycycle.js

To start the trading robots server

$ node ./robots.js