* Add synthApi * Put confidence for Synth proba * Update the code * Update readme * Fix bootstraping * fix github build * Update the endpoints for scenario * Add scenario and update backtest modal * Update bot modal * Update interfaces for synth * add synth to backtest * Add Kelly criterion and better signal * Update signal confidence * update doc * save leaderboard and prediction * Update nswag to generate ApiClient in the correct path * Unify the trading modal * Save miner and prediction * Update messaging and block new signal until position not close when flipping off * Rename strategies to indicators * Update doc * Update chart + add signal name * Fix signal direction * Update docker webui * remove crypto npm * Clean
42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using Managing.Infrastructure.Databases.MongoDb.Attributes;
|
|
using Managing.Infrastructure.Databases.MongoDb.Configurations;
|
|
|
|
namespace Managing.Infrastructure.Databases.MongoDb.Collections;
|
|
|
|
/// <summary>
|
|
/// MongoDB DTO for storing Synth miners leaderboard data
|
|
/// </summary>
|
|
[BsonCollection("SynthMinersLeaderboard")]
|
|
public class SynthMinersLeaderboardDto : Document
|
|
{
|
|
/// <summary>
|
|
/// Asset symbol (e.g., "BTC", "ETH")
|
|
/// </summary>
|
|
public string Asset { get; set; }
|
|
|
|
/// <summary>
|
|
/// Time increment used for this leaderboard data
|
|
/// </summary>
|
|
public int TimeIncrement { get; set; }
|
|
|
|
/// <summary>
|
|
/// Signal date for which this leaderboard was retrieved (for backtests)
|
|
/// Null for live trading data
|
|
/// </summary>
|
|
public DateTime? SignalDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether this is backtest data or live data
|
|
/// </summary>
|
|
public bool IsBacktest { get; set; }
|
|
|
|
/// <summary>
|
|
/// Serialized JSON of miners list
|
|
/// </summary>
|
|
public string MinersData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Cache key for quick lookup
|
|
/// </summary>
|
|
public string CacheKey { get; set; }
|
|
} |