Fix bot a bit

This commit is contained in:
2025-03-03 06:24:36 +01:00
parent c0d54f35f5
commit c28a4310b4
3 changed files with 4 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ public class TradingController : ControllerBase
/// </summary>
/// <param name="identifier">The unique identifier of the position to close.</param>
/// <returns>The closed position.</returns>
[HttpGet("ClosePosition")]
[HttpPost("ClosePosition")]
public async Task<ActionResult<Position>> ClosePosition(string identifier)
{
var position = _tradingService.GetPositionByIdentifier(identifier);