public static double TranslateFromPipPrice(string symbol, int pipPrice) { return (double)(pipPrice / Math.Pow(10, Precision.GetPrecision(symbol))); }
public static int TranslateToPipPrice(string symbol, double price) { return (int)(Math.Pow(10, Precision.GetPrecision(symbol)) * price); }