top of page
Yazarın fotoğrafıAlejandro Romero

ML Perspective Predicts with Over 80%¹ Accuracy 1.800 Weekly Quotes between 21/12/2021-25/04/2022

*Remember that when an interactice chart is cited on the post, by clicking on it the source code will be shown, In order to visualize it on the right way, download the file as html and open it with your browser.*

Sample: 100 most traded ETF in USA.

Data: Weekly quotes.

Dates: 21/10/2021 - 25/04/2022.

Quantity: 19 weekly quotes per security (1.800 andlesticks in total).

Method: Markov General Model + Pattern Search to Decimals


Breakthroughs:

  1. Not a regression problem anymore but categorical.

  2. Not focus on quotes but on quote changes (delta price).

  3. Approach changed, instead of identifying patterns through time-series' surveilance (technical analysis) time-series freely oscilate over price change patterns.

  4. No fundamental analysis (all information is reflected on the price change assumption).

  5. Not multiple variables (inflation, benchmarks, etc.) but one (delta price).


Outcomes:

  1. Accuracy at 80,30% while precision at 86,97%. Confusion matrix (values in %):

PN²

PP

AN

1,18

11,85

13,03

AP

7,85

79,12

86,97

9,03

90,97

2. Works over sectors and markets (14 examples out of 100):


iShares Global Clean Energy

stock quotes, icln, ishares clean energy etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

iShares 7-10 Years Treasury Bond

stock quotes, ief, ishares 7 years treasury bond etf, ishares 10 years treasury bond etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

VanEck Junior Gold Miners

stock quotes, gdxj, vaneck junior gold miners etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

iShares MSCI Brazil

stock quotes, ewz, ishares msci brazil etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

iShares Russell 2000

stock quotes, iwm, ishares russell 2000 etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

SPDR Bloomberg High Yield Bond

stock quotes, jnk, spdr bloomberg high yield bond, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

SPDR S&P Regional Banking

stock quotes, kre, spdr s&p regional banking, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

KraneShares CSI China Internet

stock quotes, kweb, kraneshares csi china internet, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

SPDR S&P 500

stock quotes, spy, spdr s&p 500 etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

United States Oil Fund

stock quotes, uso, united states oil fund etf, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

Vanguard Emerging Markets Stock Index Fund

stock quotes, vwo, vanguard emerging markets stock fund, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

Consumer Staples Select Sector SPDR Fund

stock quotes, xlp, consumer staples select sector spdr fund, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

Health Care Select Sector SPDR Fund

stock quotes, xlv, health care select sector spdr fund, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks

Financial Select Sector SPDR Fund

stock quotes, xlf, financial select sector spdr fund, most traded etfs, etf usa, nyse, nasdaq, stock market, machine learning, python, plotly, candlesticks


¹Average of the sample yields to this valıue, individual values oscilate between 71% and 97%.

²PN: Predicted negative means the probability, the model estimated, of the actual price not ending up within the predicted range.


All these calculations are based on probabilities, which can fail sometimes; however, the developed algorithm to reach those numbers has been thought to reduce such failures to their lowest level.

Comments


bottom of page