net.sf.emarket.order.service
Interface IOrderManagerService

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
OrderManagerServiceImpl

public interface IOrderManagerService
extends java.io.Serializable


Method Summary
 void executeMatches(java.util.List<OrderMatch> matches)
           
 void fillOrders(java.util.List<OrderFill> orderFill)
           
 java.util.List<Order> getExecutedOrdersForAcctId(java.lang.String acctId)
           
 java.util.List<Order> getOpenOrdersForAcctId(java.lang.String acctId)
           
 Order placeOrder(Order order)
           
 Order verifyOrder(Order order)
           
 

Method Detail

placeOrder

Order placeOrder(Order order)
                 throws AccountNotActiveException,
                        InSufficientCashBalanceException,
                        NotEnoughPositionsException,
                        InstrumentCannotTradeException,
                        WrongLimitPriceExeption
Throws:
AccountNotActiveException
InSufficientCashBalanceException
NotEnoughPositionsException
InstrumentCannotTradeException
WrongLimitPriceExeption

getOpenOrdersForAcctId

java.util.List<Order> getOpenOrdersForAcctId(java.lang.String acctId)

getExecutedOrdersForAcctId

java.util.List<Order> getExecutedOrdersForAcctId(java.lang.String acctId)

verifyOrder

Order verifyOrder(Order order)
                  throws AccountNotActiveException,
                         InSufficientCashBalanceException,
                         NotEnoughPositionsException,
                         InstrumentCannotTradeException,
                         WrongLimitPriceExeption
Throws:
AccountNotActiveException
InSufficientCashBalanceException
NotEnoughPositionsException
InstrumentCannotTradeException
WrongLimitPriceExeption

fillOrders

void fillOrders(java.util.List<OrderFill> orderFill)
                throws OrderCannotBeFilledException,
                       OrderFillQuantityMismatchException
Throws:
OrderCannotBeFilledException
OrderFillQuantityMismatchException

executeMatches

void executeMatches(java.util.List<OrderMatch> matches)
                    throws OrderCannotBeFilledException,
                           NotEnoughCashException,
                           NotValidAccountException,
                           NotEnoughPositionsException
Throws:
OrderCannotBeFilledException
NotEnoughCashException
NotValidAccountException
NotEnoughPositionsException


Copyright © 2009. All Rights Reserved.