Leo

Results 3 issues of Leo

I want to predict the covid happend in hongkong, so the 2.0version is required which is sharply satisfy my requirement, please help me do that with the 2.0 code

`if self.features=='M' or self.features=='MS': cols_data = df_raw.columns[1:] df_data = df_raw[cols_data]` 这里为什么让`cols_data = df_raw.columns[1:]`?这样的话不是把target也放到features里面了嘛? 数据进入模型之前计算出的 `batch_x, batch_y, batch_x_mark, batch_y_mark`这四个变量,batch_x中确实是包括了target,不知道后续的模型内部计算时是不是使用某种方法把batch_x的最后一列target给去掉了? 这个地方有些看不懂,期待解惑

问题描述: 使用cta引擎,有时候在21:01分的bar会在21:00分提前闭合,而在09:00和13:00目前均没有遇到过此问题,即当前仅在夜盘的第一分钟的K线闭合存在可能的问题 1. 目前在windows和linux上均遇到了这个问题 2. 此问题是偶发性的,并非每天晚上21:01都会出现问题 3. 此前更换过ctp行情接收源,短暂解决过该问题,但近期又会时不时出现 使用以下代码在WtCtaTicker.cpp文件中定位到可能会出现问题的地方(124和203均为WTSLogger代码所在的行数): `WTSLogger::info("i am from line 124 {} {} {} {}", minutes, _next_check_time, _last_emit_pos, _cur_pos);` `WTSLogger::info("i am from line 203 {} {} {}...