Drawdown of Historical Stock Prices - Maple Application Center
Application Center Applications Drawdown of Historical Stock Prices

Drawdown of Historical Stock Prices

Author
: Maplesoft AuthorSamir Khan
Engineering software solutions from Maplesoft
This Application runs in Maple. Don't have Maple? No problem!
 Try Maple free for 15 days!

The drawdown of a stock indicates how much time it's spent "underwater" - it's essentially the percentage drop of its price from a peak to a trough, with the drawdown resetting to zero if a previous high is reached.  The drawdown of a stock is a valuable risk measure and is employed by traders to gauge volatility.

This application:

  • downloads historical stock prices from Yahoo Finance for a chosen ticker symbol (this requires a connection to the Internet),
  • defines a procedure that calculates the drawdown of the historical stock price
  • and plots the drawdown against the adjusted close price of the asset

By changing the ticker symbol and the two dates, you can examine drawdown of any stock between any period.

The application uses Maple 18's improved Internet connectivity; you can now download data from a URL into a matrix using ImportMatrix().

Application Details

Publish Date: July 07, 2014
Created In: Maple 18
Language: English

Tags

economics

More Like This

Binary Distillation with the McCabe-Thiele Method
Interacting Tank Reservoirs
Optimising Asset Allocation by Maximising the Sharpe Ratio
The Countdown Numbers Game
1
Pricing European Call Options with FFTs
Automatic Optimization of Controller
Optimize the Flight Path of a Pan-US Delivery Drone