Created
June 28, 2020 07:27
-
-
Save saleh-old/7f5f394deea31d9aa4ebe2e7c8970edc to your computer and use it in GitHub Desktop.
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
# "4" is the index of low of the candle in Jesse's strategy API. | |
# for more, read https://docs.jesse-ai.com/docs/strategies/api.html#current-candle | |
last_20_lows = self.candles[-20:, 4] | |
previous_low = np.min(last_20_lows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment