Open
Conversation
Added a threading lock to prevent concurrent task execution.Fixed the problem when monitor and portfolio running togther the jobs start twice every time.
TDX返回数据时倒序,在使用iloc[::-1]倒序后,tail重新取回尾端数据导致kline数据获取错误。修改为直接取头端数据,并增加kline数据日期校验日志。
python在输出到非交互模式时默认采用块缓冲,缓冲区未满时可能导致日志延迟吐出?(验证已解决,原理不确定)
1、当前函数获取的为系列指数,symbol取值非法 2、获取值为系列指数,增加二次查找所需大盘指数 3、为保持后续数据延展性,沿用原函数获取系列数据
1、将db读取的UTC时间转化为本地时间
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1、增加持仓管理调度器锁,防止在调度器交叉调度时任务被重复调度
2、AI耵盘TDX数据源翻转后tail取回最早的尾端数据,修正为翻转后取顶端数据
3、compose文件增加禁用缓冲,解决docker运行时日志延迟吐出问题
4、修正智策板块大盘数据获取方法的取值错误
5、实时监测发送通知时触发时间由UTC时间转换为本地时间