|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.emarket.trade.service.OrderExecutorServiceImpl
@Service public class OrderExecutorServiceImpl
Constructor Summary | |
---|---|
OrderExecutorServiceImpl()
|
Method Summary | |
---|---|
void |
execute(Order order)
execute() method accepts an order, and processes the asynchronously. |
MarketDepth |
getMarketDepth(java.lang.String symbol)
|
void |
setOrderExecutorExecutor(net.sf.emarket.trade.service.OrderExecutorExecutor executor)
|
void |
setTradingService(net.sf.emarket.trade.service.ITradingService svc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderExecutorServiceImpl()
Method Detail |
---|
public void setOrderExecutorExecutor(net.sf.emarket.trade.service.OrderExecutorExecutor executor)
public void setTradingService(net.sf.emarket.trade.service.ITradingService svc)
public void execute(Order order)
IOrderExecutorService
execute()
method accepts an order, and processes the asynchronously.
This method is the marker line between order management system and trade processing system (trading engine).
The trading engine runs completely using background threads.
execute
in interface IOrderExecutorService
public MarketDepth getMarketDepth(java.lang.String symbol)
getMarketDepth
in interface IOrderExecutorService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |