From a8778dfa54f454eb9fb2eeb089e64761015de31e Mon Sep 17 00:00:00 2001 From: KAMIREDDYRAMIREDDY Date: Tue, 28 Jan 2025 11:28:35 +0530 Subject: [PATCH] Update README.md --- README.md | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/README.md b/README.md index 637f474..d8a3244 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,72 @@ # Midas Project repo for the JPMC Advanced Software Engineering Forage program +
+

+ + +

+ +

+ Task Overview + | + Installation Instructions + | + Link to Module 1 + | + JP Morgan Chase & Co Software Engineering Virtual Experience +

+ +

Introduction

+ Experience Technology at JP Morgan Chase & Co +

Try out what real work is like in the technology team at JP Morgan Chase & Co. Fast track to the tech team with your work.

+ +

Module 1 Task Overview

+

Interface with a stock price data feed and set up your system for analysis of the data

+

Aim: We want to process the data feed of stock A and stock B’s price to enable us to analyse when trading for the stock should occur.

+ +
    +
  1. Please clone this repository to start the task
  2. +
  3. Adjust the getRatio, getDataPoint and main functions
  4. +
  5. Bonus: Pass all unit tests and add more to cover edge cases
  6. +
  7. Upload a git patch file as the submission to this task
  8. + +
+ +

Set up / Installation

+ +

In order 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.

+ +

How to submit your work

+

A patch file is what is required from you to submit. To create a patch file, follow this guide. Then submit the patch file in the JPM Module 1 Page.