Skip to content
New issue

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

CombinedBinHClucAndMADV9 Custom Stoploss Error #1

Closed
MrHumanRebel opened this issue Jun 17, 2021 · 1 comment
Closed

CombinedBinHClucAndMADV9 Custom Stoploss Error #1

MrHumanRebel opened this issue Jun 17, 2021 · 1 comment

Comments

@MrHumanRebel
Copy link

MrHumanRebel commented Jun 17, 2021

2021-06-17 11:50:05,167 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error single positional indexer is out-of-bounds calling <bound method CombinedBinHClucAndMADV9.custom_stoploss of <CombinedBinHClucAndMADV9.CombinedBinHClucAndMADV9 object at 0x7fb99d607d90>>
Traceback (most recent call last):
File "/home/develop/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper
return f(*args, **kwargs)
File "/home/develop/freqtrade/user_data/strategies/CombinedBinHClucAndMADV9.py", line 172, in custom_stoploss
candle = dataframe.iloc[-number_of_candle_shift].squeeze()
File "/home/develop/freqtrade/.env/lib/python3.8/site-packages/pandas/core/indexing.py", line 895, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "/home/develop/freqtrade/.env/lib/python3.8/site-packages/pandas/core/indexing.py", line 1501, in _getitem_axis
self._validate_integer(key, axis)
File "/home/develop/freqtrade/.env/lib/python3.8/site-packages/pandas/core/indexing.py", line 1444, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
2021-06-17 11:50:05,167 - freqtrade - ERROR - single positional indexer is out-of-bounds

Latest c4bc47e FreqTrade
Bare Linux Mint Latest

@i1ya
Copy link
Owner

i1ya commented Jun 17, 2021

Hi!
Thanks for bug reporting.
Yeah, looks like some it happen with some pairs. Will fix it as soon as possible.

i1ya pushed a commit that referenced this issue Jun 17, 2021
@i1ya i1ya closed this as completed Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants