Re-add getting buy orders in docs
This commit is contained in:
parent
57067ce88d
commit
45a2298929
@ -654,6 +654,7 @@ class DigDeeperStrategy(IStrategy):
|
|||||||
if last_candle['close'] < previous_candle['close']:
|
if last_candle['close'] < previous_candle['close']:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
filled_buys = trade.select_filled_orders('buy')
|
||||||
count_of_buys = trade.nr_of_successful_buys
|
count_of_buys = trade.nr_of_successful_buys
|
||||||
# Allow up to 3 additional increasingly larger buys (4 in total)
|
# Allow up to 3 additional increasingly larger buys (4 in total)
|
||||||
# Initial buy is 1x
|
# Initial buy is 1x
|
||||||
|
Loading…
Reference in New Issue
Block a user