Erster Commit des bestehenden monolithischen WinForms-Copytraders, inklusive der Alt-Backups (*.bak), damit diese dauerhaft in der Historie rekonstruierbar bleiben. Threema-Lib unter libs/ wurde vendored (nested .git entfernt). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
850 B
C#
22 lines
850 B
C#
namespace PolyTraderSharp.Models
|
|
{
|
|
public class MarketData
|
|
{
|
|
[MongoDB.Bson.Serialization.Attributes.BsonId] 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; }
|
|
}
|
|
}
|