Exemple #1
0
 public MicexSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("OrderBookDepth", null);
     ExtensionInfo.TryAdd("RequestAllDepths", true);
     ExtensionInfo.TryAdd("MicexLogLevel", null);
 }
Exemple #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());
 }
Exemple #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);
 }
Exemple #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);
            }
 public MBTradingSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("UseTemporaryFiles", TempFiles.UseAndDelete.To <string>());
 }
Exemple #6
0
 public YahooSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("IgnoreWeekends", true);
 }
 public BitStampSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("Key", new SecureString());
     ExtensionInfo.TryAdd("Secret", new SecureString());
 }
Exemple #8
0
 public ConvertTaskSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("DestinationStorageFormat", StorageFormats.Binary.To <string>());
 }
Exemple #9
0
 public ExportSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("Header", string.Empty);
 }
Exemple #10
0
 public RtsCompetitionSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("IgnoreWeekends", true);
 }
Exemple #11
0
 public ConvertTaskSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("DestinationStorageFormat", StorageFormats.Binary.To <string>());
     ExtensionInfo.TryAdd("MarketDepthBuilder", OrderLogBuilders.Plaza2.To <string>());
 }
Exemple #12
0
 public AlorHistorySettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("CandleDayStep", 30);
 }
Exemple #13
0
 public YahooSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("CandleDayStep", 30);
 }
Exemple #14
0
 public TransaqSettings(HydraTaskSettings settings)
     : base(settings)
 {
     ExtensionInfo.TryAdd("OverrideDll", true);
 }