31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
using Managing.Application.Abstractions;
|
|
using Managing.Application.Abstractions.Services;
|
|
using Managing.Domain.Bots;
|
|
using Microsoft.Extensions.Logging;
|
|
using static Managing.Common.Enums;
|
|
|
|
namespace Managing.Application.Bots
|
|
{
|
|
public class ScalpingBot : TradingBot
|
|
{
|
|
public ScalpingBot(
|
|
IExchangeService exchangeService,
|
|
ILogger<TradingBot> logger,
|
|
ITradingService tradingService,
|
|
IAccountService accountService,
|
|
IMessengerService messengerService,
|
|
IBotService botService,
|
|
TradingBotConfig config)
|
|
: base(exchangeService, logger, tradingService, accountService, messengerService, botService, config)
|
|
{
|
|
Config.BotType = BotType.ScalpingBot;
|
|
}
|
|
|
|
public sealed override void Start()
|
|
{
|
|
Logger.LogInformation($"{Name} - Bot Started");
|
|
base.Start();
|
|
Logger.LogInformation($"Starting {Name} bot - Status : {Status}");
|
|
}
|
|
}
|
|
} |