-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathOrder.cs
More file actions
31 lines (30 loc) · 969 Bytes
/
Order.cs
File metadata and controls
31 lines (30 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MTsocketAPI.MT4
{
public class Order
{
public long TICKET { get; set; }
public int MAGIC { get; set; }
public string SYMBOL { get; set; }
public double LOTS { get; set; }
public string TYPE { get; set; }
public double PRICE_OPEN { get; set; }
public string OPEN_TIME { get; set; }
public double STOP_LOSS { get; set; }
public double SWAP { get; set; }
public double COMMISSION { get; set; }
public double TAKE_PROFIT { get; set; }
public double PROFIT { get; set; }
public string COMMENT { get; set; }
public string EXPIRATION { get; set; }
public override string ToString()
{
return JsonConvert.SerializeObject(this);
}
}
}