Exemple #1
0
 /// <summary>
 /// Reads in the map file at the specified path, returning null if any exceptions are encountered
 /// </summary>
 public static List <MapFileRow> SafeMapFileRowRead(string file)
 {
     try
     {
         return(MapFileRow.Read(file).ToList());
     }
     catch (Exception err)
     {
         Log.Error("MapFileResover.Create(): " + file + " \tError: " + err.Message);
         return(null);
     }
 }
Exemple #2
0
 /// <summary>
 /// Reads in an entire map file for the requested symbol from the DataFolder
 /// </summary>
 public static MapFile Read(string symbol)
 {
     return(new MapFile(symbol, MapFileRow.Read(symbol)));
 }
Exemple #3
0
 /// <summary>
 /// Reads in an entire map file for the requested symbol from the DataFolder
 /// </summary>
 public static MapFile Read(string symbol, string market)
 {
     return(new MapFile(symbol, MapFileRow.Read(symbol, market)));
 }