Price reminder and init approval

* Start price reminder grain

* Add config and init grain at startup

* Save init wallet when already init
This commit is contained in:
Oda
2025-09-13 02:29:14 +07:00
committed by GitHub
parent da50b30344
commit 56b4f14eb3
69 changed files with 2373 additions and 701 deletions

View File

@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using Managing.Common;
using Orleans;
using Skender.Stock.Indicators;
using static Managing.Common.Enums;
namespace Managing.Domain.Candles
{
@@ -9,10 +9,10 @@ namespace Managing.Domain.Candles
public class Candle : IQuote
{
[Id(0)]
[Required] public Enums.TradingExchanges Exchange { get; set; }
[Required] public TradingExchanges Exchange { get; set; }
[Id(1)]
[Required] public string Ticker { get; set; }
[Required] public Ticker Ticker { get; set; }
[Id(2)]
[Required] public DateTime OpenTime { get; set; }
@@ -33,7 +33,7 @@ namespace Managing.Domain.Candles
[Required] public decimal Low { get; set; }
[Id(8)]
[Required] public Enums.Timeframe Timeframe { get; set; }
[Required] public Timeframe Timeframe { get; set; }
[Id(9)]
public decimal Volume { get; set; }