We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f5df7 commit faf2818Copy full SHA for faf2818
1 file changed
docs/strategy-advanced.md
@@ -33,7 +33,7 @@ class AwesomeStrategy(IStrategy):
33
trade_entry_type = trade.get_custom_data(key='entry_type')
34
if trade_entry_type is None:
35
trade_entry_type = 'breakout' if 'entry_1' in trade.enter_tag else 'dip'
36
- elif fills > 1:
+ elif len(fills) > 1:
37
trade_entry_type = 'buy_up'
38
trade.set_custom_data(key='entry_type', value=trade_entry_type)
39
return super().bot_loop_start(**kwargs)
0 commit comments