Esempio n. 1
0
 public MicexSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("OrderBookDepth", null);
     ExtensionInfo.TryAdd("RequestAllDepths", true);
     ExtensionInfo.TryAdd("MicexLogLevel", null);
 }
Esempio n. 2
0
 public QuikSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("LuaAddress", QuikTrader.DefaultLuaAddress.To <string>());
     ExtensionInfo.TryAdd("LuaLogin", string.Empty);
     ExtensionInfo.TryAdd("LuaPassword", new SecureString());
 }
Esempio n. 3
0
 public MicexSettings(HydraTaskSettings settings)
     : base(settings)
 {
     CollectionHelper.TryAdd(ExtensionInfo, "OrderBookDepth", null);
     ExtensionInfo.TryAdd("RequestAllDepths", true);
     CollectionHelper.TryAdd(ExtensionInfo, "MicexLogLevel", null);
     ExtensionInfo.TryAdd("OverrideDll", true);
 }
Esempio n. 4
0
            public IQFeedSettings(HydraTaskSettings settings)
                : base(settings)
            {
                // убрать через несколько версий
                var types = ExtensionInfo.TryGetValue("Types") as IEnumerable <SecurityTypes>;

                if (types != null)
                {
                    Types = types;
                }

                ExtensionInfo.TryAdd("IgnoreWeekends", true);
            }
Esempio n. 5
0
 public MBTradingSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("UseTemporaryFiles", TempFiles.UseAndDelete.To <string>());
 }
Esempio n. 6
0
 public YahooSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("IgnoreWeekends", true);
 }
Esempio n. 7
0
 public BitStampSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("Key", new SecureString());
     ExtensionInfo.TryAdd("Secret", new SecureString());
 }
Esempio n. 8
0
 public ConvertTaskSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("DestinationStorageFormat", StorageFormats.Binary.To <string>());
 }
Esempio n. 9
0
 public ExportSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("Header", string.Empty);
 }
Esempio n. 10
0
 public RtsCompetitionSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("IgnoreWeekends", true);
 }
Esempio n. 11
0
 public ConvertTaskSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("DestinationStorageFormat", StorageFormats.Binary.To <string>());
     ExtensionInfo.TryAdd("MarketDepthBuilder", OrderLogBuilders.Plaza2.To <string>());
 }
Esempio n. 12
0
 public AlorHistorySettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("CandleDayStep", 30);
 }
Esempio n. 13
0
 public YahooSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("CandleDayStep", 30);
 }
Esempio n. 14
0
 public TransaqSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("OverrideDll", true);
 }