Add isLiveTrading helper to fix bug

This commit is contained in:
2025-12-04 23:42:09 +07:00
parent b44e1f66a7
commit 78edd850fe
8 changed files with 123 additions and 106 deletions

View File

@@ -13,8 +13,8 @@ public interface ICandleStoreGrain : IGrainWithStringKey
/// <summary>
/// Gets the current list of historical candles (up to 500 most recent)
/// </summary>
/// <returns>List of candles ordered by date</returns>
Task<HashSet<Candle>> GetCandlesAsync();
/// <returns>Read-only list of candles ordered by date</returns>
Task<IReadOnlyList<Candle>> GetCandlesAsync();
/// <summary>
/// Gets the X latest candles from the store
/// </summary>