126127128129130131132133
@Override public void onPositionUpdate(IContract contract, IPosition position) { tradingAgent.onPositionUpdate(contract, position); if (outputSeries != null) { outputSeries.insertFromTail(new PositionPoint(contract, position)); } }