Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1902.08684

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computational Engineering, Finance, and Science

arXiv:1902.08684 (cs)
[Submitted on 13 Feb 2019]

Title:Discovering Language of the Stocks

Authors:Marko Poženel, Dejan Lavbič
View a PDF of the paper titled Discovering Language of the Stocks, by Marko Po\v{z}enel and Dejan Lavbi\v{c}
View PDF
Abstract:Stock prediction has always been attractive area for researchers and investors since the financial gains can be substantial. However, stock prediction can be a challenging task since stocks are influenced by a multitude of factors whose influence vary rapidly through time. This paper proposes a novel approach (Word2Vec) for stock trend prediction combining NLP and Japanese candlesticks. First, we create a simple language of Japanese candlesticks from the source OHLC data. Then, sentences of words are used to train the NLP Word2Vec model where training data classification also takes into account trading commissions. Finally, the model is used to predict trading actions. The proposed approach was compared to three trading models Buy & Hold, MA and MACD according to the yield achieved. We first evaluated Word2Vec on three shares of Apple, Microsoft and Coca-Cola where it outperformed the comparative models. Next we evaluated Word2Vec on stocks from Russell Top 50 Index where our Word2Vec method was also very successful in test phase and only fall behind the Buy & Hold method in validation phase. Word2Vec achieved positive results in all scenarios while the average yields of MA and MACD were still lower compared to Word2Vec.
Comments: 15 pages, 2 figures, 5 tables
Subjects: Computational Engineering, Finance, and Science (cs.CE); Statistical Finance (q-fin.ST)
Cite as: arXiv:1902.08684 [cs.CE]
  (or arXiv:1902.08684v1 [cs.CE] for this version)
  https://doi.org/10.48550/arXiv.1902.08684
arXiv-issued DOI via DataCite
Journal reference: Frontiers in Artificial Intelligence and Applications - Databases and Information Systems X 315 2019
Related DOI: https://doi.org/10.3233/978-1-61499-941-6-243
DOI(s) linking to related resources

Submission history

From: Dejan Lavbič [view email]
[v1] Wed, 13 Feb 2019 15:56:51 UTC (299 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Discovering Language of the Stocks, by Marko Po\v{z}enel and Dejan Lavbi\v{c}
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.CE
< prev   |   next >
new | recent | 2019-02
Change to browse by:
cs
q-fin
q-fin.ST

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Marko Pozenel
Dejan Lavbic
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack