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. 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.
    2. Makridakis, Spyros, 1989. "Why combining works?," International Journal of Forecasting, Elsevier, vol. 5(4), pages 601-603.
    3. 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.
    4. Murat, Atilim & Tokat, Ekin, 2009. "Forecasting oil price movements with crack spread futures," Energy Economics, Elsevier, vol. 31(1), pages 85-90, January.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. Clemen, Robert T., 1989. "Combining forecasts: A review and annotated bibliography," International Journal of Forecasting, Elsevier, vol. 5(4), pages 559-583.
    12. 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.
    13. 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.
    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. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. Valadkhani, Abbas, 2010. "Modelling the Price of Unleaded Petrol in Australia’s Capital Cities," MPRA Paper 50396, University Library of Munich, Germany.
    11. 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.
    12. Ding, Yishan, 2018. "A novel decompose-ensemble methodology with AIC-ANN approach for crude oil forecasting," Energy, Elsevier, vol. 154(C), pages 328-336.
    13. 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.
    14. 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.
    15. 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.
    16. 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).
    17. 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.
    18. Carlo Altavilla & Paul De Grauwe, 2010. "Forecasting and combining competing models of exchange rate determination," Applied Economics, Taylor & Francis Journals, vol. 42(27), pages 3455-3480.
    19. 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.
    20. 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.

    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.