Esempio n. 1
0
	private Bar GetBarPrefab(BarType barType) {
		if (barType == BarType.PlainBar) return plainBarPrefab;
		else if (barType == BarType.ButtonBar) return buttonBarPrefab;
		else {
			Debug.LogError("invalid bar type: " + barType.ToString());
			return null;
		}
	}
Esempio n. 2
0
 public static void DeleteBar(Instrument instrument, DateTime datetime, BarType barType, long barSize)
 {
     DataManager.DeleteDataObject(instrument, datetime, new string[]
     {
         "Bar",
         barType.ToString(),
         barSize.ToString()
     });
 }
Esempio n. 3
0
 public static void DeleteBarSeries(Instrument instrument, BarType barType, long barSize)
 {
     DataManager.DeleteDataSeries(instrument, new string[]
     {
         "Bar",
         barType.ToString(),
         barSize.ToString()
     });
 }
Esempio n. 4
0
		public static void DeleteBar(Instrument instrument, DateTime datetime, BarType barType, long barSize)
		{
			DataManager.DeleteDataObject(instrument, datetime, new string[]
			{
				"Bar",
				barType.ToString(),
				barSize.ToString()
			});
		}
Esempio n. 5
0
		public static void DeleteBarSeries(Instrument instrument, BarType barType, long barSize)
		{
			DataManager.DeleteDataSeries(instrument, new string[]
			{
				"Bar",
				barType.ToString(),
				barSize.ToString()
			});
		}