isGreaterThanTheATHRestrictionPrice = data => {
  const {
    symbolConfiguration: {
      buy: {
        currentGridTradeIndex,
        athRestriction: { enabled: buyATHRestrictionEnabled }
      }
    },
    buy: {
      triggerPrice: buyTriggerPrice,
      athRestrictionPrice: buyATHRestrictionPrice
    }
  } = data;

  return (
    currentGridTradeIndex === 0 &&
    buyATHRestrictionEnabled === true &&
    buyTriggerPrice >= buyATHRestrictionPrice
  );
}
Check whether trigger price within the buying restriction price or not

 - current grid trade must be first grid trade.
 - ATH restriction must be enabled.
 - buy trigger price must be higher than ATH restriction price.

@param {*} data
@returns