Skip to content

Commit 7ae8971

Browse files
committed
docs: update docs for lookahead analysis override
1 parent a2c3729 commit 7ae8971

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/lookahead-analysis.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This is done by not looking at the strategy code itself, but at changed indicato
2222
- `--dry-run-wallet` is forced to be basically infinite (1 billion).
2323
- `--stake-amount` is forced to be a static 10000 (10k).
2424
- `--enable-protections` is forced to be off.
25+
- `order_types` are forced to be "market" (late entries) unless `--lookahead-allow-limit-orders` is set.
2526

2627
These are set to avoid users accidentally generating false positives.
2728

@@ -99,6 +100,9 @@ This would lead to a false-negative, i.e. the strategy will be reported as non-b
99100
Please don't use any options like enabling position stacking as this will distort the number of checked signals.
100101
If you decide to do so, then make doubly sure that you won't ever run out of `max_open_trades` slots,
101102
and that you have enough capital in the backtest wallet configuration.
103+
- limit orders in combination with `custom_entry_price()` and `custom_exit_price()` callbacks can cause late / delayed entries and exists, causing false positives.
104+
To avoid this - market orders are forced for this command. This implicitly means that `custom_entry_price()` and `custom_exit_price()` callbacks are not called.
105+
Using `--lookahead-allow-limit-orders` will skip the override and use your configured order types - however has shown to eventually produce false positives.
102106
- In the results table, the `biased_indicators` column
103107
will falsely flag FreqAI target indicators defined in `set_freqai_targets()` as biased.
104108
**These are not biased and can safely be ignored.**

0 commit comments

Comments
 (0)