Skip to content

Live graph to determine trading opportunity in stock prices

Notifications You must be signed in to change notification settings

ccrisc/jpmc-swe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPMC Trading Dashboard

This repo is initially forked from task 3 of JPMC's Forage program. It uses perspective to generate a live graph that displays the data feed in a clear and visually appealing way.

Built With

css3 html5 javascript nodejs python react typescript

Requires node version 18.10.0

Project Purpose

This project is built to display data for traders. It uses perspective to generate a live graph that displays the data feed in a clear and visually appealing way for traders to monitor.

The purpose of the graph is to monitor and determine when a trading opportunity may arise as a result of the temporary weakening of a correlation between two stock prices. Given this graph, the trader should be able to quickly and easily notice when the ratio moves too far from the average historical correlation. In the first instance, we'll assume that threshold is +/-10% of the 12-month historical average ratio.

Project Structure & Preview

The graph tracks the ratio between two stocks over time. Traders want to monitor the ratio of two stocks against a historical correlation with upper and lower bounds. This can help them determine a trading opportunity. Therefore the graph plots also the upper and lower bounds and show when they get crossed.

Screenshot 2024-07-04 alle 08 57 51

Getting Started/Installation

Below the instruction to set up this project.

  1. Install the necessary dependencies by running npm install from the project repo
  2. Start the python server by running server3.py from the project repo like so:
    python datafeed/server3.py
  3. Start the client by running npm start from the project repo
  4. Start by clicking "Streaming Data" button

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/jpmc-swe)
  3. Commit your Changes (git commit -m 'Add some jpmc-swe')
  4. Push to the Branch (git push origin feature/jpmc-swe)
  5. Open a Pull Request

License

See the initial repo for more information.

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.9%
  • TypeScript 26.5%
  • HTML 10.9%
  • CSS 5.8%
  • JavaScript 1.9%