Code covered by the BSD License  

Highlights from
Trading strategy back tester

image thumbnail

Trading strategy back tester

by

 

09 Mar 2011 (Updated )

This program shows the profit and lost of using different trading strategies on Singapore stocks.

whatisname(na)
function retname = whatisname(na)

retname = 'No Name';

switch na
   
    case {'x1'}
        retname = 'UOL';
    case {'x2'}
        retname = 'OSIM';    
    case {'x3'}
        retname = 'WILMAR';
    case {'x4'}
        retname = 'CREATIVE';
    case {'x5'}
        retname = 'KIMENG';
    case {'x6'}
        retname = 'UOB';
    case {'x7'}
        retname = 'SIA';
    case {'x8'}
        retname = 'F&N';
    case {'x9'}
        retname = 'KEPCORP';
    case {'x10'}
        retname = 'STARHUB';
    case {'x11'}
        retname = 'DBS';    
    case {'x12'}
        retname = 'SPH';    
          
end

end

Contact us