An example to illustrate event structure

Take an example of a stock market event. Every time a stock goes up or down in price, we can represent this as an event. For example:

At UTC: 2018-11–05T13:15:30:34.123456+09:00 
The stock MZK increased in price by 800 from 13000 JPY

 

We can see that this is a description of an event where the stock ABC increased by 800 Yen at a very specific time on 5 Nov 2018.

Just like assets and participants, we can see the term event can refer to the type or instance of an event. In our example, we've shown the type and instance information folded into one. The event has a type Stock Market Tick with a structure comprising time: 2018-11–05T13:15:30:34.123456+09:00, symbol: MZK, currency: JPY previous: 13000, change: +800. For each element in the structure, we've shown the particular instance for this event. We can see very clearly from this event what happened in a structured form.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.0.145