Files
managing-apps/src/Managing.Application/ManageBot/Commands/StartBotCommand.cs
Oda 7c38c27b4a Fixes for bots running (#22)
* Fixes for bots running

* Up botmanager

* Add cooldown

* Refact can open position

* Add cooldown Period and MaxLossStreak

* Add agentName

* Add env variable for botManager

* Always enable Botmanager

* Fix bot handle

* Fix get positions

* Add Ticker url

* Dont start stopped bot

* fix
2025-05-09 22:40:31 +07:00

21 lines
497 B
C#

using Managing.Application.Bots;
using Managing.Domain.Users;
using MediatR;
namespace Managing.Application.ManageBot.Commands
{
public class StartBotCommand : IRequest<string>
{
public string Name { get; }
public TradingBotConfig Config { get; }
public User User { get; }
public StartBotCommand(TradingBotConfig config, string name, User user)
{
Config = config;
Name = name;
User = user;
}
}
}