Add new parameters
This commit is contained in:
@@ -40,5 +40,18 @@ namespace Managing.Application.Abstractions
|
||||
|
||||
Task CloseTrade(Signal signal, Position position, Trade tradeToClose, decimal lastPrice,
|
||||
bool tradeClosingPosition = false);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current trading bot configuration.
|
||||
/// </summary>
|
||||
/// <returns>A copy of the current configuration</returns>
|
||||
TradingBotConfig GetConfiguration();
|
||||
|
||||
/// <summary>
|
||||
/// Updates the trading bot configuration with new settings.
|
||||
/// </summary>
|
||||
/// <param name="newConfig">The new configuration to apply</param>
|
||||
/// <returns>True if the configuration was successfully updated, false otherwise</returns>
|
||||
Task<bool> UpdateConfiguration(TradingBotConfig newConfig);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user