protected override void OnPositionOpened(Position position)
 {
     var trade = new ServerTrade(position, position.EntryPrice, Symbol.Spread);
     trade.openTrade();
 }
 protected override void OnPositionClosed(Position position)
 {
     var trade = new ServerTrade(position, Symbol.Bid, Symbol.Spread);
     trade.closeTrade();
 }