Journal Search Engine
ISSN : 1598-5725(Print)
ISSN : 2093-8470(Online)
Journal of Navigation and Port Research Vol.42 No.5 pp.341-346
DOI : https://doi.org/10.5394/KINPR.2018.42.5.341

# Supramax Bulk Carrier Market Forecasting with Technical Indicators and Neural Networks

Sang-Seop Lim*, Hee-Sung Yun
*Division of Shipping Management, Korea Maritime and Ocean University
Centre for Shipping Big Data Analytics, Korea Maritime Institute
Corresponding author, heesung.yun@gmail.com 051)797-4637
* limsangseop@kmou.ac.kr 051)410-4387
11/09/2018 08/09/2018 10/09/2018

## Abstract

Supramax bulk carriers cover a wide range of ocean transportation requirements, from major to minor bulk cargoes. Market forecasting for this segment has posed a challenge to researchers, due to complexity involved, on the demand side of the forecasting model. This paper addresses this issue by using technical indicators as input features, instead of complicated supply-demand variables. Artificial neural networks (ANN), one of the most popular machine-learning tools, were used to replace classical time-series models. Results revealed that ANN outperformed the benchmark binomial logistic regression model, and predicted direction of the spot market with more than 70% accuracy. Results obtained in this paper, can enable chartering desks to make better short-term chartering decisions.

## 1. Introduction

The freight market is characterized by high volatility; in particular, the increase in volatility since the mid-2000s is considered to be one of the most extreme that has occurred in the history of shipping. Such market volatility naturally translates into ‘market risk’ for shipping companies, as shipping companies are exposed to changes in the freight market and market volatility is one of the most critical factors that affect their financial performance. From a market risk-management perspective, a scientific approach to forecasting is essential and, in this respect, the development of freight rate forecasting models is a key issue in both academic and industrial circles (Celik et al., 2009).

In the field of forecasting, neural networks are gaining attention due to their outperformance over classical time-series forecasting models. This paper applies neural networks to forecasting in the Supramax freight market. The Supramax market was chosen because unlike Capesize or Panamax bulk carriers, Supramax vessels carry a wide range of cargoes, including coal, grain, fertilizer, steel products, forest products, nickel ore, sand, salt and so on. This means that the demand side of the equation is too complicated to construct successful supply-demand models for the Supramax market. Indeed, for this reason, past studies dealt with markets for larger-sized vessels, for which the types of cargoes are fairly limited.

Past research papers mostly attempted to predict the shipping market by analyzing supply and demand variables, macroeconomic variables and/or the freight series of other shipping market segments (Veenstra and Franses, 1997;Kavussanos and Alizadeh, 2002;Alizadeh and Nomikos, 2006;Batchelor, Alizadeh and Visvikis, 2007). However, questions can be raised regarding the selection of their independent variables; whether the chosen variables are representative of all the other variables; and whether the intuitive selection method is appropriate.

This paper used technical indicators instead of supply-demand variables for the forecasting of Supramax freight. Technical variables are widely employed in financial market analysis – for example, research has been conducted using both machine learning models and technical variables to predict stock prices, and its results have been considered powerful enough to be applied to stock trading in the real world (Kara, Acar Boyacioglu and Baykan, 2011;Patel et al., 2015;Shynkevich et al., 2017).

On the other hand, the results of the previous studies can be used as evidence to prove that the weak-form efficient market hypothesis (EMH) is rejected in the financial market. While the weak-form EMH states that future stock prices are random and are not influenced by past events, technical indicators derived from past price movements play a role in making additional profits. Technical analysis is a trading discipline employed to evaluate investments and identify trading opportunities by analyzing statistical trends gathered from trading activity, such as price movement and volume. Past trading activity and price changes can be valuable indicators of the future price movements. The indicators can be referred to as technical indicators (Investopedia, 2018).

Alizadeh and Nomikos (2009) introduced various technical indicators that can be used in freight rate forecasting. Meanwhile, there have been efforts to apply machine-learning models to the prediction of cargo volumes or freights, as well as to freight trading strategies. The results confirmed that the machine-learning models outperform the existing econometric models (Shin et al., 2008, Shin and Jeong, 2011, Yun et al., 2016).

This paper is significant in that it dealt with the rarely-analyzed Supramax freight market and overcame the limitations of classical time-series models by applying the non-linear neural networks model. The notable results obtained from this paper can be used to enhance the decision-making process of chartering desks by providing a scientific foundation to traders.

## 2. Data and Modelling

### 2.1 Data

The data series used for the analysis was Supramax 6-TC average rates for 13 years, from August 26, 2005 to August 24, 2018. The number of observations was 671 and the data frequency was weekly.

The technical indicators used in this research were the following 8 indicators derived from freight and vessel price series for the Supramax and Capesize bulk carriers:

### 2.2 Penalized Logistic Regression

When the dependent variables are categorical, generalized linear regression models cannot be applied. In this research, the dependent variable was categorical, i.e. ‘up’ when the next week’s market movement is positive or ‘down’ when negative. Hence, binomial logistic regression (LR) was used as a benchmark model to compare the performances of the neural networks model. Fig. 1

In the LR, the dependent variable is replaced by the ratio between the probability of having a specific value and that of not having a specific value. This is referred to as ‘odds’.

The odds have a range of positive-only values and are subject to exponential variation. The natural log is applied to the odds to eliminate the above limitations. Eq.(1) is the mathematic expression of the logistic regression.

$ln ( p i ( y i = 1 ) 1 − p i ( y i = 1 ) ) = β 0 + β 1 x i 1 + β 2 x i 2 + ⋯ + β m x i m$
(1)

where pi(yi = 1) in Eq. (1) is defined as eq.(2).

$p i ( y i = 1 ) = 1 1 + e − Z i$
(2)

The parameter estimation is done by applying the Maximum Likelihood Estimation (MLE).

$L ( β | x i , y i ) = ∏ i = 1 n p i y i ( 1 − p i ) ( 1 − y i )$
(3)

Eq.(3) is the regression parameter that maximizes the likelihood function. The natural log is taken on both sides and the partial derivatives are taken for β to estimate the parameter. Another problem to be addressed regarding regression is overfitting. Regularization is applied to avoid overfitting. The regularization parameter λ is applied as a penalty in the learning process. In eq.(4), (β) is the unrestricted log-MLE and F (β) is the penalty function.

$ℓ p ( β | λ ) = − ℓ ( β ) + λ F ( β )$
(4)

λ was estimated using a 10-fold cross validation, and the estimated λ is 3.26 as displayed in Fig. 2.

### 2.3 Artificial Neural Networks

One of the most popular models in both academia and in practice is artificial neural networks. The model was inspired by the study of human biological neural networks and has a long history of development. Its popularity is quite recent, rising along with the progress made in the explosion of computing power. The model is used in a wide range of research domains and has successfully overcome the limitations of classical linear models while providing a more straightforward interpretation of results.

$y t = w 0 + ∑ j = 1 q w j g ( w o j + ∑ i = 1 p w i j y t − i ) + ε t$
(5)

In eq.(5), w is the weights between nodes, and p and q are the numbers of input-layer nodes and hidden-layer nodes, respectively. The following Fig.3 represents the structure of artificial neural networks.

The design of neural network models – i.e. the selection of input variables, the number of hidden layers and nodes, activation functions, and the ratio between training and test samples – affects the performance of the model.

A consensus on the selection criteria, however, has not been reached. Therefore, the performance of the model relies on the availability of the data and the ability of the model designers (Li and Parsons, 1997;Fan et al., 2013). In the case of hidden layers, the literature review by Cybenko (1989) and Zhang et al. (1998) shows that in most cases, one hidden layer is enough to produce satisfactory results.

Referring to their review, this research was performed with a model with one hidden layer. One of the most widely used activation functions, i.e. the logistic function, $g ( x ) = 1 1 + exp ( − x )$ was applied and the split ratio between the training and test data sets was 8:2. A 10-fold cross validation produced the number of hidden layer nodes of 13 and the learning rate of 0.011 as shown in Fig.4.

A confusion matrix was formed to compare the performance of the models. The evaluation criteria chosen for the binary classification problems were in Table 3.

## 3. Empirical Results

### 3.1 Artificial Neural Networks

The actual performance measures on the test data are summarized in Table 4.

The accuracy rate was 73.1% and the error rate was 26.9%. The truly classified positive weeks of 48 against the actual positive weeks of 64 produced a sensitivity of 75%. The truly-classified negative weeks of 50 against the total negatively-classified weeks of 70 produced a specificity of 71.4%. The precision was 70.5% as the number of truly-classified weeks was 68 while that of the total positively-classified weeks was 48.

### 3.2 Penalized Logistic Regression

Table 5 shows a confusion matrix of the result of the logistic regression model:

It appears that there are serious limitations to making decisions based on the results of the logistic regression model because the accuracy is just 58.2% and the error rate was 41.8%. The sensitivity, i.e. true positive over actual positive, of 78.1% looks encouraging but attention must be paid to the specificity, i.e. true negative over total negatively-classified, of 40%.

## 4. Conclusion

The construction of the Supramax market forecasting model is challenging because the segment is related to a wide range of minor bulk trades. This meant that in the past, the segment was disregarded when it came to research.

This research utilized technical indicators, which have been actively used in the field of finance, for the projection of freight in the long-neglected Supramax market. The extraction of information from the freight series was successfully performed with the popular artificial neural networks model. The fact that ANN used indicators generated by the technical analysis as input variables differentiates this paper from previous ones.

While the neural networks model showed a notable performance of 73.1%, the benchmarking logistic regression model demonstrated a doubtful 58.2%. In the case of the artificial neural networks, it is possible to reject the weak-form EMH because the information extracted from the past freight series can be used to make a successful short-term market forecast. The results of the logistic regression model can hardly be used as a basis to reject the hypothesis.

The findings of this research are expected to make a meaningful contribution to the chartering practice by providing a reliable guideline to short-term trading decisions.

## Figure

Supramax 6-TC rates

Estimate of λ shrinkage parameter

Framework of artificial neural networks( Zhang et al., 1998)

Estimated parameters of ANN

## Table

Technical indicators

Confusion matrix for binary classification

Performance criteria from confusion matrix

Confusion matrix for ANN

Confusion matrix for PLR

## Reference

1. Alizadeh, A. H. and Nomikos, N. K. (2006), Trading strategies in the market for tankers , Maritime Policy & Management, Vol. 33, No. 2, pp. 119-140.
2. Alizadeh, A. H. and Nomikos, N. K. (2009), Shipping Derivatives and Risk Management . London: Palgrave Macmillan UK.
3. Batchelor, R. , Alizadeh, A. and Visvikis, I. (2007), Forecasting spot and forward prices in the international freight market , International Journal of Forecasting, Vol. 23, No. 1, pp. 101-114.
4. Celik, M. et al.(2009), An integrated fuzzy QFD model proposal on routing of shipping investment decisions in crude oil tanker market , Expert Systems with Applications, Vol. 36, No. 2, pp. 6227-6235.
5. Cybenko, G. (1989), Approximation by superpositions of a sigmoidal function , Mathematics of Control, Signals, and Systems, Vol. 2, No. 4, pp. 303-314.
6. Fan, S. et al.(2013), Forecasting Baltic Dirty Tanker Index by Applying Wavelet Neural Networks , Journal of Transportation Technologies, Vol. 3, January, pp. 68-87.
7. Forte, R. M. (2015), Matering Predictive Analytics with R, Birmingham-Mumbai: Packt Publishing.
8. Investopedia(2018), Definition of Technical Analysis, https://www.investopedia.com/term/. [2018.10.08. Accessed]
9. Kara, Y. , Acar, B. M. and Baykan, O. K. (2011), Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange , Expert Systems with Applications, Vol. 38, No. 5, pp. 5311-5319.
10. Kavussanos, M. G. and Alizadeh, A. H. (2002), The Expectations Hypothesis of the Term Structure and Risk Premia in Dry Bulk Shipping Freight Markets , Journal of Transport Economics and Policy, Vol. 36, No. 2, pp. 267-304.
11. Li, J. and Parsons, M. G. (1997), Forecasting tanker freight rate using neural networks , Maritime Policy and Management, Vol. 24, No. 1, pp. 9-30.
12. Patel, J. et al.(2015), Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniques , Expert Systems with Applications. Vol. 42, No. 1, pp. 259-268.
13. Shin, C. H. and Jeong, S. H ,(2011), A Study on Application of ARIMA and Neural Networks for Time Series Forecasting of Port Traffic , Journal of Korean Navigation and Port Research, Vol. 35, No. 1, pp. 83-91.
14. Shin, C. H. , Kang, J. S. , Park, S. N. , and Lee, J. H. (2008), A Study on the Forecast of Port Traffic using Hybrid ARIMA-Neural Network Model , Journal of Korean Navigation and Port Research, Vol. 32, No. 1, pp. 81-88.
15. Shinde, A. S. and Takale, K. C. (2012), Study of Black-Scholes model and its applications , in International Conference on Modelling, Optimisation and Computing, pp. 270-279.
16. Shynkevich, Y. et al.(2017), Forecasting price movements using technical indicators: Investigating the impact of varying input window length , Neurocomputing. Vol. 264, pp. 71-88.
17. Veenstra, A. W. and Franses, P. H. (1997), A co-integration approach to forecasting freight rates in the dry bulk shipping sector , Transportation Research Part A: Policy and Practice, Vol. 31, No. 6, pp. 447-458.
18. Yun, H. , Lim, S. and Lee, K. (2016), Trading Strategies in Bulk Shipping: the Application of Artificial Neural Networks , Journal of Korean Navigation and Port Research, Vol. 40, No. 5, pp. 337-343.
19. Zhang, G. , Patuwo, B. E. and Hu, M. Y. (1998), Forecasting with artificial neural networks:: The state of the art , International Journal of Forecasting, Vol. 14, No. 1, pp. 35-62.