Matlab in Finance

Discussion in 'Trading Software' started by nitro, Sep 29, 2004.

  1. prophet

    prophet

    Mathworks ranks coders based on how fast they can read ASCII data in m-code? Am I missing something here or is this task just a little trivial in the scope of tasks Matlab is capable of? Why bother with such optimizations when (1) it's better to write it as a MEX function and (2) you'll likely cache the data to disk as fixed-point binary data, which is generally much more compact?

    Using DLLs for performance intensive calculations? You mean MEX functions?

    Matlab IS 100% suitiable for unsupervised trading, just like a lot of other interpreted languages. Is it CPU efficient? That's debatable. I use compiled matlab code for math/vector ops, and hand written C code for datafeed handling... all real time and multi-threaded. Use Matlab where it counts, and C or C++ wherever Matlab code is innefficient.

    Matlab and MEX really shine for backtesting, which is where I recommend all black box interested Matlab gurus start.

    There's also http://www.gloriosia.com/

     
    #81     Feb 14, 2005
  2. monarc

    monarc

    So do you think it is really worth the time and effort to build a front end applicationwith MATLAB?? Is it just enough to be able to access the IB API for example, and get real time data and draw and anlyze the charts through MATLAB??

    I am a newbie trying to get into this...Please suggest..Time is a big constraint for me and I want to s[pend it wherer it really counts or where future employers think of it as a good work...
     
    #82     Feb 15, 2005
  3. 377OHMS

    377OHMS

    Appreciate the help I've gotten here, thanks to all.

    I have written a dll for TWS API quotes and another for order and execution flags and have canned them in ML functions. So far I'm just getting quotes and validating my order generation. Nothing fancy.

    I will eventually be submitting my work on the MathWorks site for public use/modification/whatever.

    Anyone working on similar lines can pm me if they are interested.

    Scott
     
    #83     Mar 5, 2005
  4. flakac

    flakac

    I am working with Matlab to, I am interested...
     
    #84     Mar 6, 2005
  5. Has anyone thought about using Mathematica 5.1 for trading. It seems to me it would be easier to build a functional trading system with Mathematica 5.1 than Matlab.

    Mathematica 5.1 has a built in database link for MySQL and several other SQL databases. It also has the .NET/link with full documentation for integration with any .NET language. You could integrate it with trademagic.net without too much effort, which would make it ideal for IB customers.

    Also I copied this across from the Wolfram site. 5.1 now offers the following:

    Highly Optimized Binary Data I/O

    New high-speed binary file I/O has been added for maximizing import and export performance of data sets. This increases Mathematica's potential data throughput by a factor of up to 70, sufficient for real-time utilization of new high-performance computational capabilities.

    Existing I/O formats handled by Import and Export have been sped up too, including the loading of tabular data--now 400-700% quicker.

    This to me would make Mathematica 5.1 ideal for trading purposes.

    Runningbear
     
    #85     Mar 6, 2005
  6. monarc

    monarc

    #86     Mar 7, 2005
  7. OHMS, I sent you a mail as well,

    -Chris
     
    #87     Mar 8, 2005
  8. hylt

    hylt

    Very good idea.
     
    #88     Mar 9, 2005
  9. nitro

    nitro

    ====
    Please join us for a free MathWorks seminar:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    “Using MATLAB to Develop and Deploy Financial Models”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Date: Wednesday, March 30, 2005
    Time: 9:00 a.m. – 12:00 p.m.
    Location: The Hyatt Regency Chicago, IL
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Finance professionals worldwide use MATLAB and other MathWorks tools to conduct research, rapidly
    prototype algorithms, and develop financial models for deployment to decision makers such as
    actuaries, investment managers, and traders. Learn how you can reduce your computing time and
    complement your existing Excel models by using MATLAB.

    MathWorks engineers will demonstrate MATLAB and show how you can:

    - Access and rapidly analyze your data
    - Develop models and prototype applications quickly and accurately
    - Test and refine your analytics
    - Generate graphics and commented code that can be used in reports
    - Integrate your algorithms quickly into existing applications


    View the agenda and register at www.mathworks.com/seminars/fma or call 978-659-6104.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Please forward this invitation to any colleagues who may be interested in this event.

    The MathWorks, Inc. - 3 Apple Hill Drive, Natick, MA 01760 - 508-647-7000

    OPT-OUT: The MathWorks considers this e-mail to be commercial in nature. If you would like us to
    remove this e-mail address from our "commercial electronic mail" mailing list, please click
    through to: http://www.mathworks.com/accesslogin/optOutEmail.do?emailAddress=caseylara@yahoo.com
    ====

    nitro
     
    #89     Mar 9, 2005
  10. just out of curiosity: is there a possibility of linking matlab and ib?

    Thanks,

    hamrawein
     
    #90     Feb 12, 2007