Return to site

 

Bandwidth & Stock Trading

 

Effectiveness of considering bandwidth when adapting Moving Average (“MA”) Trading Strategies 

· Trading

Bandwidth & Stock Trading

Effectiveness of considering bandwidth when adapting Moving Average (“MA”) Trading Strategies 

Moving average (“MA”) trading strategy is a widely used technical indicator for validating the movement of markets and signaling the buy/sell point.

However, drastic fluctuations in market prices, such as the ones the market experienced last December, 2018; when the market collapsed in a manner of weeks, would lead to a gigantic increase in the incurrence of quantities of trading signals. This in turn, would lead to an increase an enormous jump in the trading cost and also may cause a decrease in the effectiveness of MA Trading Strategies in general.

In order to solve this problem, some experts came up with the concept of bandwidth, the percentage of short-term MA to long-term one when the former surpasses or falls behind the latter. In theory, introducing bandwidth to MA strategies would help filter out some invalid trading signals and improve effectiveness of MA Trading Strategies.

To validate this idea, I started a research by randomly choosing about 50 stocks and collecting the closing prices with the purpose of figuring out the impact of trading signal bandwidth on the effectiveness of MA Trading Strategies.

Through deliberation, I decided to work out the cumulative returns brought by three different strategies, namely buy-and-hold, MA Trading Strategies and MA Trading Strategies considering signal bandwidth.

In order to make the result more considerable, I chose 1 day, 2 days and 5 days as short-term MA, and 20 days, 50 days and 200 days as long-term MA, 0 and 0.01 as the bandwidth. Afterwards, the MA was calculated via:

MA(t.n)=1ni=t-n+1tC(i)

Also, the return of stocks during the holding period was calculated with the formula:

rh=Ctsell-C(tbuy)C(tbuy)

Ctsell and Ctbuy refer to the closing price of the stock on the day it is sold and bought over the holding period respectively. If there are multiple stock holding periods when a trading strategy is adopted, the ultimate cumulative return would be calculated via the following formula:

rcum=i=1n(1+rh,i)

rcum represents the cumulative return and rh,i stands for the return during the i holding period.

Finally, the cumulative returns adopting the three strategies were calculated and compared with each other.

The cumulative return of MA Trading Strategies considering band-width was higher than that of MA Trading Strategies without considering band-width; the cumulative return of MA Trading Strategies without considering band-width was higher than that of buy-and-hold strategies. Hence, bandwidth can actually enhance the effectiveness of MA Trading Strategies.

Interview with NASA Astronaut Scott Kelly: An American Hero​

13 Questions With General David Petraeus

Why Choose Machine Learning Investing Over A Traditional Financial Advisor?

Interview With Home Depot Co-Founder Ken Langone

Interview with the Inventor of Amazon's Alexa

Automation and the Rebirth of American Retail

China Debuts Stealth Unmanned Combat Aerial Vehicle

Sweden's Economy Embraces AI & Automation

Austria's Automated Ai & Robotic Future Is Now

Nuclear Submarines: A 7,000 Lb Swiss Watch

Ai Can Write Its Own Computer Program

On Black Holes: Gateway to Another Dimension, or Ghosts of Stars’ Pasts?

Supersonic Travel: The Future of Aviation

Was Our Moon Once Habitable?

The Modern Global Arms Race

NASA Seeks New Worlds

Cowboy Turned Space Surgeon

Shedding Light on Dark Matter: Using Machine Learning to Unravel Physics’ Hardest Questions

When High-Tech Meets Low-Tech Economy: Ai & the Construction Industry

Aquaponics: How Advanced Technology Grows Vegetables In The Desert

The World Cup Does Not Have a Lasting Positive Impact on Hosting Countries

Artificial Intelligence is Transforming the Forex Market

Do Machines Dream? Inside the Dreams of a Machine

Can Ai Replace Human Ski Coaches?

America’s Next Spy Plane

Faster than Sound and Undetectable by Radar

The Implications of Machine Learning on Condensed Matter Physics & Quantum Computing

Crafting Eco-Sustainability: WTC and Environmental Sustainability

Can Ai Transform Swimming?

Argentina's AI Future: Reversing a Century of Decline

Tennis & Artificial Intelligence

Kazakhstan's Ai Aspirations

Peru's Ai Future Will Drive Economic Growth

The Colombian Approach to the AI Revolution

How AI Can Explain Its Thinking

Singapore: Ai & Robotic City

Ai in New Zealand

Brazil & Artificial Intelligence​

Denmark & Ai

Can Ai Replace Human Ski Coaches?

Tennis & Artificial Intelligence

Written by Xujia Ma & Edited by Alexander Fleiss