Update pricing timing
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
using Orleans;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
/// <summary>
|
||||
/// Orleans grain interface for 5-minute price fetching operations.
|
||||
/// This stateless worker grain handles fetching 5-minute price data from external APIs
|
||||
/// and publishing to Orleans streams.
|
||||
/// </summary>
|
||||
public partial interface IPriceFetcher15MinGrain : IGrainWithIntegerKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Fetches 5-minute price data for all supported exchange/ticker combinations
|
||||
/// and publishes new candles to their respective streams.
|
||||
/// </summary>
|
||||
/// <returns>True if the operation completed successfully, false otherwise</returns>
|
||||
Task<bool> FetchAndPublishPricesAsync();
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
using Orleans;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
/// <summary>
|
||||
/// Orleans grain interface for daily price fetching operations.
|
||||
/// This stateless worker grain handles fetching daily price data from external APIs
|
||||
/// and publishing to Orleans streams.
|
||||
/// </summary>
|
||||
public interface IPriceFetcher1DayGrain : IGrainWithIntegerKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Fetches daily price data for all supported exchange/ticker combinations
|
||||
/// and publishes new candles to their respective streams.
|
||||
/// </summary>
|
||||
/// <returns>True if the operation completed successfully, false otherwise</returns>
|
||||
Task<bool> FetchAndPublishPricesAsync();
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
using Orleans;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
/// <summary>
|
||||
/// Orleans grain interface for 1-hour price fetching operations.
|
||||
/// This stateless worker grain handles fetching 1-hour price data from external APIs
|
||||
/// and publishing to Orleans streams.
|
||||
/// </summary>
|
||||
public interface IPriceFetcher1HourGrain : IGrainWithIntegerKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Fetches 1-hour price data for all supported exchange/ticker combinations
|
||||
/// and publishes new candles to their respective streams.
|
||||
/// </summary>
|
||||
/// <returns>True if the operation completed successfully, false otherwise</returns>
|
||||
Task<bool> FetchAndPublishPricesAsync();
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
using Orleans;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
/// <summary>
|
||||
/// Orleans grain interface for 4-hour price fetching operations.
|
||||
/// This stateless worker grain handles fetching 4-hour price data from external APIs
|
||||
/// and publishing to Orleans streams.
|
||||
/// </summary>
|
||||
public interface IPriceFetcher4HourGrain : IGrainWithIntegerKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Fetches 4-hour price data for all supported exchange/ticker combinations
|
||||
/// and publishes new candles to their respective streams.
|
||||
/// </summary>
|
||||
/// <returns>True if the operation completed successfully, false otherwise</returns>
|
||||
Task<bool> FetchAndPublishPricesAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user