-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修改内容: 1)将原来在usage.md中的,有关问题解决的,移到了help.md中 2)重新编排了usage.md 3) fellower.py增加了re_search函数,以解决原来的re_find函数导致的“look-behind requires fixed-width pattern”错误。 4)joinquant_follower.py修改了函数:extract_strategy_id和 extract_strategy_name, 以能取到正确的id和name;修改了stock_shuffle_to_prefix函数中transaction["datetime"]在转换时的一个小错误。 修改效果:joinquant follow可用了。 局部测试中,已经可以顺利取到历史交易记录并送入交易队列中。(调试的时候,将joinquant_follower的create_query_transaction_params函数中,today_str = '2020-5-29'这样去强行赋予了一个历史日期)。所以,today_str恢复原状了,应该可以取到实时数据了,这有待观察。 【唉,很笨的调试方法】。
- Loading branch information
Showing
4 changed files
with
138 additions
and
96 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.