docker files fixes from liaqat

This commit is contained in:
alirehmani
2024-05-03 16:39:25 +05:00
commit 464a8730e8
587 changed files with 44288 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using Managing.Domain.Trades;
namespace Managing.Infrastructure.Messengers.Discord;
public class MessengerHelpers
{
public static string GetPositionMessage(Position position)
{
return $"Position : {position.OriginDirection} {position.Open.Ticker} \n" +
$"Open Price : {position.Open.Price} \n" +
$"Quantity : {position.Open.Quantity}. \n" +
$"SL : {position.StopLoss.Price} \n" +
$"TP : {position.TakeProfit1.Price}";
}
}