Difference between revisions of "Group10 Report"

From Visual Analytics and Applications
Jump to navigation Jump to search
Line 32: Line 32:
 
* Most of websites are not provided portfolio optimization for user can choose the stock they are interested and are not provided the expected return of combined stocks.
 
* Most of websites are not provided portfolio optimization for user can choose the stock they are interested and are not provided the expected return of combined stocks.
 
[[File:report1.png|350px]]
 
[[File:report1.png|350px]]
 +
 +
== 3 Design Framework==
 +
The visualization dashboard implements ggplot2 to create graphics, based on The Grammar of Graphics. After the data input, ggplot2 is able to map variables according to various aesthetics. For auto ARIMA time-series forecast, the dashboard makes use of tseries to plot the forecasting fan chart. The dashboard also includes googleVis for annotation trend chart and portfolio pie chart. The completed dashboard is based on R Shiny application.<br>
 +
 +
== 4 Demonstration==
 +
The dataset comes from CSMAR, a comprehensive database of China stock returns, covering all companies listed on Shanghai Stock Exchange and Shenzen Stock Exchange.
 +
<br>
 +
Create an interface for users to directly find the trend of different stocks and predict the stock prices. For each investor, provided investment recommendations based on risk assessment and preference of investors.
 +
<br>
 +
The dashboard consists of three section:
 +
<br>
 +
Exploratory analysis: to give a general view of the price trend of certain stocks and to perform comparison between a pair of stocks.
 +
<br>
 +
Predictive analysis: decompose the trend, season, cycle & noise in time series data future stock price, using ARIMA methods to forecast the with reported accuracy and confidence interval.
 +
<br>
 +
Portfolio optimization: to suggest users with optimized portfolio based on the preference of the users and the historical return data. It aims to help investors on their decisions on how many should they invest in different stocks that they like.
 +
 +
== 4.1 Data preparation==
 +
[[File:report2.png|350px]]
 +
For the data we make use of the package dplyr to combine the stock code and the Chinese name of the stock. Since for the raw data it only includes stock code without stock name. For better user experience, we add in the Chinese name of the stock name, enabling the user to select stocks based on their familiar information when performing various analyses.
 +
<br>
 +
We select the data from the beginning of 2018 to 23 November 2018. In the future we plan to implement the function that allows user to input their own dataset and perform independent analysis.

Revision as of 17:33, 8 December 2018

Title.jpg China Stock Data Visualization

Proposal

Poster

Application

Report

1 Motivation of the application

Predicting the stock change is difficult since a complex mix of factors is involved. And although the stock market data is abundant, it is usually disorderly retained on a lot of websites. A visualization dashboard that enables the users to explore the patterns of stock market data, directly eyeball the trend of different stocks and also forecast the future market changes will be extremely helpful for market participants.
This project aims to provide investors and traders with advanced data visualization of stock market data to reveal the hidden pattern of market movement, providing portfolio recommendations based on risk assessment and the preference of investors.

2 Review and Critic on Past Work

In the most of websites, they provided the value and volume graphs of each stocks. But there are two main critic on the past work:

  • Most of websites are not provided the predictive analysis for user to forecast future trend in a short period.
  • Most of websites are not provided portfolio optimization for user can choose the stock they are interested and are not provided the expected return of combined stocks.

Report1.png

3 Design Framework

The visualization dashboard implements ggplot2 to create graphics, based on The Grammar of Graphics. After the data input, ggplot2 is able to map variables according to various aesthetics. For auto ARIMA time-series forecast, the dashboard makes use of tseries to plot the forecasting fan chart. The dashboard also includes googleVis for annotation trend chart and portfolio pie chart. The completed dashboard is based on R Shiny application.

4 Demonstration

The dataset comes from CSMAR, a comprehensive database of China stock returns, covering all companies listed on Shanghai Stock Exchange and Shenzen Stock Exchange.
Create an interface for users to directly find the trend of different stocks and predict the stock prices. For each investor, provided investment recommendations based on risk assessment and preference of investors.
The dashboard consists of three section:
Exploratory analysis: to give a general view of the price trend of certain stocks and to perform comparison between a pair of stocks.
Predictive analysis: decompose the trend, season, cycle & noise in time series data future stock price, using ARIMA methods to forecast the with reported accuracy and confidence interval.
Portfolio optimization: to suggest users with optimized portfolio based on the preference of the users and the historical return data. It aims to help investors on their decisions on how many should they invest in different stocks that they like.

4.1 Data preparation

Report2.png For the data we make use of the package dplyr to combine the stock code and the Chinese name of the stock. Since for the raw data it only includes stock code without stock name. For better user experience, we add in the Chinese name of the stock name, enabling the user to select stocks based on their familiar information when performing various analyses.
We select the data from the beginning of 2018 to 23 November 2018. In the future we plan to implement the function that allows user to input their own dataset and perform independent analysis.