Skip to content

Commit 8e2de9e

Browse files
committed
docs: improve adjust_trade_position formatting
1 parent 5ea7ba6 commit 8e2de9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/strategy-callbacks.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,8 @@ The combined stake currently allocated to the position is held in `trade.stake_a
772772
!!! Danger "Loose Logic"
773773
On dry and live run, this function will be called every `throttle_process_secs` (default to 5s). If you have a loose logic, (e.g. increase position if RSI of the last candle is below 30), your bot will do extra re-entry every 5 secs until you either it run out of money, hit the `max_position_adjustment` limit, or a new candle with RSI more than 30 arrived.
774774

775-
Same thing also can happen with partial exit. So be sure to have a strict logic and/or check for the last filled order and if an order is already open.
775+
Same thing also can happen with partial exit.
776+
So be sure to have a strict logic and/or check for the last filled order and if an order is already open.
776777

777778
!!! Warning "Performance with many position adjustments"
778779
Position adjustments can be a good approach to increase a strategy's output - but it can also have drawbacks if using this feature extensively.

0 commit comments

Comments
 (0)