| | |
| | | string buyTime; |
| | | string buyOnePrice; |
| | | string buyOneVolumn; |
| | | //成交队列 |
| | | list<string> buyQueue; |
| | | }; |
| | | |
| | | typedef void (*CallbackFun)(int index, string code,long captureTime,long processTime, list<TradeData*> dataList, void* contex); |
| | |
| | | |
| | | static void _run_trade_queue(int index); |
| | | |
| | | //识别买入队列 |
| | | static std::list<string> captureLevel2TradeQueueBuyData(OpenCLExcuter* openCLExcuter, cv::Mat& grayImg,int identify); |
| | | |
| | | //灰度图像 |
| | | static cv::Mat grayImg(OpenCLExcuter* openCLExcuter, cv::Mat& oImg); |
| | | |
| | | |
| | | public: |
| | |
| | | |
| | | //捕获level2的盘口数据 |
| | | static list<TradeData*> captureLevel2TradeData(HWND hwnd,int index) throw(int); |
| | | static list<TradeData*> captureLevel2TradeData(cv::Mat& oimg,int identify); |
| | | static list<TradeData*> captureLevel2TradeData(cv::Mat& oimg, int identify); |
| | | static list<TradeData*> captureLevel2TradeData(OpenCLExcuter *openCLExcuter, cv::Mat& oimg, int identify); |
| | | |
| | | |
| | | static L2TradeQueue captureLevel2TradeQueueData(HWND hwnd, int index); |
| | | static L2TradeQueue captureLevel2TradeQueueData(cv::Mat& oimg, int identify); |
| | | static L2TradeQueue captureLevel2TradeQueueData(OpenCLExcuter* openCLExcuter, cv::Mat& oimg, int identify); |
| | | |
| | | static L2TradeQueue captureLevel2TradeQueueData(cv::Mat& oimg, cv::Rect buyQueueArea, int identify); |
| | | static L2TradeQueue captureLevel2TradeQueueData(OpenCLExcuter* openCLExcuter, cv::Mat& oimg, cv::Rect buyQueueArea, int identify); |
| | | // 买卖队列概要信息识别 |
| | | static L2TradeQueue captureLevel2TradeQueueViewData(OpenCLExcuter* openCLExcuter, cv::Mat& grayImg, int identify); |
| | | |
| | | |
| | | |