Initial commit: Predictalytics solution

Clean Architecture .NET 8 solution (Domain/Application/Infrastructure/Api/Worker/WinFormsHost)
for analyzing Polymarket traders for copytrading/strategy-replication candidates.

Includes EF Core InitialBaseline migration and DB secrets removed from source/config
in preparation for version control.
This commit is contained in:
Richard
2026-07-01 19:53:29 +02:00
commit afb251acfc
107 changed files with 9613 additions and 0 deletions
@@ -0,0 +1,19 @@
using Serilog.Context;
namespace Predictalytics.Infrastructure.Logging;
/// <summary>
/// Helper to push platform context into Serilog LogContext for platform-filtered file sinks.
/// Usage: using (PlatformLogContext.Push("Polymarket")) { ... }
/// </summary>
public static class PlatformLogContext
{
/// <summary>
/// Pushes the platform name to the Serilog LogContext.
/// Dispose the returned IDisposable to remove it.
/// </summary>
public static IDisposable Push(string platformName)
{
return LogContext.PushProperty("Platform", platformName);
}
}