Does anyone know of a DSL (Domain Specific Language) that implements trading semantics?
For example, it would be great to be able to say something like:
(when (and (< time 20:00)
(timing-is-right))
(trade (make-shares 100 x)))
(That's a lisp DSL).
It would be also be great if this thing handled options. So to be able to say:
(when (and (< time 16:00)
(timing-is-right))
(trade (make-synthetic-ATM-straddle 50 x)
(delta-hedge (StdDev 1))))
I am looking for one in C# or F#
For example, it would be great to be able to say something like:
(when (and (< time 20:00)
(timing-is-right))
(trade (make-shares 100 x)))
(That's a lisp DSL).
It would be also be great if this thing handled options. So to be able to say:
(when (and (< time 16:00)
(timing-is-right))
(trade (make-synthetic-ATM-straddle 50 x)
(delta-hedge (StdDev 1))))
I am looking for one in C# or F#