admin
2022-06-30 a17738e1545ff7dbef6398b8ec1eab93ab59c9a1
ConsoleApplication/RecognitionManager.cpp
@@ -53,11 +53,11 @@
      {
         if (rowData[(index-1) * 4] > 0) {
            //涨停
            (tradeData).limitPrice = true;
            (tradeData).limitPrice = LIMIT_PRICE_UP;
         }
         else
         {
            (tradeData).limitPrice = false;
            (tradeData).limitPrice = LIMIT_PRICE_NORMAL;
         }
      }
      break;
@@ -405,16 +405,16 @@
   //LogUtil::debug("像素值:%d\n", pixelCount);
   if (abs(pixelCount - 39) < 5) {
      return BUY;
      return OPERATE_BUY;
   }
   else if (abs(pixelCount - 51) < 5) {
      return SELL;
      return OPERATE_SELL;
   }
   else if (abs(pixelCount - 105) < 5) {
      return BUY_CANCEL;
      return OPERATE_BUY_CANCEL;
   }
   else if (abs(pixelCount - 117) < 5) {
      return SELL_CANCEL;
      return OPERATE_SELL_CANCEL;
   }
   //pixelSet.insert(pixelCount);
@@ -438,7 +438,7 @@
   //}
   return OPERATE_ERROR;
   return OPERATE_OPERATE_ERROR;
}
std::string RecognitionManager::recognitionPrice(std::string cpath) {