IDEAS home Printed from https://ideas.repec.org/a/taf/quantf/v16y2016i12p1875-1886.html
   My bibliography  Save this article

Modelling, forecasting and trading with a new sliding window approach: the crack spread example

Author

Listed:
  • Andreas Karathanasopoulos
  • Christian Dunis
  • Samer Khalil

Abstract

The scope of this analysis is the modeling and the tracking of the crack spread with a sophisticated new non-linear approach. The selected trading period covers 2087 trading days starting on 09/05/2005 and ending on 21/12/2015. The proposed model is a combined particle swarm optimiser (PSO) and a radial basis function (RBF) neural network which is trained using sliding windows of 300 and 400 days. This is benchmarked against a multilayer perceptron (MLP) neural network and higher order neural network using the same data-set. Outputs from the neural networks provide forecasts for 5 days ahead trading simulations. To model the spread an expansive universe of 250 inputs across different asset classes is also used. Included in the input data-set are 20 Autoregressive Moving Average models and 10 Generalized Autoregressive Conditional Heteroscedasticity volatility models. Results reveal that the sliding window approach to modelling the crack spread is effective when using 300 and 400 days training periods. Sliding windows of less than 300 days were found to produce unsatisfactory trading performance and reduced statistical accuracy. The PSO RBF model which was trained over 300 is superior in both trading performance and statistical accuracy when compared to its peers. As each of the unfiltered models’ volatility and maximum drawdown were unattractive, a threshold confirmation filter is employed. The threshold confirmation filter only trades when the forecasted returns are greater than an optimized threshold of forecasted returns. As a consequence, only forecasted returns of stronger conviction produce trading signals. This filter attempts to reduce maximum drawdowns and volatility by trading less frequently and only during times of greater predicted change. Ultimately, the confirmation filter improves risk return profiles for each model and transaction costs were also significantly reduced.

Suggested Citation

  • Andreas Karathanasopoulos & Christian Dunis & Samer Khalil, 2016. "Modelling, forecasting and trading with a new sliding window approach: the crack spread example," Quantitative Finance, Taylor & Francis Journals, vol. 16(12), pages 1875-1886, December.
  • Handle: RePEc:taf:quantf:v:16:y:2016:i:12:p:1875-1886
    DOI: 10.1080/14697688.2016.1211796
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1080/14697688.2016.1211796
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1080/14697688.2016.1211796?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Murat, Atilim & Tokat, Ekin, 2009. "Forecasting oil price movements with crack spread futures," Energy Economics, Elsevier, vol. 31(1), pages 85-90, January.
    2. Darren Butterworth & Phil Holmes, 2002. "Inter-market spread trading: evidence from UK index futures markets," Applied Financial Economics, Taylor & Francis Journals, vol. 12(11), pages 783-790.
    3. Christian L. Dunis & Jason Laws & Andreas Karathanassopoulos, 2011. "Modelling and trading the Greek stock market with mixed neural network models," Applied Financial Economics, Taylor & Francis Journals, vol. 21(23), pages 1793-1808, December.
    4. Al-Gudhea, Salim & Kenc, Turalay & Dibooglu, Sel, 2007. "Do retail gasoline prices rise more readily than they fall?: A threshold cointegration approach," Journal of Economics and Business, Elsevier, vol. 59(6), pages 560-574.
    5. Enders, Walter & Granger, Clive W J, 1998. "Unit-Root Tests and Asymmetric Adjustment with an Example Using the Term Structure of Interest Rates," Journal of Business & Economic Statistics, American Statistical Association, vol. 16(3), pages 304-311, July.
    6. Wang, Yudong & Wu, Chongfeng, 2012. "What can we learn from the history of gasoline crack spreads?: Long memory, structural breaks and modeling implications," Economic Modelling, Elsevier, vol. 29(2), pages 349-360.
    7. Sermpinis, Georgios & Theofilatos, Konstantinos & Karathanasopoulos, Andreas & Georgopoulos, Efstratios F. & Dunis, Christian, 2013. "Forecasting foreign exchange rates with adaptive neural networks using radial-basis functions and Particle Swarm Optimization," European Journal of Operational Research, Elsevier, vol. 225(3), pages 528-540.
    8. Makridakis, Spyros, 1989. "Why combining works?," International Journal of Forecasting, Elsevier, vol. 5(4), pages 601-603.
    9. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    10. Sermpinis, Georgios & Stasinakis, Charalampos & Theofilatos, Konstantinos & Karathanasopoulos, Andreas, 2015. "Modeling, forecasting and trading the EUR exchange rates with hybrid rolling genetic algorithms—Support vector regression forecast combinations," European Journal of Operational Research, Elsevier, vol. 247(3), pages 831-846.
    11. Zhang, Jin-Liang & Zhang, Yue-Jun & Zhang, Lu, 2015. "A novel hybrid method for crude oil price forecasting," Energy Economics, Elsevier, vol. 49(C), pages 649-659.
    12. Chen, Li-Hsueh & Finney, Miles & Lai, Kon S., 2005. "A threshold cointegration analysis of asymmetric price transmission from crude oil to gasoline prices," Economics Letters, Elsevier, vol. 89(2), pages 233-239, November.
    13. Clemen, Robert T., 1989. "Combining forecasts: A review and annotated bibliography," International Journal of Forecasting, Elsevier, vol. 5(4), pages 559-583.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Gil Cohen & Mahmoud Qadan, 2022. "The Complexity of Cryptocurrencies Algorithmic Trading," Mathematics, MDPI, vol. 10(12), pages 1-11, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Abbas Valadkhani & Martin O'Brien & Amir Arjomandi, 2013. "Examining the nature of the relationship between Tapis crude oil and Singapore petrol prices," International Journal of Global Energy Issues, Inderscience Enterprises Ltd, vol. 36(1), pages 27-41.
    2. Wang, Minggang & Zhao, Longfeng & Du, Ruijin & Wang, Chao & Chen, Lin & Tian, Lixin & Eugene Stanley, H., 2018. "A novel hybrid method of forecasting crude oil prices using complex network science and artificial intelligence algorithms," Applied Energy, Elsevier, vol. 220(C), pages 480-495.
    3. Fu, Sibao & Li, Yongwu & Sun, Shaolong & Li, Hongtao, 2019. "Evolutionary support vector machine for RMB exchange rate forecasting," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 521(C), pages 692-704.
    4. Meyler, Aidan, 2009. "The pass through of oil prices into euro area consumer liquid fuel prices in an environment of high and volatile oil prices," Energy Economics, Elsevier, vol. 31(6), pages 867-881, November.
    5. Robert Socha, 2014. "Asymetria relacji cen paliw płynnych w Polsce i cen ropy naftowej," Gospodarka Narodowa. The Polish Journal of Economics, Warsaw School of Economics, issue 5, pages 133-160.
    6. Ding, Yishan, 2018. "A novel decompose-ensemble methodology with AIC-ANN approach for crude oil forecasting," Energy, Elsevier, vol. 154(C), pages 328-336.
    7. Cheng, Fangzheng & Li, Tian & Wei, Yi-ming & Fan, Tijun, 2019. "The VEC-NAR model for short-term forecasting of oil prices," Energy Economics, Elsevier, vol. 78(C), pages 656-667.
    8. Valadkhani, Abbas, 2009. "Do Retail Petrol Prices Rise More Rapidly Than They Fall in Australia’s Capital Cities?," Economics Working Papers wp09-08, School of Economics, University of Wollongong, NSW, Australia.
    9. Katarzyna Leszkiewicz-Kędzior & Aleksander Welfe, 2014. "Asymmetric Price Adjustments in the Fuel Market," Central European Journal of Economic Modelling and Econometrics, Central European Journal of Economic Modelling and Econometrics, vol. 6(2), pages 105-127, June.
    10. Xu, Kunliang & Niu, Hongli, 2022. "Do EEMD based decomposition-ensemble models indeed improve prediction for crude oil futures prices?," Technological Forecasting and Social Change, Elsevier, vol. 184(C).
    11. Kourtzidis, Stavros A. & Tzeremes, Panayiotis & Tzeremes, Nickolaos G., 2018. "Re-evaluating the energy consumption-economic growth nexus for the United States: An asymmetric threshold cointegration analysis," Energy, Elsevier, vol. 148(C), pages 537-545.
    12. Sun, Shaolong & Wang, Shouyang & Wei, Yunjie, 2019. "A new multiscale decomposition ensemble approach for forecasting exchange rates," Economic Modelling, Elsevier, vol. 81(C), pages 49-58.
    13. Aye, Goodness C. & Balcilar, Mehmet & Gupta, Rangan & Majumdar, Anandamayee, 2015. "Forecasting aggregate retail sales: The case of South Africa," International Journal of Production Economics, Elsevier, vol. 160(C), pages 66-79.
    14. Andreas Karathanasopoulos, 2016. "Modelling and trading the English stock market with novelty optimization techniques," Economics and Business Letters, Oviedo University Press, vol. 5(2), pages 50-57.
    15. Jiang Wu & Yu Chen & Tengfei Zhou & Taiyong Li, 2019. "An Adaptive Hybrid Learning Paradigm Integrating CEEMD, ARIMA and SBL for Crude Oil Price Forecasting," Energies, MDPI, vol. 12(7), pages 1-23, April.
    16. Leandro Maciel & Rosangela Ballini, 2021. "Functional Fuzzy Rule-Based Modeling for Interval-Valued Data: An Empirical Application for Exchange Rates Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 57(2), pages 743-771, February.
    17. Valadkhani, Abbas, 2010. "Modelling the Price of Unleaded Petrol in Australia’s Capital Cities," MPRA Paper 50396, University Library of Munich, Germany.
    18. Jahangoshai Rezaee, Mustafa & Jozmaleki, Mehrdad & Valipour, Mahsa, 2018. "Integrating dynamic fuzzy C-means, data envelopment analysis and artificial neural network to online prediction performance of companies in stock exchange," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 489(C), pages 78-93.
    19. Kim, Hyun Hak & Swanson, Norman R., 2018. "Mining big data using parsimonious factor, machine learning, variable selection and shrinkage methods," International Journal of Forecasting, Elsevier, vol. 34(2), pages 339-354.
    20. Lahiri, Kajal & Yang, Liu, 2013. "Forecasting Binary Outcomes," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 1025-1106, Elsevier.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:taf:quantf:v:16:y:2016:i:12:p:1875-1886. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/RQUF20 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.