We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the code
count= 240 # *240 end = tf.combine_time(tf.day_shift(datetime.date.today(), -8), 15) start = tf.shift(end, -count, FrameType.MIN30) code = '002643.XSHE' bars = await Stock.get_bars_in_range(code, FrameType.MIN30, start, end, fq=True)
will always return bars up to now. For example, if today is 2022, 9, 14, then it will return up to 2022, 9, 13
The text was updated successfully, but these errors were encountered:
🐞 fix: get_bars_in_range returns bars up to now
03fac4b
1. #43 get_bars_in_range always returns bars up to now. 2. _format_tick in candlestick cannot handle date 3. use 2 std deviation to judge breakout
zillionare
No branches or pull requests
the code
will always return bars up to now. For example, if today is 2022, 9, 14, then it will return up to 2022, 9, 13
The text was updated successfully, but these errors were encountered: