Tuesday, September 24, 2019

Is Scala used in trading systems


I'm curious about high performance computing and consider algo/program trading as an interesting source of information about what are performant technologies that are used to trade the markets.


Is scala being used out there? Is it a viable language for a startup prop shop? Would it be considered an advantageous language given it's more expressive syntax (and thus less code) as compared to java/c++ but be just as speedy?



Answer



EDF Trading uses it (or used it): http://cufp.org/videos/scala-edf-trading-implementing-domain-specific-language-derivative-p



In general, many financial institutions use functional programming languages. Andrei is correct in that they often are used to develop domain-specific languages (DSLs).


Some examples:



A "complete" list can be found by exploring proceedings from Commercial Users of Functional Programming workshop proceedings: http://cufp.org/conference


If you are smart about DSL creation, the programs you write can actually have better performance because you can perform smarter compiler optimizations (e.g., http://infoscience.epfl.ch/record/148814/files/paper.pdf)


One last note, since Scala targets the JVM, you could always integrate the Java and Scala code (or even make native calls to C++ code via the Java Native Interface).


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...