Uses of Class
org.powertac.common.Orderbook
| Package | Description |
|---|---|
| org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
| org.powertac.common.repo |
Repositories that need to exist in both the Power TAC simulation server
and in brokers.
|
-
Uses of Orderbook in org.powertac.common
Methods in org.powertac.common that return Orderbook Modifier and Type Method Description OrderbookOrderbook. addAsk(OrderbookOrder ask)OrderbookOrderbook. addBid(OrderbookOrder bid) -
Uses of Orderbook in org.powertac.common.repo
Methods in org.powertac.common.repo that return Orderbook Modifier and Type Method Description OrderbookOrderbookRepo. findByTimeslot(Timeslot timeslot)Returns the most recent Orderbook that has been created for the specified timeslot.OrderbookOrderbookRepo. findSpotByTimeslot(Timeslot timeslot)Returns the most recent orderbook with a non-null clearing price.OrderbookOrderbookRepo. makeOrderbook(Timeslot timeslot, Double clearingPrice)Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now).Methods in org.powertac.common.repo that return types with arguments of type Orderbook Modifier and Type Method Description List<Orderbook>OrderbookRepo. findAllByTimeslot(Timeslot timeslot)