The following was implemented in Maple by Marcus Davidsson (2013) davidsson_marcus@hotmail.com
with significant help from Axel Vogt (GetCSV)
1) Copy the two files (.mla and .hdb) to maple's lib folder ie in my case C:\Program Files (x86)\Maple 16\lib
2) Exit Maple, and then relaunch Maple. 3) You are set to go!
* Note one of the procedures uses C:\\WINDOWS\\SYSTEM32 However I have a 64 bit computer and it still seems to works for me :-)
MyFinance Module
1) PC = Percentage Changes for a row or column ordered price matrix If time in the price matrix is increasing to the right or left then use the option row=true If time in the price matrix is increasing up or down then use the option row=false
The return matrix always returns a percentage decimal form ie 0.02= 20% 2) GetCSV=Get a CSV file from a web url. Works with both http and https url's
GetCSV( url to csv file as a string)
Since the largest matrix the matrix browser in Maple can display is a 10001 x10001 matrix
Assign the datamatrix to a data table component to view the complete dataset
GetCSV uses C:\\WINDOWS\\SYSTEM32
3) CleanData=Remove extreme observations from the return matrix and substitute 0 for missing observations
If you want to nullify all abs(returns) > threshold ie 50% then type CleanData(datamatrix,50)
The cleaned return matrix is always expressed in percentage form ie 20%
Works for both http and https urls. (Maples HTTP[Get] only works for http not https)