Added a chart - beta

This commit is contained in:
7u83
2016-12-26 20:03:15 +01:00
parent c1d3f9e4ec
commit b0f9fabf52
4 changed files with 110 additions and 33 deletions

View File

@ -6,6 +6,18 @@ import java.util.concurrent.*;
import SeSim.Order.OrderStatus;
public class Exchange extends Thread {
/**
* Histrory of all quotes
*/
public ArrayList<Quote> quoteHistory;
/**
* Constructor
*/
public Exchange() {
this.quoteHistory = new ArrayList<>();
}
// Class to describe an executed order
public class Quote {
@ -42,7 +54,7 @@ public class Exchange extends Thread {
}
}
public ArrayList<Quote> quoteHistory = new ArrayList<>();
// long time = 0;
double price = 12.9;