public class PriceLimitRule implements Market.OrderEvent
Modifier and Type | Field and Description |
---|---|
Long |
activationCount |
Long |
referenceMarketId |
Double |
referencePrice |
Double |
triggerChangeRate |
Constructor and Description |
---|
PriceLimitRule() |
Modifier and Type | Method and Description |
---|---|
Double |
getLimitedPrice(Order order,
Market market)
This is for Agents to calculate the modified price within the price limits.
|
void |
update(Market market,
Order order)
This should be called only from the System.
|
update