| OrderClientOrderSend Method (String, Op, Double, Double) | 
        
         
            The main function used to open a position or place a pending order.
            
 
    Namespace: 
   TradingAPI.MT4Server
    Assembly:
   MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
 Syntax
Syntaxpublic Order OrderSend(
	string symbol,
	Op operation,
	double volume,
	double price
)
Public Function OrderSend ( 
	symbol As String,
	operation As Op,
	volume As Double,
	price As Double
) As Order
public:
Order^ OrderSend(
	String^ symbol, 
	Op operation, 
	double volume, 
	double price
)
member OrderSend : 
        symbol : string * 
        operation : Op * 
        volume : float * 
        price : float -> Order 
Parameters
- symbol
- Type: SystemString
 Symbol for trading.
- operation
- Type: TradingAPI.MT4ServerOp
 Operation type.
- volume
- Type: SystemDouble
 Number of lots.
- price
- Type: SystemDouble
 Preferred price of the trade.
Return Value
Type: 
OrderOpened order.
 Exceptions
Exceptions See Also
See Also