Git Product home page Git Product logo

sakshi0704 / investo_bull_assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 179 KB

Explore InvestoBull_Assignment: a Java-based Stock Management app, built with Spring Boot and Spring Data JPA. Manage financial data effortlessly, whether it's a solo project or an exploration of Java and Spring tech.

Home Page: https://drive.google.com/file/d/1ISgq_Us1RkCa88OhZTbFxps4iUnOJLwk/view?usp=sharing

Java 100.00%
java-8 spring-boot spring-jpa swagger-ui

investo_bull_assignment's Introduction

InvestoBull_Assignment (Stock Management)

Table of Contents

Introduction

Welcome to the InvestoBull_Assignment project, a Stock Management application developed using Java, Spring Boot, and Spring Data JPA. This application is designed to streamline the processing of financial data. Whether you're working on a solo project or looking to explore Java and Spring technologies, this application provides valuable functionality for managing stock data.

Demo Video

https://drive.google.com/file/d/1ISgq_Us1RkCa88OhZTbFxps4iUnOJLwk/view?usp=sharing

Features

  • Data Storage: Easily store financial data from JSON files in a database.
  • ORB Candle Retrieval: Retrieve the first Opening Range Breakout (ORB) candle within a specified time frame.
  • Interval Candle Generation: Generate a list of candles for a given time interval.

Installation

To run this Spring Boot project locally, follow these steps:

  1. Clone this repository:
    git clone https://github.com/your-username/your-project.git
  2. Navigate to the project directory: cd your-project
  3. Build and run the project: mvn spring-boot:run

API Endpoints

1. Store Candles

  • HTTP Method: POST
  • Endpoint: http://localhost:8088/investo/save-candles
  • Request: None
  • Response: A status message indicating success or failure
  • Description: Saves candlestick data from a JSON file to the database.

2. Get Candle By CandleId

  • HTTP Method: GET
  • Endpoint: http://localhost:8088/investo/candle/{candleId}
  • Request: URL parameter candleId (should be between 0 and 75)
  • Response: JSON array containing stored candles

3. Get First And Last Candles

  • HTTP Method: GET
  • Endpoint: http://localhost:8088/investo/first-last-candle
  • Request: None
  • Response: JSON array containing the first and last stored candles

4. First ORB Candle

  • HTTP Method: GET
  • Endpoint: http://localhost:8088/investo/ORB/{minutes}
  • Request: URL parameter minutes (should be divisible by 5)
  • Response: JSON object containing the time of the first Opening Range Breakout (ORB) candle
  • Description: Calculates and returns the time of the first ORB candle based on the specified time interval.

5. New Interval Candles

  • HTTP Method: GET
  • Endpoint: http://localhost:8088/investo/candles/{minutes}
  • Request: URL parameter minutes (should be divisible by 5)
  • Response: JSON object containing newly generated candles
  • Description: Retrieves and combines candlestick data for the specified time interval.

Swagger Documentation

Explore the API using Swagger at: Swagger Documentation

Technology Stack

This project leverages the following technologies:

  • Java
  • Spring Boot
  • Spring Data JPA
  • H2 Database

About

"This project was created as an individual assignment as part of a company's recruitment process. It stands as a tangible demonstration of Java, Spring Boot, and Spring Data JPA capabilities in the context of financial data management and processing."

investo_bull_assignment's People

Contributors

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