I am trying to use the override function positions but it is not being called at all when running. Just want it to print out all open positions.
@Override
public void position(String account, Contract contract, double pos,
double avgCost) {
System.out.println("contract " + contract);
}
It is not printing anything out at all. The account has open positions. Trying to just print all open positions each pass by of the function.