Moved ohls_data from Exchange to Stock class

This commit is contained in:
2017-12-10 18:46:37 +01:00
parent 6b2d382f8b
commit 11fec6e022
5 changed files with 14 additions and 11 deletions

View File

@ -122,7 +122,7 @@ setCursor(new MyCursor(Cursor.CROSSHAIR_CURSOR));
protected final void setCompression0(int timeFrame) {
javax.swing.SwingUtilities.invokeLater(() -> {
data = Globals.se.getOHLCdata(timeFrame);
data = Globals.se.getOHLCdata(Globals.se.getDefaultStock(),timeFrame);
invalidate();
repaint();
});