Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whatheheckisthis/jp-morgan-project

Completed J.P. Morgan's Software Engineering simulation on Forage: Set up a local dev environment, fixed broken files, and used Perspective to generate live data graphs.
https://github.com/whatheheckisthis/jp-morgan-project

cyber-security database forensics quantitative-finance software

Last synced: 22 days ago
JSON representation

Completed J.P. Morgan's Software Engineering simulation on Forage: Set up a local dev environment, fixed broken files, and used Perspective to generate live data graphs.

Awesome Lists containing this project

README

        

# JP-Morgan-Project
[Course Outline](https://www.theforage.com/simulations/jpmorgan/cybersecurity-0acj)
---

This project is part of the J.P. Morgan Chase & Co virtual experience program, aimed at giving students a glimpse into the role of a software engineer at JPMorgan Chase, while enhancing their technology skills.

JPMorgan Chase invests $10 billion annually to enable technologists to develop diverse solutions in areas such as strategic technology initiatives, big data, mobile, electronic payments, machine learning, cybersecurity, enterprise cloud development, and other cutting-edge technologies.

### Objectives:

1. **Interface with a Stock Price Data Feed:** Set up and analyze stock price data.
2. **Use JPMorgan Chase Frameworks and Tools:** Implement the Perspective open-source code for data visualization.
3. **Display Data Visually for Traders:** Use Perspective to create a chart for the trader’s dashboard.

---


  1. Please clone this repository to start the task

  2. Adjust the getRatio, getDataPoint, and main functions

  3. Bonus: Pass all unit tests and add more to cover edge cases

  4. Upload a git patch file as the submission to this task


Set up / Installation

To get the server and client application code working on your machine, follow the setup here


Note:This is the Python 3 version of the JPM 1 exercise. The Python 2.7 version is in this other repo

How to Run


To start the server, run

python server3.py

this will create random market called 'test.csv' in your working directory if one does not already exist.

If you encounter an issue with `datautil.parser`, run this command:

pip install python-dateutil

If you don't have pip yet, you can install it from: https://pip.pypa.io/en/stable/installing/

To start the example client, run:

python client3.py

To unit test the example client, run:
python client_test.py

How to request from the server using curl

Query:

$ curl 'http://localhost:8080/query?id=1'
{"id": "1", "top_ask": {"price": 129.18, "size": 70}, "timestamp": "2016-08-06 12:32:11.821574", "top_bid": {"price": 128.79, "size": 61}}

How to fix the code to meet objectives


To make the changes necessary to complete the objectives of this task, follow this guide.


To do the bonus task, read this.