Git Product home page Git Product logo

sparkmlpdow30's Introduction

SparkMlpDow30

An Artificial Neural Network Based Stock Trading System Using Technical Analysis and Big Data Framework

The model developed first converts the financial time series data into a series of buy-sell-hold trigger signals using the most commonly preferred technical analysis indicators (TA4J is used to calculate technical analysis indicators' values). Then, a multilayer perceptron (MLP) is trained in the learning stage on the daily stock prices between 1997 and 2007 for all of the Dow 30 stocks. Apache Spark big data framework is used in the training stage. The trained model is then tested with data from 2007 to 2017. The results indicate that by choosing the most appropriate technical indicators, the NN model can achieve comparable results against the buy and hold strategy in most of the cases. Furthermore, fine tuning the technical indicators and/or optimization strategy can enhance the overall trading performance.

We presented a new stock trading and prediction model based on an MLP model, utilizing technical analysis indicator values as features. Big data framework Apache Spark is used in implementation. The model is trained and tested on Dow 30 stocks in order to see the evaluate the model. The results indicate that comparable outcomes are obtained against the baseline buy and hold strategy even without fine tuning and/or optimizing the model parameters. Phases of proposed method is illustrated in below.

sparkmlpphase

ResearchGate Link: https://www.researchgate.net/publication/316848946_An_Artificial_Neural_Network-based_Stock_Trading_System_Using_Technical_Analysis_and_Big_Data_Framework

ACM Link: http://dl.acm.org/citation.cfm?id=3077294

TA4J: https://github.com/mdeverdelhan/ta4j

Cite as:

Bibtex:

@inproceedings{sezer2017artificial,
  title={An Artificial Neural Network-based Stock Trading System Using Technical Analysis and Big Data Framework},
  author={Sezer, Omer Berat and Ozbayoglu, A Murat and Dogdu, Erdogan},
  booktitle={Proceedings of the SouthEast Conference},
  pages={223--226},
  year={2017},
  organization={ACM}
}

MLA:

Sezer, Omer Berat, A. Murat Ozbayoglu, and Erdogan Dogdu. "An Artificial Neural Network-based Stock Trading System Using Technical Analysis and Big Data Framework." Proceedings of the SouthEast Conference. ACM, 2017.

What is Multi Layer Perceptron (MLP)? (General Information): https://en.wikipedia.org/wiki/Multilayer_perceptron

What is Relative Strength Index?: https://en.wikipedia.org/wiki/Relative_strength_index

What is MACD?: https://en.wikipedia.org/wiki/MACD

What is William%R?: https://www.investopedia.com/terms/w/williamsr.asp

Apache Spark MLlib: https://spark.apache.org/mllib/

sparkmlpdow30's People

Contributors

omerbsezer avatar utkuufuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.