|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TradingStrategy
Classes implementing this interface define trading strategies for round-robin traders.

| Method Summary | |
|---|---|
int |
determineQuantity(Market auction)
|
void |
initialise()
|
boolean |
isBuy(Market auction)
|
Order |
modifyOrder(Order shout,
Market auction)
Modify the trader's current shout according to the trading strategy being implemented. |
void |
setAgent(AbstractTradingAgent agent)
|
void |
subscribeToEvents(EventScheduler scheduler)
|
| Method Detail |
|---|
Order modifyOrder(Order shout,
Market auction)
shout - The shout to be updatedmarket - The market in which this strategy is being employed
void setAgent(AbstractTradingAgent agent)
int determineQuantity(Market auction)
void initialise()
void subscribeToEvents(EventScheduler scheduler)
boolean isBuy(Market auction)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||