1 / 21

Matlab & Scilab Applications to Finance

Matlab & Scilab Applications to Finance. Fabien Viale, Denis Caromel, et al. http://ProActive.ObjectWeb.org OASIS Team INRIA -- CNRS - I3S -- Univ. of Nice Sophia-Antipolis, IUF. Introduction / Principles ProActive context Scilab integration 4. Matlab integration

quade
Download Presentation

Matlab & Scilab Applications to Finance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Matlab & ScilabApplications to Finance Fabien Viale, Denis Caromel, et al. http://ProActive.ObjectWeb.org OASIS Team INRIA -- CNRS - I3S -- Univ. of Nice Sophia-Antipolis, IUF • Introduction / Principles • ProActive context • Scilab integration • 4. Matlab integration • 5. Application to Finance Fabien Viale

  2. Introduction Fabien Viale

  3. Introduction - Matlab • Leading numerical computing environment • Used by more than one million people • Interactive mathematical shell => Matlab Language • Expensive Fabien Viale

  4. Introduction - Scilab • Open source alternative to Matlab • Used by many industrial and research projects • Interactive mathematical shell => similar syntax with Matlab, not 100% compatible. • Free Fabien Viale

  5. Introduction - ProActive • Open source middleware for the Grid • Used by many industrial and research projects • Powerful and standardized (ETSI) deployment framework • Tools for the grid : Scheduler, Resource Manager, IC2D Monitoring, Timit Fabien Viale

  6. Introduction – State of the Art (quick) Only one //Scilab : Scilab PVM Fabien Viale

  7. Introduction - Motivations & Challenges • Motivations : • Use grid infrastructure as resources for Matlab & Scilab • Allow users to remain in their familiar environment • Easily run Matlab & Scilab code in parallel • Seamless retrieval of results • Challenges : • Heterogeneous environment • Matlab not open source • Non-extensive list of features in Scilab Fabien Viale

  8. ProActive context Fabien Viale

  9. Scheduler – Resource Manager • Scheduler : • controls user access ; task submission, results retrieval. • Manages jobs pending queue. • Manages job’s workflow. • Resource Manager : • Deploys and monitor resources (nodes) • Make nodes available for the scheduler (with resource selection) Fabien Viale

  10. Jobs & tasks • A job contains several tasks • Tasks can have dependency relationships • The Scheduler runs only one task per node Fabien Viale

  11. Introduction – Job definition Fabien Viale

  12. Scilab integration Fabien Viale

  13. Scilab integration - Principles • Integration with the ProActive Scheduler • Schedule workflow of Scilab tasks • Transfer results between tasks Fabien Viale

  14. Scilab integration - Example Fabien Viale

  15. Matlab integration Fabien Viale

  16. Matlab integration - Principles • Scilab extension functionalities • Integration with the Matlab environment Fabien Viale

  17. How does it work ? Resource Manager Cluster Proxy login Convert to textual / submit job Scheduler Select resources Matlab deploy Receive results Nodes > PAsolve({arg1..argn}, @myfunc) Desktop ans = [ 1 2.354 0 7 ] Nodes Create engines Run tasks Fabien Viale

  18. Matlab integration - API • PAconnect(<scheduler-url>) • PAsolve({arg1, … argn}, @function, [‘-debug’]) Fabien Viale

  19. Introduction – State of the Art (quick) Fabien Viale

  20. Demonstration : application to finance • Longstaff Schwarz method for American Put Option • Pure matlab code (no financial toolkit) Fabien Viale

  21. Conclusion / Future Work • For Scilab, integration with the ProActive Scheduler, useful for doing batch jobs • Lacks a complete integration with Scilab • For Matlab, an easy to use/configure Parallel Matlab toolkit • Dependant on NFS => Automatic File Transfer • Automatic licencing control • Only for coarse-grained problems => SPMD extension • Blocks Matlab execution => Asynchronous PAsolve • Questions ? Fabien Viale

More Related