Add funding rate watcher (#2)
* Add FundingRate interfaces and worker * Add build on PR * Remove zip * Specify the solution path * Add build for worker too * Set up StatisticService.cs for funding rate * Add Fundingrate alerts * Send alert when big funding rate change + add SlashCommands.cs for fundingrate * Remove fixtures * Refact names * Renames
This commit is contained in:
@@ -6,7 +6,9 @@ namespace Managing.Application.Abstractions.Services;
|
||||
|
||||
public interface IMessengerService
|
||||
{
|
||||
Task SendSignal(string message, TradingExchanges exchange, Ticker ticker, TradeDirection direction, Timeframe timeframe);
|
||||
Task SendSignal(string message, TradingExchanges exchange, Ticker ticker, TradeDirection direction,
|
||||
Timeframe timeframe);
|
||||
|
||||
Task SendPosition(Position position);
|
||||
Task SendClosingPosition(Position position);
|
||||
Task SendMessage(string v);
|
||||
@@ -16,4 +18,7 @@ public interface IMessengerService
|
||||
Task SendDecreasePosition(string address, Trade newTrade, decimal decreaseAmount);
|
||||
Task SendBestTraders(List<Trader> traders);
|
||||
Task SendBadTraders(List<Trader> filteredTrader);
|
||||
}
|
||||
Task SendDowngradedFundingRate(FundingRate oldRate);
|
||||
Task SendNewTopFundingRate(FundingRate newRate);
|
||||
Task SendFundingRateUpdate(FundingRate oldRate, FundingRate newRate);
|
||||
}
|
||||
Reference in New Issue
Block a user