Orderbook Domain Class
General Description
An Orderbook holds the information of the current orders in the book for a certain product.
The first ten buy and sell orders are listed with the according (aggregated) sizes.Domain Properties
An Orderbook
domain class possesses the following properties:Long serverId
Competition competition
Date dateExecuted
Long transactionID
Product product
Boolean outdated
Double bid1
Double bid2
Double bid3
Double bid4
Double bid5
Double bid6
Double bid7
Double bid8
Double bid9
Double bid10
Double bidSize1
Double bidSize2
Double bidSize3
Double bidSize4
Double bidSize5
Double bidSize6
Double bidSize7
Double bidSize8
Double bidSize9
Double bidSize10
Double ask1
Double ask2
Double ask3
Double ask4
Double ask5
Double ask6
Double ask7
Double ask8
Double ask9
Double ask10
Double askSize1
Double askSize2
Double askSize3
Double askSize4
Double askSize5
Double askSize6
Double askSize7
Double askSize8
Double askSize9
Double askSize10
Property Descriptions
- serverId: unique identifier of the entity assigned by the server
- competition: associates the Orderbook with a certain competition instance
- dateExecuted: date when the Orderbook was created
- transactionID: identifier to associate an Orderbook to incoming or executed orders
- product: reference to the product that is concerned by the limit orders in the book
- outdated: indicates if this entity is the latest of the orderbooks for a particular product
- bid1-10: price at which traders are willing to buy a certain product
- bidSize1-10: specifies how many units traders are willing to buy at the bid1-10
- ask1-10: price at which traders are willing to sell a certain product
- askSize1-10: specifies how many units traders are willing to sell at the ask1-10