I have developed an trade automator in excel, but its too slow, now im trying to do this in matlab.
One of the links I use to feed my sheets in excel is :
=TWSVR|CMA!'0012PETR4;25'
I'm trying to receive the same data in matlab, here is what I did:
channel = ddeinit('TWSVR','CMA')
lastPetr = ddeadv(channel,'0012PETR4;25',callback)
So is this right? Where can I see the data? Where is stored?
This callback function is the one I have to developed to process the data?