candlesticks_study
所属分类:金融证券系统
开发工具:Jupyter Notebook
文件大小:768KB
下载次数:0
上传日期:2019-05-16 21:27:56
上 传 者:
sh-1993
说明: candlesticksstudy,对预测股市及其发生的烛光模式准确性的统计研究
(candlesticks_study,Statistical study of accuracy of candlestick patterns in predicting the stock market and their occurrence)
文件列表:
AAPL.csv (1072232, 2019-05-12)
AMZN.csv (548737, 2019-05-12)
Candlesticks_Historical_Analysis.ipynb (261330, 2019-05-12)
FB.csv (189839, 2019-05-12)
GOOG.csv (401582, 2019-05-12)
NFLX.csv (469755, 2019-05-12)
# Candlesticks_Study
Statistical study of accuracy of candlestick patterns in predicting the stock market and their occurrence
In technical analysis, a candlestick pattern is a movement in prices shown graphically on a candlestick chart that some believe can predict a particular market movement. The recognition of the pattern is subjective and programs that are used for charting have to rely on predefined rules to match the pattern. There are 42 recognised patterns that can be split into simple and complex patterns.
In this study, we analyze the most commonly used candlestick patterns by traders to choose a position on a stock.
To do this, we look at the historical trading information of popular FAANG stocks (Facebook, Amazon, Apple, Netflix, Google)
The patterns are first identified in the historical data, and the following trend is compared against the prediction of the pattern.
A criteria for scoring the prediciton accuracy of candlesticks is defined and applied.
The bias in the data is discussed and mitigated, and a correction is implemented in the scoring system to account for the bias.
At the end, the occurence of each candlestick pattern is plotted, as well as their accuracy score.
The whole process is then implemented in a single function to simplify analyzing other stocks.
This function was used to repeat the process on other stocks and the results were plotted.
Interesting conclusions were drawn at the end.
There is a less technical version of this study available on:
https://medium.com/@ali.soleymani.co/should-i-use-candlestick-patterns-to-trade-2c703f1b3fad
Would love to hear your thoughts and comments
# Installation:
clone this repo:
https://github.com/aliisoli/Candlesticks_Study.git
# Requirements
Python 3.6 was used with the following libraries:
- Pandas
- Numpy
- Matplotlib
# File Descriptions:
**Candlesticks_Historical_Analysis.ipynb**
Jupyter Notebook containing the detailed steps of the analysis
**AAPL.csv**
Historical daily trading information of Apple stock
**AMZN.csv**
Historical daily trading information of Amazon stock
**NFLX.csv**
Historical daily trading information of Netflix stock
**GOOG.csv**
Historical daily trading information of Google stock, for further investigations by interested the reader
**FB.csv**
Historical daily trading information of Facebook stock, for further investigations by the interested reader
# License
Feel free to download and use the code
# Disclaimer
This post is by no means providing financial advice and anyone who wishes to trade any commodities or securities should do so at their own rist
近期下载者:
相关文件:
收藏者: