public class Periodic extends java.lang.Object implements Signal
Signal.Direction
Modifier and Type | Field and Description |
---|---|
protected int |
cpt |
protected int |
pachat |
protected int |
pvente |
Constructor and Description |
---|
Periodic(int pachat,
int pvente) |
Modifier and Type | Method and Description |
---|---|
Signal.Direction |
update(OrderBook asset,
Day day)
Achete pendant pachat tours et vend pendant pvente tours
|
public Signal.Direction update(OrderBook asset, Day day)