| Package | Description |
|---|---|
| org.powertac.common | |
| org.powertac.common.repo |
| Modifier and Type | Method and Description |
|---|---|
Orderbook |
Orderbook.addAsk(OrderbookOrder ask) |
Orderbook |
Orderbook.addBid(OrderbookOrder bid) |
| Modifier and Type | Method and Description |
|---|---|
Orderbook |
OrderbookRepo.findByTimeslot(Timeslot timeslot)
Returns the most recent Orderbook that has been created for the specified
timeslot.
|
Orderbook |
OrderbookRepo.findSpotByTimeslot(Timeslot timeslot)
Returns the most recent orderbook with a non-null clearing price.
|
Orderbook |
OrderbookRepo.makeOrderbook(Timeslot timeslot,
Double clearingPrice)
Creates a new Orderbook, with standard defaults (productType = Future,
dateExecuted = now).
|
| Modifier and Type | Method and Description |
|---|---|
List<Orderbook> |
OrderbookRepo.findAllByTimeslot(Timeslot timeslot) |
Copyright © 2015. All Rights Reserved.