mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-09 00:47:51 +00:00
Added OrderSendRequest/OrderSendResponse. Changed functions OrderSend to use request pattern
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace MtApi.Requests
|
||||
{
|
||||
public class OrderSendRequest: RequestBase
|
||||
{
|
||||
public string Symbol { get; set; }
|
||||
public int Cmd { get; set; }
|
||||
public double Volume { get; set; }
|
||||
|
||||
public double? Price { get; set; }
|
||||
public int? Slippage { get; set; }
|
||||
public double? Stoploss { get; set; }
|
||||
public double? Takeprofit { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int? Magic { get; set; }
|
||||
public int? Expiration { get; set; }
|
||||
public int? ArrowColor { get; set; }
|
||||
|
||||
public override RequestType RequestType
|
||||
{
|
||||
get { return RequestType.OrderSend; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user