| | |
| | | protected HighLowHandleJob highLowHandleJob; |
| | | // @Autowired 外汇 |
| | | // protected StockGetDataJob stockGetDataJob; |
| | | // @Autowired |
| | | // protected ForexGetDataJob forexGetDataJob; |
| | | @Autowired |
| | | protected ForexGetDataJob forexGetDataJob; |
| | | @Autowired |
| | | protected CryptosGetDataJob cryptosGetDataJob; |
| | | @Autowired |
| | |
| | | } |
| | | |
| | | klineLoadCache.loadCache(); |
| | | // String symbols = items.stream().map(Item::getSymbol).collect(Collectors.joining(",")); |
| | | String symbols = items.stream().map(Item::getSymbol).collect(Collectors.joining(",")); |
| | | // 数据有问题初始化一下 |
| | | // klineInitService.klineInit(symbols); 外汇 |
| | | klineInitService.klineInit(symbols); //外汇 |
| | | // 高低修正 |
| | | highLowHandleJob.start(); |
| | | // stockGetMarketJob.start(); |
| | | // // 获取realtime实时数据 |
| | | // stockGetDataJob.start(); |
| | | // forexGetDataJob.start(); |
| | | forexGetDataJob.start(); |
| | | cryptosGetDataJob.start(); |
| | | fakeSymbolGetDataJob.start(); |
| | | // 实时数据批量保存线程 |