HTML files.

The purpose of HTML files was to render the mathematical formulas used in my articles more readable. And since each article is dated, they build on this dated sequence to expand on the mathematical structure of stock trading strategies. 

March 1, 2018

Some of the stuff in portfolio management is so basic that we often forget how really basic it is. The building block of a portfolio is the position taken in some shares of a listed company as an investment or as a short-term speculative move. In both cases, the objective is to make a profit. We buy an asset and hold on to it, or resell it later on for a profit. Trading is simply doing the latter more often.

The problem is not with the understanding of the game, it comes from asking very basic questions, like what, when, and how much. An even more basic question is: why initiate that trade, at that time in the first place?

February 4th, 2017

The HTML file at the end of this article relates to my transformation of a cloned trading strategy as found on the Quantopian website. It was first declared as not worth pursuing. But I like to take such strategies and make them do more. A kind of demonstration of what you can find in my book holds.

The premise is simple. If the stuff presented in my book works. Then, almost as a foregone conclusion, based on those principles, I should be able to make such a trading strategy outperform. And the applied trading procedures would have a positive impact on the overall performance level. That is what this HTML file is all about. Making do with what was ordinary stuff, and making it great. You be the judge.

November 2, 2016

This new HTML file is another step in this series of articles. Refer to preceding articles starting with the Payoff Matrix to gain a better understanding of what is being put forward in this two-part installment.

Any automated stock trading strategy can be resumed by 3 of its performance metrics. Namely, the number of trades, average bet size, and net profit margin per trade (n, u, PT). Everything else is of lesser consequence, part of features, preferences, or descriptive properties.

October 22, 2016

This article shows what I consider the core of a trading strategy. Looks at the trading problem from a different angle than most. Starting from the end results metrics, then going back to design strategies that will affect these metrics over the entire trading interval. As if designing a strategy backward, but most certainly constructively, allowing for a multi-asset, multi-period view of the stock portfolio management problem.

October 13, 2016

The HTML file below starts to elaborate on trading methodology infrastructure. It is part of the background information needed to go forward. It uses a MACD trading strategy as an example to set mathematical structure to trading procedures. It could have used something else, the whole point is not on the MACD, but trading strategies in general.

October 10, 2016

The HTML file below tries to elaborate on the predictability, not of stock price movements, but mostly on portfolio performance outcomes. It tries to do this using only two numbers, one of which is just a trade counter.

The objective being to show that those two numbers which characterize a trading strategy can add some understanding of a strategy's long-term goals. As if giving the ability to make napkin estimates of where a portfolio might be some 20+ years down the line, thereby providing a reasonable guesstimate.

October 3, 2016

The HTML file below deals with the perception of trading decisions within the context of building a long-term stock portfolio. It is the continuation of a series of articles dealing with the underlying math behind a stock trading strategy.

Instead of looking for a trading strategy that tries to shift its portfolio weighs from period to period as in a Markowitz or Sharpe rebalancing scenario, the search is for long-term repeatable procedures that can affect a portfolio's payoff matrix over its entire multi-period multi-asset trading interval. The main interest is not in a trade here and there but on the possible thousands and thousands of trades over a portfolio's lifespan. All influenced by the trading functions put on the table.

September 25, 2016

What I see most often are stock trading strategies that operate on the premise of finding some kind of anomaly or pattern that the developer hopes will repeat in the future. He tries to select the best methods he has to do the job. But, it still is limiting in the sense that one is not looking to increase the number of trades but simply to accept the strategy's generated number of trades. As if looking only at one way to increase end results. It's okay, but one should want more and could do more.

September 15, 2016

The following article is part of a series. It deals with ways to enhance a stock trading strategy by incrementally increasing the number of trades to be executed over a long-term trading interval as well as increasing the average profit per trade. Thereby, giving a higher performance at the portfolio level.

September 13, 2016

This article examines stock trading strategies with structural defects. Meaning strategies designed to fail, even before they start trading. It is not because someone has designed a stock trading program that it will make money. You need more than that. One thing is sure, might as well learn not to include in your own programs trading procedures that are almost assured to obliterate your long-term portfolio performance. But then, anyone can design their trading strategies the way they want.

September 8, 2016

Designing trading programs implies mathematical formulas. We all have a vision of what our trading programs should do. Presented in this article, as in the prior one (Payoff Matrix) are building blocks for what I want to do with Quantopian. As if putting on paper, preparing an overall plan on how I want to use its facilities. The process could help others.

September 6, 2016

The HTML file listed below is full of matrix formulas. You don't need math to understand the message. For me, putting an equal sign on something is a big statement. All one can do after is declare: not equal, and show why. It is not a matter of opinion anymore, it is a matter of proof.

The file looks at the trading problem from a payoff matrix perspective, which in itself can represent any trading strategy whatsoever. It concludes with any trading strategy could also be expressed as the number of trades times the average profit per trade, leaving only two variables to consider when designing trading strategies.