Exposing it's innards? (Scripting question)

Spencer Gibb spudgibb at gmail.com
Thu Jun 20 09:35:55 MDT 2013

On Jun 20, 2013 3:53 AM, "S. Dale Morrey" <sdalemorrey at gmail.com> wrote:
> I want to give users the ability to custom code their own strategies in an
> interpreted scripting language.  I do not want to write my own language
> doing this.  There are too many hazards in creating an entirely new
> language and the learning curve would be steep, plus I'm not sure I really
> have anything to contribute to language development here.  In short, I
> really just want to expose the signals and the trading api i.e. the
> applications innards, via an interpreter of some sort.
> I have been looking at the Java "scripting" API
> it seems perfect for the job.
> It defaults to Javascript which I do consider as a potential candidate for
> this, but I'm curious to know what other languages have been implemented
> top of JSR-223 that would be adequate for the job.  The link to the other
> languages provided on that page is dead.
> So the questions I have are as follows.
> Is it wise to force one language over another or should I leave this a
> configurable option?
> If you were trying to give this kind of power to an end user, what
> would you pick assuming the restriction that it must have a JSR-223
> binding?

If java is your comfortable language, groovy would be a good choice: java
is valid groovy, good community, lots of docs

I found this:

Hope it helps


More information about the PLUG mailing list