News for hackers. Stuff that matters.
Re:Martin Odersky (Scala creator) launches company to commer... by dxbydt on Thursday May 12, 2011 @04:19PM (#2542154)
I think you should look at DSLs. Seriously.

You can code a domain specific options parser in scala so that your final code actually looks like this -

"@ $20 spot, price 5 calls, @ $25 strike, 59 days to expiry"

This is as simple as it can get. In fact, the senior quants literally say the above line word for word. So its practically English. Can't get any simpler than that.

Reference: http://www.scala-lang.org/node/1403

There are no comments on this comment yet.