Announcement

Collapse
No announcement yet.

Connecting eSignal through Matlab

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Connecting eSignal through Matlab

    Hi,

    I'm using Matlab .

    My current goal is to get ForEx historical data for some symbols.
    I read the Manual looked on the VB example.

    Currently, I manage to launch eSignal application from within Matlab. Here is the code:
    Code:
    clear esignal; 
    esignal = actxserver('IESignal.Hooks'); 
    esignal.SetApplication('myusername');
    For some reason I have to close eSignal and call these lines once again in order for having some methods available.

    that is not so bad. The problem is that important methods are not found, or even not listed.
    Code:
    Trial>> get(esignal)
                       GetTitle: 'Error: method or property not found'
                  GetBasicQuote: 'Error: method or property not found'
        GetCurrentLinkingSymbol: 'CHF A0-FX'
                     IsEntitled: 1
                     GetNumBars: 'Error: method or property not found'
                         GetBar: 'Error: method or property not found'
                 RequestHistory: 'Error: method or property not found'
                 IsHistoryReady: 'Error: method or property not found'
            XMLToPlaceOrderFlag: 'Error: method or property not found'
            XMLGetNumOrderItems: 'Error: method or property not found'
                XMLGetOrderItem: 'Error: method or property not found'
               RequestTimeSales: 'Error: method or property not found'
            GetNumTimeSalesBars: 'Error: method or property not found'
          GetNumTimeSalesRtBars: 'Error: method or property not found'
                GetTimeSalesBar: 'Error: method or property not found'
                     GetAppHWND: 3933236
                     GetAppTime: '09/09/2008 15:11:05'
                  GetAppVersion: '10.0.0 '
              GetAppBuildNumber: '1291'
             GetNumSymbolGroups: 16
            GetSymbolGroupColor: 'Error: method or property not found'
               GetLastOrderHWND: 'Error: method or property not found'
               IsTimeSalesReady: 'Error: method or property not found'

    Any idea?

  • #2
    Unforunately, we currently do not support MatLab with the eSignal Desktop API.

    Comment


    • #3
      Matlab can't read BarData

      Hi,

      After lots of emails with Matlab support, we found out the cause of the problem.

      I publish the finding here, both for other people who face the same problem and for the eSignal API developers. The latter might actually do something about it ...

      The BarData structure is a VB structure. This structure is passed to Matlab via the COM facility.

      Matalb, however, cannot read structures via COM interface. See http://www.mathworks.com/access/help...html#bq4epvg-5

      Finally, I will be glad to know if someone managed to bypass this issue.

      Comment

      Working...
      X