@Override public void tick(Day day, java.util.Collection<OrderBook> orderbooks) { super.tick(day, orderbooks); for (int i = 0; i < injectors.length; i++) { injectors[i].sendTick(System.currentTimeMillis(), day, orderbooks); } }
@Override public void day(int nbDays, java.util.Collection<OrderBook> orderbooks) { super.day(nbDays, orderbooks); for (int i = 0; i < injectors.length; i++) { injectors[i].sendDay(System.currentTimeMillis(), nbDays, orderbooks); } }
@Override public void price(PriceRecord pr, long bestAskPrice, long bestBidPrice) { super.price(pr, bestAskPrice, bestBidPrice); for (int i = 0; i < injectors.length; i++) { injectors[i].sendPriceRecord(System.currentTimeMillis(), pr, bestAskPrice, bestBidPrice); } }
@Override public void order(Order o) { super.order(o); for (int i = 0; i < injectors.length; i++) { injectors[i].sendOrder(System.currentTimeMillis(), o); } }
@Override public void agent(Agent a, Order o, PriceRecord pr) { super.agent(a, o, pr); for (int i = 0; i < injectors.length; i++) { injectors[i].sendAgent(System.currentTimeMillis(), a, o, pr); } }
public void agentReferential(@NotNull List<AgentReferentialLine> referencial) { assert !referencial.isEmpty(); for (int i = 0; i < injectors.length; i++) { injectors[i].sendAgentReferential(System.currentTimeMillis(), referencial); } }