Golden Dragon II, E-mail notification assistance.
Golden Dragon II, E-mail notification assistance.
10 Mar 2017, 16:02
Hello!
Has anyone tried to set up a “opened position” e-mail notification in this bot? I’ve done as followed:
protected override void OnPositionOpened(Position openedPosition)
{
Notifications.SendEmail("xxxxx@hotmail.com", "xxxxx@hotmail.com", "Golden Dragon", "Position Opened");
switch (openedPosition.TradeType)
{
case TradeType.Buy:
LongPositions++;
break;
case TradeType.Sell:
ShortPositions++;
break;
}.
But still can’t get the bot to send me the notification, has anyone had any luck with this issue?