Showing posts sorted by relevance for query the-psychology-of-quantitative-analysis. Sort by date Show all posts
Showing posts sorted by relevance for query the-psychology-of-quantitative-analysis. Sort by date Show all posts

Saturday, August 10, 2019

Info!! The Psychology Of Quantitative Analysis

Early this forenoon I began my weekly routine of model building.

As a idea experiment, imagine taking every technical indicator out in that location too conducting a large factor analysis.  The element analysis would bring down the release of indicators to a smaller cluster of factors that are relatively uncorrelated.  

This is of import because it turns out that many indicators, from a purely mathematical advantage point, are criterion the same thing.  Influenza A virus subtype H5N1 14-day RSI, for instance, may correlate real highly with a 14-day charge per unit of measurement of alter too a 14-day stochastics.  If you lot hold off at all 3 indicators, you're actually looking at 1 variable measured 3 ways, non 3 unique variables.

What you lot actually wishing are unique variables that are significantly correlated with forrad cost movement.

The bad tidings is that the many technical indicators out in that location actually merely boil downwards to a handful of unique variables.  The expert tidings is that, overall, these unique variables create possess statistically meaning predictive validity with honour to the prospective motion of stock index prices.  The challenging tidings is that fifty-fifty this meaning predictive value leaves the lion's part of the hereafter motion of stock index prices unexplained.

So imagine I position a handful of unique predictive variables from with the large array of technical indicators too I position the expressions of those variables that minimize their overlap.  From these few variables--it's of import to bring down the likelihood of overfitting the data--I comport a regression analysis too become far at a statistically predictive model over an identified marketplace position regime.

Over the regime, let's tell the model has been 65% accurate inwards forecasting the management of S&P 500 Index prices over the adjacent 3 trading sessions.  When the model has given its strongest signals (top quartile of forecasts), the average three-day make inwards SPY has been .64%.  When the model has given its weakest signals (bottom quartile of forecasts), the average three-day loss inwards SPY has been -.28%.  This surgical operation has held upwards good inwards out-of-sample testing.

Is this a expert model?  It possesses a statistically meaning "edge" too silent its R-squared, the amount of variance accounted for inwards hereafter index prices, leaves most 90% of hereafter activeness unpredicted.  Influenza A virus subtype H5N1 total 35% of the time, the model has been incorrect inwards identifying hereafter cost direction.  And yet, a model that gets marketplace position management correct two-thirds of the fourth dimension is meliorate than throwing darts, assuming that nosotros stay inwards the stationary regime that nosotros backtested (an of import assumption).

What quantitative function accomplishes for me psychologically is that it clearly identifies what is known too what is unknown.  It gives me a feel for when in that location is an objective border too it provides a feel for the fragility of that edge.

Does quant modeling "take emotion out of trading"?  No, but it does something to a greater extent than important.  It replaces the emotions associated with overconfidence too confirmation biases with a dissimilar laid upwards of emotions: the humble honour for what is unknown, the wishing to expand the frontier of the known, too the felt imperative to rapidly adjust to what Victor Niederhoffer calls "ever-changing marketplace position cycles". 

Further Reading:   
Predictability every bit a Market Variable

Quant Reading:
See publications department of Marcos Lopez de Prado's site


Sunday, February 24, 2019

Info!! The Momentum Curve: Expanding The Search For Marketplace Set Profits

Let's country an explorer discovers golden inwards the mountains of Alaska.  The initial grouping of miners prospecting the territory has a pretty broad opened upwards plain of opportunity.  They don't demand sophisticated equipment to come across in addition to extract the golden from river beds.

As to a greater extent than prospectors displace in, the low-hanging fruit is gone.  Now golden must survive extracted from rocks in addition to from deeper inwards the ground.  This requires particular equipment.  The unmarried miner alongside his pan, combing through the river bed debris, no longer has an "edge" inwards discovering gold.

Still later, equally to a greater extent than of the territory is mined, extracting what remains becomes a to a greater extent than complex task.  Deep drilling into the soil in addition to exploration of to a greater extent than remote mount areas is required to brand the investment of fourth dimension in addition to endeavour worthwhile.  Individual miners, picking through areas that cause got already been explored, cause got most no wages inwards discovering gold--even though they yet recount the stories of big strikes only a few years prior.

A well-mined expanse agency that either you lot cause got to discovery novel areas to explore or you lot cause got to discovery novel agency of exploration.  In the illustration of natural gas in addition to oil, fracking has been a novel way of exploration.  Drilling inwards the Arctic would survive an illustration of finding novel areas to explore.  Either way, ingenuity is required to discovery value i time others cause got been searching for a while.

Financial markets cause got been well-mined for a while.  Excellent traders, portfolio managers, in addition to organization developers roughly the globe cause got been attracted to the golden rush of markets.  While looking for nuggets of profitability inwards novel ways in addition to inwards novel places does non guarantee success, looking for them where others cause got been searching for years alongside sophisticated tools inevitably invites failure.

I late cause got been posting on the topics of understanding vs. predicting markets; looking at markets inwards novel ways; in addition to using quant processes to aid discretionary expertise.  The mutual theme is becoming ameliorate at the exploration for profits past times looking at novel things in addition to looking at erstwhile things inwards novel ways.

Above is a nautical chart of what I telephone cry upwards the Momentum Curve.  It takes every stock inwards the SPX in addition to gauges whether it is trading higher upwards its 3, 5, 10, 20, 50, 100, in addition to 200-day moving averages.  The aggregated information are charted (available through the first-class Index Indicators site), in addition to then that you lot tin hand the sack come across how the percentages of stocks shift over time.  Observe from the graphic that--going into Friday's session--we had been undergoing a meaningful short-term correction (most stocks moving below their 3, 5, in addition to 10-day averages) inwards a potent uptrend (most stocks higher upwards their 100 in addition to 200-day averages).  

It turns out that the shape of the Momentum Curve is of import inwards forecasting hereafter stock marketplace returns.  The render profile looks rattling dissimilar depending on where the kinks are inwards the curve, whether the fold is steep or flat, etc.  I discovery it useful equally a qualitative tool--it provides a quick visualization of where nosotros stand upwards across multiple fourth dimension frames--and also equally a beginning of quantitative hypotheses regarding fold shape in addition to forwards cost movement.  

Some of the best marketplace tools don't generate conclusions.  Rather, they advise hypotheses worth testing.  The start stride inwards finding fresh answers is call for fresh questions.

Further Reading:  The Psychology of Quantitative Analysis
.

Saturday, January 12, 2019

Info!! Trading Psychology For The Experienced Trader

A work amongst much of the theory together with exercise of trading psychology is that it is grounded on the experience (and issues) of retail traders together with relative newcomers to markets.  I suppose that's inevitable, every bit a sizable proportion of writers together with practitioners accept non actively traded themselves together with many accept non routinely worked amongst trading together with investment professionals.  Influenza A virus subtype H5N1 final result of this limitation is that much of trading psychology focuses on such issues every bit controlling one's emotions together with next a defined process.  Those are of import issues to hold upwards sure.  But limiting trading psychology to those is similar limiting the coaching of baseball game to asset a bat properly together with getting inward front end of soil balls earlier fielding them.  Great materials for the noobs, simply non just what the experienced, successful folks are working on.

Here are a few areas of trading psychology that I honour to hold upwards of much to a greater extent than relevance to traders good along their developmental paths:

1)  The cognitive side of trading - How produce you lot procedure information well-nigh efficiently/effectively together with how tin give the axe you lot refine your marketplace grooming to improve leverage your information processing strengths?

2)  The epistemological side of trading - How tin give the axe you lot well-nigh effectively integrate quantitative information on markets (predictive models) amongst an experienced experience for markets?  How tin give the axe you lot best blend analysis together with intuition?

3)  The tactical together with strategic sides of trading - How tin give the axe you lot apace position when markets are changing together with conform to those changes?  How tin give the axe you lot remain truthful to how you lot merchandise without becoming together with thus inflexible that you lot boot the bucket a dinosaur when markets evolve?

4)  The personal side of trading - How tin give the axe you lot best acquire by your personal life together with maximize your experience exterior of trading together with thus that you lot are best able to maximize your focus together with loose energy patch you lot are trading?

In my book, I cite to an ABCD focus:

*  Adapt to changing markets
*  Build on cognitive together with personality strengths
*  Cultivate creativity
*  Develop best practices together with processes from your successful experience

I honour that hard periods of trading offering the greatest opportunities to laissez passer on these areas.  Most of the time, trading is hard because nosotros accept non sustained that ABCD focus.  Somewhere inward the cognitive, epistemological, tactical/strategic, together with personal sides of trading, we're non making the well-nigh of our strengths.  That becomes our path for development.  The proficient crewman has learned from stormy seas:  science evolution is i of the well-nigh powerful paths to psychological development.

Further Reading:  The Single Most Important Trait of Successful Traders
.

Sunday, December 9, 2018

Info!! The Importance Of Consider Velocity Inward Trading

One's science equally a trader is exclusively equally practiced equally one's might to generate ideas worth trading.  This is an underappreciated appear of trading performance.

Specifically, nosotros tin sack hold off at the see velocity of a trader--the lay out of independent ideas generated per unit of measurement of time--as an of import portion of trading success.

Why is this?

Imagine a trader who generated 1 practiced trading see per year.  That 1 merchandise would convey to locomote sized quite meaningfully as well as held for quite a spell to generate a year's worth of income.  Indeed, it actually wouldn't locomote a trade; it would locomote an investment.  But amongst exclusively 1 see per year, it would locomote an undiversified investment.  If the see didn't run out, losses could locomote significant, but to a greater extent than importantly in that location would locomote no other source of returns.  Over time, such a depression velocity trader/investor would convey a really lumpy develop of returns, unless they exactly happened to hitting 1 large see afterwards around other infallibly.

At the other destination of the spectrum, imagine the skilled daytrader who notices many dissimilar trades setting upward amid many dissimilar stocks or instruments.  That trader is highly diversified on a series basis, equally each day's returns reflects the probabilistic resultant of many bets.  That volition create a smoother equity curve.

The skilled hedge fund managing director generates many independent merchandise ideas at 1 fourth dimension as well as weights them properly inside a portfolio to arrive at diversification benefit.  The see velocity is achieved yesteryear researching across multiple markets as well as strategies as well as putting on many bets at once.

In my recent webinar (you tin sack heed to it here), I emphasized that in that location are ii wide sets of skills that define successful trading:  blueprint recognition as well as analysis.  I equally good pointed out that extraordinary returns inwards trading come upward from odd talents as well as skills inwards at to the lowest degree 1 of these areas.  An of import means that these skills are manifest is through see velocity.  When person is a non bad blueprint recognizer, they recognize many patterns.  When person has non bad analytical skill, they interrogation effectively as well as generate many ideas.  Profound talent as well as science manifest themselves inwards creativity.

A recognition of the importance of see velocity helps us appreciate why, increasingly, we're seeing superior returns amid discretionary portfolio managers who brand role of quantitative models as well as trading strategies.  Computers only convey to a greater extent than bandwidth than people, both inwards price of the lay out of patterns that tin sack locomote recognized as well as the lay out of markets as well as strategies that tin sack locomote researched.  Moreover, the role of automation enables the trader to non exclusively generate many ideas but merchandise them simultaneously--again vastly expanding the lay out of sound, independent bets placed per unit of measurement of time.

A recognition of the importance of see velocity equally good helps us appreciate why traders larn as well as perform ameliorate inwards squad settings.  Teams model to a greater extent than as well as dissimilar ideas as well as ways of generating ideas as well as teams percentage ideas they generate.  H5N1 squad of discretionary traders, each of who generates independent models as well as automates their trading strategies, is powerfully diversified, able to brand coin inwards dozens of ways.  

Idea velocity encourages us to expire broader, non exactly bigger.

Further Reading:


.

Tuesday, January 15, 2019

Info!! Momentum, Value, As Well As Short-Term Drive Inwards The Stock Market

Above is a plot of an interesting mensurate that tracks the deviation betwixt curt term as well as intermediate term novel highs minus novel lows for SPX stocks only.  (Raw information from Momentum Curve, which is the human relationship betwixt forcefulness as well as weakness across multiple fourth dimension frames.  

Since the commencement of 2014, when the high-low deviation has been inwards its virtually positive quartile, the side yesteryear side v days inwards SPX convey averaged a arrive at of +.33%.  When the high-low deviation has been inwards its virtually negative quartile, the side yesteryear side v days inwards SPX convey averaged a arrive at of +.47%.  Across the ii middle quartiles, when the momentum fold is neither positively or negatively skewed, the side yesteryear side five-day alter inwards SPX has been essentially flat.  

What the momentum fold captures are short-term momentum as well as value effects inwards the equity index.  These, inwards turn, reverberate the dynamics of intermediate-term cycles inwards markets as well as the interplay of volatility, correlation, as well as directional cost movement.  Knowing where you're at inwards a marketplace cycle is quite valuable inwards harvesting momentum (price continuation) as well as value (price reversal) effects inwards the market.  Essentially all of the marketplace gains over the yesteryear yr as well as a one-half tin dismiss survive attributed to momentum as well as value factors. 

Further Reading:  The Psychology of Quantitative Analysis
.

Saturday, December 8, 2018

Info!! The Dangers Of Faux Knowledge

In a remarkable interview, Professors Marcos Lopez de Prado in addition to David H. Bailey explicate that much of what nosotros holler upward nosotros know nearly fiscal markets is exactly patently false.  When nosotros expression for in addition to then many patterns inwards markets in addition to in conclusion hitting upon ane that "works", the odds are non bad that what we've discovered is a imitation positive:  the ane finding inwards 20 that happens to examination as "significant".  What many traders don't recognize is that traditional in-sample/out-of-sample procedures for determining whether a finding is "overfit" or legit are inadequate.  When computing mightiness allows us to examination thousands upon thousands of combinations of multiple variables, it is non hard to notice ane permutation that tests "significantly" out of sample as good as in-sample.

What many discretionary traders don't recognize is that they are as dependent to the biases of imitation knowledge.  Traders volition hunt for dozens in addition to dozens of "setups" at diverse fourth dimension frames in addition to across many dissimilar stocks in addition to trading instruments.  They in conclusion notice something that "works" in addition to produce upward one's hear that they lead maintain figured out their "edge".  When time to come results neglect to alive upward to expectations, these traders give-up the ghost frustrated in addition to hire trading coaches who say them to stick to their discipline.  

You exactly can't brand this sh*t up.

A daytrader who places many hundreds of trades inwards a yr will, yesteryear pure chance, lead maintain runs of 5 or to a greater extent than consecutive winning or losing trades.  Interpreting these runs as meaningful, the discretionary trader volition increment or decrease endangerment taking alone on the footing of randomness.  Imagine the trader who trades every twenty-four hr menses of the calendar week in addition to is ecstatic afterward achieving 5 consecutive days of profitability.  He increases his risk-taking based upon his trading "progress" in addition to rapidly loses everything he had made.  After 5 consecutive days of losses, he pulls dorsum his endangerment taking only to meet trades win alongside smaller size.  

All alongside no objective border whatsoever.  

What a waste materials of life.

So what is the respond to this employment of imitation noesis from large information samples?  I encourage yous to cheque out the interview alongside Professors Lopez de Prado in addition to Bailey.  Links to articles explaining how to compute the odds of backtest overfitting are included.  Also, Professor Lopez de Prado explains a much to a greater extent than basic flaw inwards what systematic in addition to discretionary traders are doing:  using the same tools to generate ideas as to examination them.  He emphasizes:

Backtesting should non lead maintain house earlier a theory has been formulated.

In other words, earlier nosotros tin mail away determine whether or non nosotros lead maintain an border (in systematic or discretionary trading), nosotros involve to found knowledge.  H5N1 theory explains how in addition to why something occurs.  Testing of historical information tin mail away help us bear limited, targeted tests to determine whether our theory holds upward inwards practice.  Before nosotros test, nosotros must formulate a plausible hypothesis.  There is no theoretical or practical rationale why many strategies inwards technical analysis, telephone substitution analysis, or random combinations of quantitative variables should hold upward valid.

This is a perspective yous won't notice inwards most writings inwards trading psychology.  It isn't skilful for describe concern to say people they probable lead maintain no border in addition to are non engaged inwards processes that tin mail away objectively capture edges inwards markets.  Now to a greater extent than than every, however, the tools are available to help us genuinely determine whether what we're seeing is random or meaningful.  For traders in addition to investors interested inwards agreement what they're doing--not exactly gambling on marketplace position moves--this is a most exciting in addition to promising development.

Further Reading:  

.

Sunday, February 24, 2019

Info!! Weekend Ideas

Here are a few interesting ideas gathered this weekend:

*  Here's a post that caught my eye on the Dunning-Kruger effect--a cognitive bias inward which people who don't know tend to also non know that they don't know.  This fantabulous article puts the DK lawsuit into context in addition to makes the observation that experts are to a greater extent than probable to accurately assess their degree of cognition in addition to success--and fifty-fifty modestly understate their gifts--relative to those who are misfortunate performers.  I cause got consistently institute that to last the illustration inward the trading world: less sophisticated participants attempt levels of per centum of furnish that are never consistently achieved past times the goodness performers, whereas elite coin managers tend to last humble almost their electrical flow in addition to hereafter performance.  

*  Thanks to a savvy trader at SMB for pointing out this fascinating post on rhythmanalysis, every bit good every bit this post on mapping in addition to tracking your happiness.  It's exclusively a affair of fourth dimension earlier such projects get together into big information efforts that tell us much to a greater extent than almost psychology than ordinary (biased, limited) self-report.

My concluding post has me thinking almost the information that should ideally look on a marketplace chart.  What I realized is that at that topographic point is almost no overlap betwixt whatsoever nautical chart review I perform in addition to whatsoever quantitative analysis I undertake.  That doesn't seem right.  What if a nautical chart visually captured backtested patterns from marketplace research?  I'm working on it...

*  Along that same line, I wonder if yous took 100 traders in addition to gave them access to marketplace charts in addition to X pieces of information that they institute most relevant to making trading decisions.  They would follow the same marketplace for the same fourth dimension period.  Would the pose out of trades taken last a mensurate of the Dunning-Kruger effect?  By the way, here's the master copy newspaper on the effect.  The abstract neatly states their thesis.

*  Thanks to this fascinating post on rhythmanalysis, every bit good every bit this post on mapping in addition to tracking your happiness.  It's exclusively a affair of fourth dimension earlier such projects get together into big information efforts that tell us much to a greater extent than almost psychology than ordinary (biased, limited) self-report.

when at that topographic point are no trades to last had.  When trading is everything, it's non surprising that everything is approached every bit a trade.
.

Monday, January 28, 2019

Info!! Best Practices Inwards Trading: Conducting Structured Surgery Reviews

It's slow to acquire too hence caught upward inwards trading that nosotros neglect to review--and larn from--our trading performance.  The successful coin managers I've worked alongside receive got had structured processes for previewing markets, viewing markets during trading hours, too reviewing trading 1 time the twenty-four hr menstruum too calendar week are finished.  Previewing brings training too rigor to trading; reviewing allows us to stand upward dorsum from our decisions too receive got a coaching perspective.

Today's best practise is structured functioning review from Ryan Worch, mind at Worch Capital.  He explains:

"I ever desire to live on confident that I'm operating alongside an appreciation for the larger picture.  It's slow to acquire bogged downwards inwards the day-to-day activity too hence I brand a indicate to create a serial of monthly goals too observations.

At the halt of each month, I perform a post-analysis on all of my trades.  This is where the existent operate is done.  I assess every merchandise too figure out what worked too why it worked.  By doing so, I'm hoping to encounter what is existence rewarded inwards each environment.  From this, I tin laid upward goals for the side past times side month.  Sometimes breakouts are working, or hateful reversion, or pullback trades.  The exclusively agency to create upward one's heed this is past times breaking downwards every merchandise at the halt of each month.  This procedure loop too feedback is critical to staying engaged too adapting to ever changing markets.

I'm challenging myself too scream for questions during this process.  What characteristics did the winners have?  What did the losers have?  Is at that topographic point a designing to live on recognized?  I tape all of this for futurity reference.  This is a feedback loop that makes me a amend trader too helps me interruption downwards data to a greater extent than chop-chop inwards futurity markets too trades.

Some quantitative examples are:  % winners vs. losers; average win vs. loss; % of equity risked; % of equity gained/lost; % gain/loss on each trade, etc.

From a qualitative standpoint:  What caused the seat to motion (surprise, upgrade, downgrade)?  What was the surrounding marketplace surroundings like?  Were exterior forces at play (geopolitical event, monetary policy event, etc.)?"

Note that Ryan is reviewing both the marketplace surroundings too his specific trades.  By seeing which trades are too aren't working, he gains insight into the marketplace that tin live on fed forrad into futurity trading.  That insight tin too assist him receive got to a greater extent than run a jeopardy inwards favorable environments too trace dorsum his run a jeopardy taking inwards murky ones.  Knowing why your trades receive got worked tin render useful clues equally to what could operate going forward.

Further Reading:  Using Trading Metrics to Understand Your Trading Psychology
.