Files
mtapi/MtApi5/Mt5Quote.cs
T

26 lines
605 B
C#
Raw Normal View History

using MTApiService;
namespace MtApi5
2014-10-31 09:05:52 +02:00
{
public class Mt5Quote
{
public string Instrument { get; }
public double Bid { get; }
public double Ask { get; }
public int ExpertHandle { get; set; }
2014-10-31 09:05:52 +02:00
private Mt5Quote(string instrument, double bid, double ask)
2014-10-31 09:05:52 +02:00
{
Instrument = instrument;
Bid = bid;
Ask = ask;
}
internal Mt5Quote(MtQuote quote)
:this(quote.Instrument, quote.Bid, quote.Ask)
{
ExpertHandle = quote.ExpertHandle;
}
2014-10-31 09:05:52 +02:00
}
}