docker files fixes from liaqat
This commit is contained in:
@@ -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}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user