Giter VIP home page Giter VIP logo

devfinwiz / fin-maestro-web Goto Github PK

View Code? Open in Web Editor NEW
211.0 8.0 42.0 11.93 MB

Find your trading, investing edge using the most advanced web app for technical and fundamental research combined with real time sentiment analysis.

Home Page: https://shorturl.at/hjzFW

License: MIT License

Python 69.36% CSS 11.45% JavaScript 1.21% HTML 17.98%
options-trading stock-analysis trading-strategies valuation-model backtester backtesting-trading-strategies pythonforfinance sentiment-analysis cryptoanalysis fundamental-analysis

fin-maestro-web's Introduction

Disclaimer: This project is not maintained anymore. Do reach out if you feel you can contribute in any way.

N2

Share on Twitter

Fin-Maestro


Discussion Bugs/Issues Demo Tutorial Contribute
meeting warning help meeting
Join/Read the Community Discussion Raise an Issue about a Problem Get Help about Usage Contribute With New Features

Change Log

🚀 Introducing Fin-Maestro-Kin:

Our new all-in-one finance API, designed to revolutionize financial data analysis and processing.

✔ Seamlessly fetch historical data, analyze market trends, and evaluate sentiment with ease.

⚡ Empowered with FastAPI brilliance, offering lightning-fast performance and scalability.

📦 Publish your own financial applications powered by Fin-Maestro-Kin and witness unparalleled insights into the market.

🔗 View Fin-Maestro-Kin on PyPI

image

Fin-Maestro

Fin-Maestro is a cutting-edge web application that aims to make it easier for market participants to operate more effectively and intelligently by thoroughly examining various parameters of various financial instruments.

How install Fin-Maestro?

(Refer to branch 'docker'.)

  1. Manual: To be able to raise the project you must have the following prerequisites:

    [x] Vite.js (https://vitejs.dev/guide/)

    [x] python 3.10.11 (https://www.python.org/downloads/release/python-31011/)

    In the case of the backend, go to the path ~/backend/scr/ and execute the following command: pip install -r requirements.txt

    Additionally you should consider installing the libraries TA_Lib, tensorflow, stable-baselines3 and tensorflow-intel

    In the case of the frontend, go to the path ~/frontend/ and execute the following command: npm install and then execute: npm run dev

  2. Docker: To be able to raise the project you must have the following prerequisites:

    [x] Docker/Docker-compose (https://docs.docker.com/desktop/)

    Go to the main path and run the following command: docker-compose up -d --build

Common step to enable QuestDB Integration to Fin-Maestro for smart caching:

Run QuestDB Image:

docker run -p 9000:9000 -p 9009:9009 -p 8812:8812 -p 9003:9003 questdb/questdb:7.3.3

Fin-Maestro is comprised of 10 main modules:

  1. Valuation Determiner
  2. Mock Trader
  3. Sentiment Analyzer
  4. Pattern Analyzer
  5. Indices Health
  6. SWOT Analyzer
  7. Fundamental Scans
  8. Crypto Technical Scans
  9. Strategy Backtester
  10. Buy/Sell Signals Generator

image

-----------------------------------------------------

1. Valuation Determiner

The Valuation Determiner considers a variety of the stock's financial factors before calculating its fair value using the book value, yearly sales, annual earnings, and Graham number. It determines if the stock is undervalued, reasonably valued, or overvalued after the computation is complete.

Input: 
1. Stock Name

Output:
1. Valuation as per book value (VAP_BV)
2. Valuation as per annual sales (VAP_SALES)
3. Valuation as per earnings (VAP_EARNINGS)
4. Valuation as per Graham number (VAP_GRAHAM)
5. Status: Undervalued / Fairly Valued / Overvalued

Unique Aspect:

For equities from various sectors, a separate procedure is utilised to determine the fair value. The Valuation Determiner module automatically modifies the stock's fair value computation process to produce enhanced dependability and accuracy.

Reason: 
Some stocks tend to trade at higher multiples due to it's nature of the business. Example: FMCG Stocks, monopoly/duopoly stocks
Thus, if such stocks are not differentiated, the result obtained would always indicate that stock is overvalued. This may result 
in missed chances to add companies to your portfolio at the right time.
  

image

-----------------------------------------------------

2. Mock Trader

Without using real money for trading, market participants can place simulated trades using Mock Trader. Participants in the market might use these trades to test a certain trading strategy or analysis.

Input: 
1. Stock Name
2. Transaction type: Buy/Sell

Output:
1. Trading position in the requested stock. 

image

-----------------------------------------------------

3. Sentiment Analyzer

The Sentiment Analyzer module analyses option chain data for indices and securities to produce a sentiment that indicates whether the index or stock is oversold, slightly oversold, slightly overbought, or overbought.

Input: 
1. Stock Name

Output:
1. Sentiment for Nifty and Bank Nifty (needs no user input)
2. Sentiment for requested stock (oversold, slightly oversold, slightly overbought, or overbought)

image

-----------------------------------------------------

4. Pattern Analyzer

Finding a certain technical chart pattern across all the stocks is done by the Pattern Analyzer module, which then outputs the stock name and a chart showing the pattern's position with a yellow pointer just above it. Also, it can exclude equities whose technical charts show a breakdown, breakout, or consolidation.

Input: 
1. Technical pattern name

Output:
1. Candlestick chart of stocks where the pattern is located indicating the target pattern's position with yellow pointer.
2. List of stocks that witnessing consolidation, breakout or breakdown. 

image

-----------------------------------------------------

5. Indices Health

This module employs a color-coded system to show the overall valuation status of all NSE indices. It makes use of the hues red, orange, and green. Green means that the valuations are good enough to begin SIPs, while orange and red indicate that the valuations are neutral and expensive respectively. 

Output:
1. List of indices that are colored-wrapped

image

-----------------------------------------------------

6. SWOT Analyzer

This module examines a stock's technical parameters and fundamentals before generating a SWOT that lists the stock's strengths, weaknesses, opportunities, and threats.

Inputs:
1. Stock name

Output:
1. SWOT for the requested stock.

image

-----------------------------------------------------

7. Fundamental Scans

This module examines the financial data of the stocks and sorts stocks that are attractive according to their Graham number, book value, annual sales, and earnings.

Output:
1. List of stocks attractive as per its book value. 
2. List of stocks attractive as per its sales. 
3. List of stocks attractive as per its earnings.
4. List of stocks trading below Graham Number.

image

-----------------------------------------------------

8. Crypto Technical Scans

For traders' convenience, this module analyses the technical charts of the specified cryptocurrency and then generates a plot showing the automatically generated support and resistance levels for that cryptocurrency.

Inputs:
1. Cryptocurrency name

Output:
1. Technical chart with auto generated plotting of support and resistance levels.

image

-----------------------------------------------------

9. Strategy Backtester

For any requested stock, this module now backtests a hardcoded trading strategy and generates a visually appealing report with information on the number of trades, total returns, maximum drawdown, and average return.

Inputs:
1. Stock name

Output:
1. A plot indicating the backtest results for the requested stock.  

image

-----------------------------------------------------

10. Buy/Sell Signals Generator

For any requested stock, this module produces a visually appealing plot with long/short green and red colored markers respectively as signals. These signals can be used to interpet the further direction of the stock.

Inputs:
1. Stock name
2. Number of signals (total number of buy or sell signals that must be plotted)
Note: For best results, keep this value as 10.

Output:
1. A visually appealing plot indicating buy and sell signals for the requested stock.

image

Share on Twitter

-----------------------------------------------------

Contributing:

  • Please feel free to suggest improvements, bugs by creating an issue.
  • Please follow the Guidelines for Contributing while making a pull request.
  • Please check the Upcoming Features for a list of exciting features we plan to implement in the future.

-----------------------------------------------------

Disclaimer:

  • DO NOT use the results provided by the web app 'solely' to make your trading/investment decisions.
  • Always backtest and analyze the stocks manually before you trade.
  • Consult your financial advisor before making any trading/investment decisions.
  • The authors/contributors and the web app will not be held liable for your losses (if any).

-----------------------------------------------------

👥 Contributors

Name GitHub Profile Description Followers Stars
Dev Juneja devfinwiz Idea Owner, Backend Developer GitHub followers GitHub stars
Yash Khadse yash-dk Front-end Developer GitHub followers GitHub stars

fin-maestro-web's People

Contributors

asafravid avatar deepsource-autofix[bot] avatar deepsource-io[bot] avatar dependabot[bot] avatar devfinwiz avatar yash-dk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fin-maestro-web's Issues

No SQL script to create tables in QuestDB ?

Hey there, I wondering if you have any .SQL script I can launch to create the main tables for the cache in QuestDB.
It looks like it's missing from the project repository.

Thanks !

NSEpy has been deprecated(No longer actively maintained)

NSEpy directly affects the functionality of IndicesHealth module of Fin-Maestro-Web as the prerequisite of gathering data is no longer fulfilled with NSEpy.

def dataset_generator(indice):  
    history_filename=r"Dataset\Resultant Dataset\\nse_indices_pe_dataset\{}.csv".format(indice)  
    f=open(history_filename,'w',newline="")

    indice_pe = get_index_pe_history(symbol="{}".format(indice),
                                    start=datetime.datetime(2023,1,1),
                                    end=datetime.datetime(2023,2,17))
    print(indice_pe)

gives:

Index: []
Empty DataFrame
Columns: [P/E, P/B, Div Yield]

vite] http proxy error at /api/sentiment/pcrAnalyzer/index:

Hi

Below error is shown when VITE server started. Can you pls let me know how to fix the proxy eror.

VITE v3.2.7 ready in 390 ms

➜ Local: http://localhost:80/
➜ Network: http://192.168.200.224:80/
1:05:54 PM [vite] http proxy error at /api/sentiment/pcrAnalyzer/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:05:54 PM [vite] http proxy error at /api/valuation/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:06:45 PM [vite] http proxy error at /api/tickers:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:06:47 PM [vite] http proxy error at /api/sentiment/pcrAnalyzer/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:06:47 PM [vite] http proxy error at /api/valuation/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:08:37 PM [vite] http proxy error at /api/sentiment/pcrAnalyzer/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
1:08:37 PM [vite] http proxy error at /api/valuation/index:
Error: connect ECONNREFUSED 127.0.0.1:5000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)

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.