Removed dead code
This commit is contained in:
parent
36171e0872
commit
bc687c9b88
@ -61,28 +61,10 @@ public class AssetPair {
|
|||||||
|
|
||||||
public AssetPair(World world, String asset, String currency){
|
public AssetPair(World world, String asset, String currency){
|
||||||
this.asset = world.getAssetBySymbol(asset);
|
this.asset = world.getAssetBySymbol(asset);
|
||||||
this.currency = world.getAssetBySymbol(asset);
|
this.currency = world.getAssetBySymbol(currency);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
protected HashMap<Order.Type, SortedSet<Order>> order_books;
|
|
||||||
|
|
||||||
public final void reset() {
|
|
||||||
order_books = new HashMap();
|
|
||||||
|
|
||||||
// Create an order book for each order type
|
|
||||||
for (Order.Type type : Order.Type.values()) {
|
|
||||||
// order_books.put(type, new TreeSet(new Exchange.OrderComparator(type)));
|
|
||||||
order_books.put(type, new TreeSet<>());
|
|
||||||
}
|
|
||||||
|
|
||||||
// quoteHistory = new TreeSet();
|
|
||||||
// ohlc_data = new HashMap();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user