1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 04:20:57 +08:00

broadcast_to and get single data

This commit is contained in:
wangwenxi.handsome
2021-09-01 13:17:55 +00:00
committed by you-n-g
parent 9446116642
commit 4da3f3b104
2 changed files with 5 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ class CN1minNumpyQuote(BaseQuote):
# single data
# If it don't consider the classification of single data, it will consume a lot of time.
if is_single_value(start_time, end_time, self.freq) and method is not None:
if is_single_value(start_time, end_time, self.freq):
# this is a very special case.
# skip aggregating function to speed-up the query calculation
try: