public void insertBar(BarData bar){
  barVector.insertElementAt(bar,0);
}

public void insertBar ( BarData bar ) { barVector . insertElementAt ( bar , 0 ) ; }
inserts the specified bar at the front of the market data . useful for data providers such as yahoo that sort their data from most recent to oldest .
