34 lines
2.1 KiB
C#
34 lines
2.1 KiB
C#
using FinlyticCore.Models.Settings;
|
|
|
|
namespace FinlyticAnalyzer.Util;
|
|
|
|
public static class SettingKeys
|
|
{
|
|
// --- Logging-Kanäle ---
|
|
public static readonly SettingKey<bool> AnalyzerChannel = new("Logging.Channel.Analyzer", true);
|
|
public static readonly SettingKey<bool> MqttChannel = new("Logging.Channel.MQTT", true);
|
|
public static readonly SettingKey<bool> HealthPingChannel = new("Logging.Channel.Health", true);
|
|
|
|
// --- Makro & VIX Schwellenwerte ---
|
|
public static readonly SettingKey<double> VixPanicThreshold = new("Macro.VixPanicThreshold", 28.0);
|
|
public static readonly SettingKey<double> VixElevatedThreshold = new("Macro.VixElevatedThreshold", 20.0);
|
|
public static readonly SettingKey<int> VixPollIntervalSeconds = new("Macro.VixPollIntervalSeconds", 60);
|
|
|
|
// --- Filter & Winrate-Logik ---
|
|
public static readonly SettingKey<double> MinWinRateThreshold = new("Filter.MinWinRateThreshold", 60.0);
|
|
public static readonly SettingKey<double> WeightMacro = new("Filter.WeightMacro", 0.30);
|
|
public static readonly SettingKey<double> WeightFundamental = new("Filter.WeightFundamental", 0.30);
|
|
public static readonly SettingKey<double> WeightSentiment = new("Filter.WeightSentiment", 0.20);
|
|
public static readonly SettingKey<double> WeightTechnical = new("Filter.WeightTechnical", 0.20);
|
|
|
|
// --- Trade & Risiko-Parameter ---
|
|
public static readonly SettingKey<double> DefaultTakeProfitPercent = new("Trade.DefaultTakeProfitPercent", 15.0);
|
|
public static readonly SettingKey<double> DefaultStopLossPercent = new("Trade.DefaultStopLossPercent", 5.0);
|
|
public static readonly SettingKey<int> MaxAllowedLeverage = new("Trade.MaxAllowedLeverage", 10);
|
|
public static readonly SettingKey<double> MaxRiskPerTradePercent = new("Trade.MaxRiskPerTradePercent", 2.0);
|
|
public static readonly SettingKey<int> ProposalValidityHours = new("Trade.ProposalValidityHours", 24);
|
|
|
|
// --- N8N / Webhook-Konfiguration ---
|
|
public static readonly SettingKey<string> N8nWebhookUrl = new("N8N.WebhookUrl", "https://n8n.kleidukos.me/webhook/gemini/analysis/auto");
|
|
}
|