Hello world ticker


#1

Just to get myself familiary with getting data from OG server.

I’d like to display a simple ticker which contains an actively updated stock price from OG example server. What is the easiest way of setting this up?

The examples in the OG GUI seem to require setting up views first, and I’d like to start with a minimal example of one stock that is constantly being updated. Where can I find something like that?


#2

The simplest way is to setup a view which obtains the live market data.

If you are looking for something else, then you can make calls directly to the live data subsystem. However, that API is based on JMS so you have to be able to handle asynchronous responses (which is why its typically easier to let the view mechanisms handle that for you).