mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-29 03:27:48 +00:00
17 lines
388 B
C#
Executable File
17 lines
388 B
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MtApi
|
|
{
|
|
static class ExtensionMethods
|
|
{
|
|
public static MtQuote Parse(this MTApiService.MtQuote quote)
|
|
{
|
|
return (quote != null) ? new MtQuote(quote.Instrument, quote.Bid, quote.Ask) : null;
|
|
}
|
|
}
|
|
}
|