Moved Order class out of Exchange class into a separate file.
Use sesim.order now instead.
This commit is contained in:
@ -38,6 +38,7 @@ import sesim.AutoTraderInterface;
|
||||
import sesim.Exchange;
|
||||
import sesim.Exchange.AccountListener;
|
||||
import sesim.Exchange.OrderStatus;
|
||||
import sesim.Order;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -114,7 +115,7 @@ public class ManTrader extends AutoTraderBase implements AccountListener, AutoTr
|
||||
}
|
||||
|
||||
@Override
|
||||
public void accountUpdated(Exchange.Account a, Exchange.Order o) {
|
||||
public void accountUpdated(Exchange.Account a, Order o) {
|
||||
//this.consoleDialog.cons
|
||||
//System.out.printf("AccountListener called\n");
|
||||
|
||||
|
@ -38,6 +38,7 @@ import sesim.Exchange.Account;
|
||||
import sesim.Exchange.AccountListener;
|
||||
import sesim.Exchange.OrderStatus;
|
||||
import sesim.Exchange.OrderType;
|
||||
import sesim.Order;
|
||||
import sesim.Quote;
|
||||
|
||||
/**
|
||||
@ -202,7 +203,7 @@ public class RandomTraderA extends AutoTraderBase implements AccountListener {
|
||||
sesim.Scheduler.TimerTaskDef timerTask;
|
||||
|
||||
@Override
|
||||
public void accountUpdated(Account a, Exchange.Order o) {
|
||||
public void accountUpdated(Account a, Order o) {
|
||||
setStatus("Account update -%s ", o.getOrderStatus().toString());
|
||||
setStatus("In Task: %s", Boolean.toString(this.intask));
|
||||
//System.out.printf("Order updated %s %d\n", o.getOrderStatus().toString(), Thread.currentThread().getId());
|
||||
|
Reference in New Issue
Block a user