GithubHelp home page GithubHelp logo

kunaal-gupta / forage-jpmc-swe-task-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theforage/forage-jpmc-swe-task-1

0.0 1.0 0.0 43 KB

Starter repo for task 1 of the JPMC software engineering program

Python 100.00%

forage-jpmc-swe-task-1's Introduction

JPMC Task 1

Starter repo for task 1 of the JPMC software engineering program

Here is the background information on your task

You’ve been asked to assist with some development to add a chart to a trader’s dashboard allowing them to better identify under/over-valued stocks.

The trader would like to be able to monitor two historically correlated stocks and be able to visualise when the correlation between the two weakens (i.e. one stock moves proportionally more than the historical correlation would imply). This could indicate a potential trade strategy to simultaneously buy the relatively underperforming stock and sell the relatively outperforming stock. Assuming the two prices subsequently converge, the trade should be profitable.

  • Most data visualisation for our traders is built on JPMorgan Chase's Perspective data visualisation software, which is now open source. If you want to explore that, a link is provided in the resources section.

  • Before implementing this request using perspective, first, you’ll need to interface with the relevant financial data feed and make the necessary adjustments to facilitate the monitoring of potential trade opportunities.

Set up your dev environment

Before you can tackle any software development task, you need to set up your development environment. You can think of your local development environment as a virtual workbench with all the tools necessary to work on your project. To set up your dev environment, follow these instructions:

  • Install python 3 to your system - any recent version of python 3 will work fine, though the most up-to-date version is advisable. If you need help with this step, check out this excellent guide from real python: https://realpython.com/installing-python/

Fork and clone the starter repo here: https://github.com/theforage/forage-jpmc-swe-task-1 IMPORTANT! Uncheck the “Copy the main branch only” box in the fork dialog on GitHub. A model answer has been provided in a separate branch from main. if you are unfamiliar with forking, cloning, or git in general, take a look at the first two chapters of the git book here: https://git-scm.com/book/en/v2

Open the project in your IDE of choice - if you don’t have a favourite python IDE yet, take a look at Pycharm Community Edition. It’s a well-designed IDE by Jetbrains packed with features and plugins, powerful enough to work on the most complex projects, and entirely free.

  • Create a new virtual environment in the project root. Pycharm can do this automatically for you using the “configure python interpreter” option in settings.
  • Install all project dependencies. These are listed in the requirements.txt file.

Making changes

When you’re in a work environment, you’ll usually receive tasks in the form of engineering tickets. Here is an example of what this task looks like in the form of an engineering ticket

Purpose 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.

Acceptance Criteria

  • getDataPoint function should return correct tuple of stock name, bid_price, ask_price and price. Note: price of a stock = average of bid and ask
  • getRatio function should return the ratio of the two stock prices
  • main function should output correct stock info, prices and ratio

forage-jpmc-swe-task-1's People

Contributors

kunaal-gupta avatar josiahdc avatar jf-forage avatar

Watchers

 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.