Quantamental: How to Create a Google Style News Recommender for Your Stocks

By Wian Stipp

Auquan
auquan

--

This article is accompanied by a Google Colab notebook, which contains all the code and additional mathematical details. You can find the notebook here:

https://links.quant-quest.com/KGNotebook

What Will You Learn in This Article?

In this article we will explore how you can automatically identify relevant news about a company, using a technology called knowledge graphs (KGs). You will be able to automatically identify news that mentions a company, its competitors, people or products. To do this we will introduce KGs and look at how to construct your own using data from Wikidata and news sources.

The steps to do this are as follows:

  • Build a knowledge graph of companies and their related entities
  • Extract information from news
  • Add news data to the knowledge graph
  • Make inferences

What are Knowledge Graphs?

A knowledge graph organises information into an ontology. An ontology is simply a set of concepts, and the relations between them. Once we have an ontology, we can leverage the mathematical study of networks to perform interesting tasks in inference. This is how Google is able to present relevant information when you search for a company. Here is a simple diagram to help…

--

--

Auquan
auquan
Writer for

Content from the forefront of AI in finance, provided by the Auquan and Quant-Quest team