Code Monkey home page Code Monkey logo

conuhacksvii's Introduction

ConUHacksVII : Arbitrading

This project is our submission for the 2023 ConuHacks Hackathon at Concordia University.

Authors

  • Lina Ismail
  • Kareem El Assad
  • Abhinav Batra
  • Alois Clerc

Project Overview

The Backend

The backend is written in python using the Flask framework. It is responsible for the following tasks:

  • Top 10 Symbols by Tag: Cancelled
  • Top 10 Symbols by Tag: Trade
  • Top 10 Symbols by Tag per Second: Cancelled
  • Top 10 Symbols by Tag per Second: Trade
  • Total Trades Over Time
  • Total Cancelled Over Time

A MongoDB Atlas cluster was utilized to store JSON files as collections. The data was then queried using the pandas library.

The Frontend

The frontend is written in React. It is responsible for the following tasks:

  • Integrates with axios to make requests to the backend API.
  • Displays the data in a horizontal bar graph using chart.js.
  • Automatically updates the data in near-real-time using React's state management infrastructure.
  • Visualizes the data served by the backend in a user-friendly manner.

Notable Anomalies

A fair amount of anomalies were detected throughout the project.

  • Some trades were confirmed/completed without a prior request being made.
  • The market is occassionally flooded with requests prior to market open at 9:30am. This is likely to secure a lower price.
  • Initial attempts at a purchase tend to start with a significantly low price that is gradualy increased.

Setup Instructions

Backend Setup

  1. Cd to the backend folder using cd Backend
  2. Create a virtual environment using python -m venv venv
  3. Install project requirements using python -m pip install -r requirements.txt
  4. Run the backend using flask run

Frontend Setup

  1. Cd to the frontend folder using cd Frontend
  2. Install project dependencies using npm install
  3. Start the project using npm start

Images

image

image

License

This project is licensed under the MIT License.

Acknowledgments

We would like to thank the 2023 ConuHacks team for hosting an amazing event.

conuhacksvii's People

Contributors

abhb2303 avatar aloisclerc avatar kareemassad avatar linaism 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.