Git Product home page Git Product logo

twm-mkt-eq-service's Introduction

twm-mkt-eq-service

Tech Stack:

  1. Java 11
  2. Quarkus (the Supersonic Subatomic Java Framework: https://quarkus.io/)
  3. OpenFeign
  4. OpenCsv
  5. Lombok

Requirements

  1. Install the latest jar of the project: https://github.com/crackCodeLogn/twm-artifactory, using mvn clean install
  2. Generate jar of current project using mvn clean install
  3. Before starting the app, define a holdings.csv file inside twm-mkt-eq-service/landing, which would contain the stocks you are holding in CSV format (below is tabular only for clarity):
symbol qty buy_price
HDFCBANK 11 1520
SBIN 15 430.75
  1. Set a variable in your system for TWM_HOME_PARENT, which defines a project structure defined in the twm-mkt-eq-service/bin/twm-mkt-eq-service.sh
  2. Make sure you have java configured.
  3. Indian market only. This also considers the EMH - Efficient Market Hypothesis, which assumes that the stock price on NSE and BSE are the same.

Starting the application locally

  1. Start ./twm-mkt-eq-service.sh <provide-pnL-calculation-interval-here-in-seconds> from terminal

Stopping application running locally

  1. Ctrl + C the terminal where the twm-mkt-eq-service jar is running.

Output

Based on the sample selected above, below is the output for the run:-

// Will add snap on running trading day.

twm-mkt-eq-service's People

Contributors

crackcodelogn avatar

Stargazers

 avatar

Watchers

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