Coder Social home page Coder Social logo

uzbekdev1 / reactivetradercloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adaptiveconsulting/reactivetradercloud

1.0 0.0 0.0 213.55 MB

Real-time FX trading showcase by Adaptive.

Home Page: https://web-demo.adaptivecluster.com

License: Apache License 2.0

C# 15.46% Batchfile 0.02% JavaScript 4.72% HTML 0.54% Shell 1.07% TypeScript 77.71% Dockerfile 0.29% Python 0.18%

reactivetradercloud's Introduction

GitHub Workflow Status GitHub release (latest by date) GitHub

image

Reactive Trader

Reactive Trader is a real-time FX trading platform designed to showcase reactive programming principles across the full application stack.

Originally written in WPF and .Net, and now in React/Redux, .Net and Node.js, we continue to evolve the platform to use the latest technologies.

Please see our Showcases page for a full list of the latest features.

image

Demo

Installation

With Docker
  1. Install Docker (from the Docker website)
  2. Fork and clone the ReactiveTraderCloud repo (see Contributing page)
  3. From the src folder run: docker-compose up
  4. Open a browser and navigate to http://localhost to see the application running
  5. To shutdown the application run: docker-compose down
With Docker and Kubernetes
  1. Follow the steps to run with Docker

  2. From the src directory run docker-compose build

  3. Set the environment variables:

    export DOCKER_USER=localuser
    export BUILD_VERSION=0.0.0
  4. Run the following command:

    docker stack deploy --orchestrator kubernetes --compose-file ./docker-compose.yml rtcstack
  5. To see your services and pods running, run:

    kubectl get services
    kubectl get pods
  6. Open a browser and navigate to http://localhost to see the application running

  7. To shutdown / remove stack, run: kubectl delete stack rtcstack

Without Docker (for development/debugging)
  1. Fork and clone the ReactiveTraderCloud repo (see Contributing page)

  2. Install dependencies & add them to your path:

  1. Enable RabbitMQ Web Stomp Pluggin

    rabbitmq-plugins enable rabbitmq_web_stomp
  2. Populate Event Store:

    cd src/server/dotNet
    dotnet run -p Adaptive.ReactiveTrader.Server.Launcher --populate-eventstore
  3. Start the .NET services:

    cd src/server/dotNet
    dotnet run -p Adaptive.ReactiveTrader.Server.Launcher all

    To run individual services, cd into their folder, and type dotnet run.

  4. (Optional) Start Node services by running npm run start:dev from their respective folders, e.g.:

    cd src/server/node/priceHistory
    npm install
    npm run start:dev
  5. Start the client against the local server components:

    cd src/client
    npm install
    npm run start:local-backend
  6. Alternative commands:

  • npm run build:demo-backend - to run the client against a demo backend running in the cloud
  • npm run test - to run tests using Jest

CI/CD

We practice continuous integration and deployment. Every merge to master causes a build and deployment to our development environment to occur as follows:

image

Contributing

Please see our contrubtion guidelines.

Who are we?

Reactive Trader was written by the team at Adaptive, a consultancy that specialises in building real-time trading systems.

Please contact us if you'd like to learn more, or follow us via our blog, Twitter, or LinkedIn.

License

This application is made available under the Apache license v2.0.

reactivetradercloud's People

Contributors

audreyf1 avatar bhavesh-desai-scratch avatar dimitarchristoff avatar evanrs avatar fdore avatar fsarda avatar gablabelle avatar gomezsantiago avatar ianbossman8 avatar james-gray-adaptive avatar jonclare avatar jpwatson avatar keithwoods avatar keshaldesai avatar lidia-adaptive avatar mozmorris avatar pawelap avatar pdeleastar avatar pmilla1606 avatar qooroo avatar rafgarciaa avatar rikoe avatar sizov avatar snony avatar snonyedx avatar spcfran avatar taylor-adaptive avatar tdeheurles avatar vasipuica avatar zhouyuhe avatar

Stargazers

 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.