Removed some out-commented code.

This commit is contained in:
7u83 2017-10-23 21:03:57 +02:00
parent d1080165aa
commit 543e984282
1 changed files with 2 additions and 13 deletions

View File

@ -183,7 +183,7 @@ public class Exchange {
}
public OHLCData getOHLCdata(Integer timeFrame) {
OHLCData data; //=new OHLCData(timeFrame);
OHLCData data;
data = ohlc_data.get(timeFrame);
if (data == null) {
@ -192,18 +192,7 @@ public class Exchange {
ohlc_data.put(timeFrame, data);
}
}
return data;
/* try {
data = ohlc_data.get(timeFrame);
} catch (Exception e) {
data = null;
}
if (data == null) {
data = buildOHLCData(timeFrame);
}
*/
}
void updateOHLCData(Quote q) {
@ -790,7 +779,7 @@ public class Exchange {
*
* @param o
*/
long nextQuoteId = 0;
// long nextQuoteId = 0;
public double fairValue = 0;