Giter Club home page Giter Club logo

citi-hackathon's Introduction

Predicting Market Triggers

Description

Macro Events impact the Business function of CITI because of its geopolitical volatility and unpredictability. When Macro events trigger the market and have a long-term impact it is considered as a โ€œ Macro Trend โ€œ which has a ripple effect on Financial Markets. Oftentimes, the Potential Impact is realized too late.!

Application Available on

http://ec2-23-22-153-152.compute-1.amazonaws.com/

Objective

To develop the model which predicts the factors affecting the market movement events ahead of the News Channels across the world. Grouping of Events in a Trend which will affect the market.

Solution Approach

  1. We have created a web application that collects real-time data from various sources like Twitter, news API, etc., and provides insights on which asset classes will impact the market in the near future.

  2. Our approach is to identify the micro trend happening in social networking platforms and then analyzing with our asset classes ( metadata) to figure out the macro trend.

  3. Our market prediction is based on 9 asset classes which will have a potential impact on the financial market across the globe.

Application Architecture

image

Tools & Technologies Used

Screen Shot 2021-02-26 at 11 50 05 PM

Landing Page

image

Live Stream Option:

  1. This feature is password protected as there are limitations of free twitter and news api developer account.
  2. Once a valid password is provided, the app polls for livestream of feeds from twitter and news api.
  3. The current configuration makes 1 request every 4 seconds which pulls around 250 news feeds from the internet.
  4. After 6 requests the live stream is forcefully stopped (as twitter and news api may block the account for extracting a large chunk of data within a short span of time).

Previous Trends:

  1. Everytime we do a live stream we generate processed and cleaned files.
  2. These cleaned files are used to create the trends whenever user clicks on previous trends option.

Visualization Dashboard

image

Local Setup

FrontEnd:

  1. Clone the code on your local system using git clone https://github.com/uanthwal/citi-hackathon.git
  2. Navigate to FrontEnd folder
  3. Install all the dependencies using npm install
  4. Start the angular app using ng serve

Backend

  1. As the code is already clone in previous steps, navigate to Backend folder
  2. Install all the dependencies using pip3 install -r requirements.txt
  3. Run the python local server using command python3 data_extractor.py
  4. App server will be available on http://localhost:5000/
  5. NOTE: The twitter and news APIs keys have been removed from the code. In order to make the backend server running the keys are required.

Future Scope

  1. The Asset Classes metadata can further be extended so that all the High-Frequency Identifiers can easily fit into any particular Asset class or all the Asset Classes.

  2. The sentiments behind the tweets or posts on any social platform can be further analyzed to identify its impact on asset classes more accurately.

  3. The data can be extracted from various social platforms like LinkedIn etc., and integrated to identify microtrends from bigger and diverse population.

References

  1. https://twitter.com/
  2. https://github.com/
  3. analyze word frequency counts using twitter data and tweepy in python | earth data science - earth lab
  4. https://newsapi.org/
  5. https://fetchrss.com/api
  6. https://developer.nytimes.com/

Got any questions for us? Please drop a mail to one of us, and we would be more than happy to revert. You can find us at [email protected] , [email protected] , [email protected]

citi-hackathon's People

Contributors

uanthwal avatar

Watchers

James Cloos 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.