Moving Averages in Photon Scripting

2 messages Options
Embed this post
Permalink
usstt

Moving Averages in Photon Scripting

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hello,

Has anyone tried implementing a moving average calculation based on historical tick level data?

I scoured the photon scripting API but couldn't find anything of the sort. Would this be something we'd have to implement from scratch? Like for instance, build a global hash to store tick data as they arrive (on_market_data_message)?

Any insights are greatly appreciated. thanks!

-TT


View message @ http://n2.nabble.com/Moving-Averages-in-Photon-Scripting-tp1128106p1128106.html
To unsubscribe from Moving Averages in Photon Scripting, click here.



_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
toli

Re: Moving Averages in Photon Scripting

Reply Threaded More More options
Print post
Permalink
Hi Tzuan-Ta

That's a very good question. There's no easy way to do that yet given
the existing scripting setup.
However, we are working on integrating the Esper complex event
processing libraries into the Photon scripting engine which will make
it fairly trivial to do what you want.

We have a few prototypes of this running, and it will make it into the
core product in the next month or so.

Hopefully, I should be able to post a writeup on how to get that
working in the next couple weeks, even before it's released.



On Tue, Sep 30, 2008 at 12:10 AM, Tzuan-Ta Wang <[hidden email]> wrote:

> Hello,
>
> Has anyone tried implementing a moving average calculation based on
> historical tick level data?
>
> I scoured the photon scripting API but couldn't find anything of the sort.
> Would this be something we'd have to implement from scratch? Like for
> instance, build a global hash to store tick data as they arrive
> (on_market_data_message)?
>
> Any insights are greatly appreciated. thanks!
>
> -TT
>
> ________________________________
> View message @
> http://n2.nabble.com/Moving-Averages-in-Photon-Scripting-tp1128106p1128106.html
> To unsubscribe from Moving Averages in Photon Scripting, click here.
>
>



--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].