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.
|
org.powertac.samplebroker |
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) |
Modifier and Type | Method and Description |
---|---|
void |
MarketManagerService.handleMessage(Orderbook orderbook)
Receives market orderbooks.
|
Copyright © 2019 Power TAC. All rights reserved.