@Override
  @Transactional
  public Ibd50Tracking updateActivity(Ibd50Tracking tracker) {
    Ibd50Tracking updatedTracker = ibd50TrackingRepo.findOne(tracker.getId());

    updatedTracker.setActive(tracker.getActive());
    updatedTracker.setLastPrice(tracker.getLastPrice());
    updatedTracker.setLeaveDate(tracker.getLeaveDate());
    updatedTracker.setPercentReturn(tracker.getPercentReturn());

    return ibd50TrackingRepo.save(updatedTracker);
  }
  @Override
  @Transactional(rollbackFor = SecuritiesNotFound.class)
  public Ibd50Tracking update(Ibd50Tracking ibd50Tracking) throws SecuritiesNotFound {
    Ibd50Tracking updatedIbd50Tracking = ibd50TrackingRepo.findOne(ibd50Tracking.getId());

    if (updatedIbd50Tracking == null) {
      throw new SecuritiesNotFound();
    }

    // updatedIbd50Tracking.setRank(Ibd50Tracking.getRank());

    return updatedIbd50Tracking;
  }