- Legacy-Form stillgelegt: frm_main(.Designer/.resx) + frm_analytics(.Designer/.resx) geloescht, 'Open Legacy'-Menue aus LauncherForm entfernt. - Program.cs: IMongoDatabase-Registrierung + closed_trades-Cleanup weg; Trade-Nummerierung liest jetzt hoechste TradeId aus ICopyTradeLogRepository. - StartupHydrationService: Mongo-/Bson-Fallback entfernt (Settings kommen aus dem Repo; fehlende Accounts erhalten Default-Settings). - Alle Mongo*Repository (Core 4 + Modul 4) geloescht; DI-Zweige auf EF/MySQL reduziert (AddCorePersistence, CopyTradingModule). - ConfigMigrator: Mongo-Pfad (Run/MigrateSettings) entfernt; nur noch RunFromJson + VerifyMySql (kein Mongo-Treiber mehr). - Modelle: [BsonId] entfernt (EF-Keys via HasKey); ObjectId-Defaults -> Guid. - LiteDB-Shim (MongoDbLiteDBShim) geloescht; MongoDB.Driver- + LiteDB-Pakete aus App/Core entfernt; stale usings + user-sichtbare Strings bereinigt. - DatabaseOptions/appsettings.json: Mongo-Provider/Connection-Felder entfernt. - Build gruen; --verify-mysql bestaetigt 3 Accounts/3 Settings/32 Trader/2344 Markets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
803 B
C#
22 lines
803 B
C#
namespace PolyTraderSharp.Models
|
|
{
|
|
public class MarketData
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
public string ConditionId { get; set; } = string.Empty;
|
|
public string Question { get; set; } = string.Empty;
|
|
public string Slug { get; set; } = string.Empty;
|
|
public DateTime? EndDate { get; set; }
|
|
public bool Active { get; set; }
|
|
public bool Closed { get; set; }
|
|
public string Category { get; set; } = string.Empty;
|
|
|
|
// Will store the JSON array string of token IDs, e.g. "[\"123\", \"456\"]"
|
|
public string ClobTokenIds { get; set; } = string.Empty;
|
|
|
|
public string Outcomes { get; set; } = string.Empty; // e.g. "[\"Yes\", \"No\"]"
|
|
|
|
public bool NegRisk { get; set; }
|
|
}
|
|
}
|