Code covered by the BSD License  

Highlights from
Automated Trading with MATLAB - 2012

image thumbnail

Automated Trading with MATLAB - 2012

by

 

31 Aug 2012 (Updated )

Files from the Automated Trading webinar showing X_Trader and QuickFIX/J integration.

plotRules(options, state, flag)
function state = plotRules(options, state, flag)

if isstruct(state)
    imagesc(state.Population);
    set(gca,'XTick',1:size(state.Population,2))
else
    imagesc(state);
    set(gca,'XTick',1:size(state,2))
end

xlabel('Bit Position'); ylabel('Individual in Population')
colormap([1 0 0; 0 1 0]); 
axis tight
%%
% Copyright 2010-2012, The MathWorks, Inc.

Contact us