-
Notifications
You must be signed in to change notification settings - Fork 6
Home
vmlemon edited this page Apr 30, 2011
·
6 revisions
Object-oriented template... UNFINISHED! Click edit to see the clean non-messed-up text!
public class Instrument {
public string name;
public Instrument(string name) {
this.name = name;
}
}
public class Trade {
public price; // the price for which at trade completed.
public double amount; // the amount of shares or contracts or whatever transferred in this trade.
}
public class Quote {
public double open;
public double high;
public double low;
public double close;
public int volume;
public Trade[] trades; // All the orders that happened during this time!
public void computeData(); // Computes the open, high low, close, and volume for the trades that occurred.
public Quote(Trade[] trades) {
this.trades = trades;
}
}The project's Wishlist details the stuff that we're either actively working on, or planning on working on soon. Ideally, it should be updated whenever steps towards a goal are reached, or whenever a goal is blocked by something.