Giter Site home page Giter Site logo

arcana's Introduction

Arcana

Deployment url

https://arcana.herokuapp.com

Local installation

Clone the repository

git clone https://github.com/sonishsinghal/arcana.git
cd arcana

Backend

cd backend
pip install -r requirements.txt
python app.py

Frontend

cd client
npm install
npm run dev

Application Rough Structure

.
|──────arcana/
| |────backend/
| | |────app.py
| | |────requirements.txt
| | |────python scripts
| |────client/
| | |────src/
| | | |────components/
| | | | |────/Appbar.tsx
| | | |────pages
| | | | |────index.tsx
| | | | |────optimizer.tsx
| |────Jupyter Notebooks

Problem Statment

Objective:

Develop a web application that leverages transcripts, financial fundamental data provided by Arcana here and any publicly available internet data such as social media, news and to provide insights about market trends & sentiment about stocks. This application will be used by an Investor and it should help in any one or more of the investor job functions such as capital allocation, research & analysis, portfolio management, staying informed & performance monitoring etc.,

Link to datasets: Transcripts: https://storage.googleapis.com/hackmadras/fmp-transcripts.zip Prices: https://storage.googleapis.com/hackmadras/prices.zip

Solution

Stock Analysis

  • We generated various plots using closing prices and volume.
  • The RSI plots were generated for the given closing prices and threshold of 70 and 30 are used.
  • 50 day and 20 day Moving averages were plotted and in the intersection points buy and sell positions were indicated in the graph.
  • Additionally, Boullinger bands were plotted for bounding the price flow.
  • AI models were tried and trained on the previous 32 days of the data and tried to fit on the data.

Portfolio optimisation

For a given level of risk, we want to make sure that we are getting as much return as possible. In quantitative finance, risk is viewed like a resource. Exposing your portfolio to risk generates returns over time. In other words, expected return is the compensation that we get paid in return for taking on uncertainty. The risk and uncertainty around an investment’s return is traditionally proxied by the standard deviation of its historical returns. There is an approximate and positive relationship between risk and return. The more volatile an asset is, the higher its historical returns have usually been.

Efficient frontier: An efficient frontier is a set of investment portfolios that are expected to provide the highest returns at a given level of risk. A portfolio is said to be efficient if there is no other portfolio that offers higher returns for a lower or equal amount of risk. Where portfolios are located on the efficient frontier depends on the investor’s degree of risk tolerance.

We tried optimising Portfolio using historical data, different models , different risk measures. The model Could be Classic (historical), BL (Black Litterman) or FM (Factor Model). The Objective function, could be MinRisk, MaxRet, Utility or Sharpe. The risk aversion factor is not used here since the objective function is not utility.

We made sentiment analysis for the transcripts available and also used LSTM based architecture for forecasting.

arcana's People

Contributors

sonishsinghal avatar mohankumar21 avatar gurushreyaas2003 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.