思路启发:
https://www.zhihu.com/question/55505229
https://www.joinquant.com/algorithm/index/edit?algorithmId=1ee1d35a52a4151a1ec580d21934f15b&f=