Add updates scenario and strategy
This commit is contained in:
@@ -268,6 +268,16 @@ public class TradingService : ITradingService
|
||||
var fundingRates = _exchangeService.GetFundingRates();
|
||||
}
|
||||
|
||||
public void UpdateScenario(Scenario scenario)
|
||||
{
|
||||
_tradingRepository.UpdateScenario(scenario);
|
||||
}
|
||||
|
||||
public void UpdateStrategy(Strategy strategy)
|
||||
{
|
||||
_tradingRepository.UpdateStrategy(strategy);
|
||||
}
|
||||
|
||||
private async Task ManageTrader(TraderFollowup a, List<Ticker> tickers)
|
||||
{
|
||||
var shortAddress = a.Account.Address.Substring(0, 6);
|
||||
|
||||
Reference in New Issue
Block a user