MLLib – Prediction of Stock Prices from Financial KPIs

Financial KPIs can be used to drive investment decisions. So it was my goal to create a comprehensive set of KPIs across different dimensions. In this document we will use EDGAR to calculate KPIs to measure the following dimensions of a reporting company – Profitability – Liquidity – Efficiency – Innovation – Growth – Leadereship – Surprises It is the expectation that the stock price of companies with better KPIs will grow faster than their Read more…

Smart EDGAR: Definition of a Comprehensive Set of Financial KPIs

A long time ago, when I was studying “Management and Business Administration” in Switzerland, I thought it would be cool to be able to calculate Financial KPIs in order to compare different companies within one sector or to be able to identify sector specific differences. Well, in Switzerland we still don’t have any requirement to file the Financial Reports electronically and unfortunately this will not change anytime soon. Fortunately there are countries which are more Read more…

Smart EDGAR: Calculation of Surprises

Financial KPIs can be used to drive investment decisions. So it was my goal to create a comprehensive set of KPIs across different dimensions that are based on the information which can be determined from EDGAR: – Profitability – Liquidity – Efficiency – Innovation – Growth – Leadership – Surprises In this document we demonstrate the approach on how to calculate the Surprises

Smart EDGAR: Calculation of Growth Parameters

Financial KPIs can be used to drive investment decisions. So it was my goal to create a comprehensive set of KPIs across different dimensions that are based on the information which can be determined from EDGAR: Profitibility Liquidity Efficiency Innovation Growth Leadereship Surprises In this document we demonstrate the approach on how to calculate the Growth Parameters

Calculating the Market Share of US Companies with the Help of EDGAR

Edgar is classifying the reporting companies by SIC (Standard Industrial Classification) Code. We can use this information to calculate the total sales per sector and then calculate the % share of the individual company. This is helping us to identify the companies with a big market share. The result (which uses Spark) can be found in the following Gist. Alternatively here is a version which purely relies on Scala and Smart EDGAR

Smile: Predicting the Direction of Stock Market Prices using a Random Forrest Classifier

In this demo we show how to forecast if the NASDAQ-100 is moving up or down. We do this with the help of a Random Forrest Classifier from the Smile Machine Learning Framework. I tried to replicate the result from a research paper authored by Luckyson Khaidem, Snehanshu Saha, Sudeepa Roy Dey: Data Preprocessing exponentially smoothing Features Relative Strength Index Stochastic Oscillator Williams %R Moving Average Convergence Divergence Price Rate of Change On Balance Volume Read more…

Smart-EDGAR is supporting Formulas now…

In the last Blog we demonstrated how we can calculate KPIs with the help of Spark. We have extended Smart Edgar functionality so that we can implement Calculated KPIs directly with the help of formulas. Here is a short demo in Scala which uses formulas the built in ‘coalesce’ method the built in ‘lag’ method the built in ‘percentChange’ method and displays the result in a BeakerX Jupyter Notebook as tables and charts using the Read more…

Calculating Financial KPIs with Scala, Spark and Smart-EDGAR¶

I am planning to use the Edgar data to determine and calculate some financial KPIs and feed these into a Neural Network. In my prior posts I described how to use Webservices to request and display Edgar information with the help of Python and Pandas. In the following Gist I show how we can directly use the ‘built in’ Java Query functionality of Smart-Edgar from Scala in order to calculated some financial KPIs.

Processing 2.1 Mio Records from Solr in a Spark Cluster with BeakerX¶

I decided to build a repository of news headlines: I loaded all ‘New York Times’ headlines since the year 2000 and all Business related news from the ‘Guardian’ into the Solr Search engine. It has never been the intention to process all documents in one run but the goal was to search for the relevant articles with the help of the search engine and then process only the relevant headlines. Out of curiosity however, I Read more…